Merge branch 'master' into dev

This commit is contained in:
LIghtJUNction
2026-03-18 23:03:00 +08:00
3 changed files with 6 additions and 6 deletions

View File

@@ -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`.

View File

@@ -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`。

View File

@@ -2,8 +2,8 @@
## 创建 AstrBot Discord 平台适配器
进入消息平台,点击新增适配器,找到 Discord 并点击进入 Discord 配置页。
进入机器人,点击新增适配器,找到 Discord 并点击进入 Discord 配置页。
> 旧版本`机器人`为`消息平台`
![点击创建机器人选择discord类型](https://files.astrbot.app/docs/source/images/discord/image.png)
![选项从上到下依次是 1.机器人名称 2. 启用 3. Bot token 4. Discord 代理地址 5. 是否自动将插件指令注册为 Discord 斜杠指令 6. discord_guild_id_for_debug 7.Discord 活动名称](https://files.astrbot.app/docs/source/images/discord/image-3.png)