mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-15 17:30:13 +08:00
enhance:更改未完成更新的文档用词问题(多处“消息平台”已更名为“机器人”) (#6568)
* Update kubernetes.md * Update discord.md * Update kubernetes.md * Update AstrBot setup instructions in Kubernetes doc
This commit is contained in:
@@ -73,7 +73,7 @@ kubectl apply -f k8s/astrbot_with_napcat/02-deployment.yaml
|
||||
Since AstrBot and NapCat are in the same Pod, they can communicate directly via `localhost`.
|
||||
|
||||
1. **Add a message platform in AstrBot:**
|
||||
* Go to the AstrBot WebUI, select `Settings` -> `Message Platform` -> `Add`.
|
||||
* Go to the AstrBot WebUI, select `Platform` -> `Add`.
|
||||
* **Select Message Platform Category**: `aiocqhttp`
|
||||
* **Bot Name**: `napcat` (or custom)
|
||||
* **Reverse Websocket Host**: `0.0.0.0`
|
||||
@@ -194,4 +194,4 @@ Edit the `02-deployment.yaml` file and add `volumes` and `volumeMounts` under `s
|
||||
|
||||
After deploying and exposing the service, you can access the AstrBot admin panel through the corresponding IP and port.
|
||||
|
||||
> The default username and password are `astrbot` and `astrbot`.
|
||||
> The default username and password are `astrbot` and `astrbot`.
|
||||
|
||||
@@ -73,7 +73,7 @@ kubectl apply -f k8s/astrbot_with_napcat/02-deployment.yaml
|
||||
由于 AstrBot 和 NapCat 在同一个 Pod 中,它们可以通过 `localhost` 直接通信。
|
||||
|
||||
1. **在 AstrBot 中添加消息平台:**
|
||||
* 进入 AstrBot WebUI,选择 `设置` -> `消息平台` -> `添加`。
|
||||
* 进入 AstrBot WebUI,选择 `机器人` -> `添加`。
|
||||
* **选择消息平台类别**: `aiocqhttp`
|
||||
* **机器人名称**: `napcat` (或自定义)
|
||||
* **反向 Websocket 主机**: `0.0.0.0`
|
||||
@@ -194,4 +194,4 @@ image: m.daocloud.io/docker.io/soulter/astrbot:latest
|
||||
|
||||
部署并暴露服务后,您就可以通过相应的 IP 和端口访问 AstrBot 管理面板了。
|
||||
|
||||
> 默认用户名和密码是 `astrbot` 和 `astrbot`。
|
||||
> 默认用户名和密码是 `astrbot` 和 `astrbot`。
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
## 创建 AstrBot Discord 平台适配器
|
||||
|
||||
进入消息平台,点击新增适配器,找到 Discord 并点击进入 Discord 配置页。
|
||||
|
||||
进入机器人,点击新增适配器,找到 Discord 并点击进入 Discord 配置页。
|
||||
> 旧版本`机器人`为`消息平台`
|
||||

|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user