Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit 67a031e

Browse files
committed
kook
1 parent 1431bd6 commit 67a031e

2 files changed

Lines changed: 16 additions & 59 deletions

File tree

en/platform/kook.md

Lines changed: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,15 @@
11
# Connect to KOOK
22

3-
> [!TIP]
4-
> AstrBot does not include this adapter by default. Install [astrbot_plugin_kook_adapter](https://github.com/wuyan1003/astrbot_plugin_kook_adapter), developed by [wuyan1003](https://github.com/wuyan1003).
5-
6-
## Install `astrbot_plugin_kook_adapter`
7-
8-
In AstrBot Dashboard Plugin Market, search for `astrbot_plugin_kook_adapter` and install it.
9-
10-
![image](https://files.astrbot.app/docs/source/images/kook/image.png)
11-
12-
After installation, go to `Messaging Platforms` -> `Add Adapter` -> `KOOK`.
13-
If KOOK is missing, restart AstrBot or verify plugin installation.
14-
15-
Enable the adapter in the configuration dialog.
16-
17-
## Create a Bot in KOOK
18-
19-
1. Open [KOOK Developer Platform](https://developer.kookapp.cn/app).
20-
2. Sign in and complete identity verification.
21-
3. Create an application and set bot nickname.
22-
4. In the app console, open `Bot` settings and enable **WebSocket connection mode**.
23-
5. Copy the generated **Token** and fill it into the AstrBot adapter.
3+
1. Go to `Messaging Platforms``Add Adapter` → Select `KOOK`.
4+
2. Click the link to open the [KOOK Developer Platform](https://developer.kookapp.cn/app) and complete the following steps:
5+
1. Sign in and complete identity verification.
6+
2. Click **New Application** and set a bot nickname.
7+
3. In the app console, go to the **Bot** module and enable **WebSocket connection mode**.
8+
4. Copy the generated **Token**, paste it into the corresponding field in the AstrBot adapter, and click `Enable`.
249

2510
![image](https://files.astrbot.app/docs/source/images/kook/image-1.png)
2611

27-
6. Click `Save` in AstrBot to create the adapter.
28-
7. In AstrBot `Bots` page, use invite link and set role permissions (full permissions recommended).
29-
8. Use the invite link to add the bot to your target server.
30-
9. In a channel, mention the bot and send `/help` to verify.
31-
32-
## Issue Reporting
33-
34-
If needed, report issues to:
35-
36-
- Plugin repo: <https://github.com/wuyan1003/astrbot_plugin_kook_adapter/issues>
37-
- AstrBot repo: <https://github.com/AstrBotDevs/AstrBot/issues/new?template=bug-report.yml>
12+
3. Click `Save` in the bottom-right corner to create the adapter.
13+
4. In AstrBot `Messaging Platforms` page, click **Invite Link**, set role permissions (full permissions recommended to ensure complete functionality).
14+
5. After setting permissions, copy the invite link and open it to add the bot to your target server.
15+
6. In a server channel, mention the bot and send `/sid`. If it replies successfully, the setup is complete.

zh/platform/kook.md

Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,15 @@
11
# 接入 Kook
22

3-
> [!TIP]
4-
> AstrBot 未自带这个适配器,需要安装 [astrbot_plugin_kook_adapter](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) 插件。该插件由 [wuyan1003](https://github.com/wuyan1003) 开发 ❤️。
5-
> **如果您觉得有帮助,请支持开发者,给该仓库点一个 Star。**
6-
7-
## 安装 astrbot_plugin_kook_adapter 插件
8-
9-
进入 AstrBot 仪表盘的插件市场,搜索 `astrbot_plugin_kook_adapter`,点击安装。
10-
11-
![image](https://files.astrbot.app/docs/source/images/kook/image.png)
12-
13-
安装完成后,前往 消息平台 → 新增适配器 → 选择 Kook(若选项缺失,尝试重启 AstrBot 或检查插件安装状态)。
14-
15-
在弹出的配置对话框中点击 `启用`
16-
17-
## 在 Kook 创建机器人
18-
19-
1. 点击跳转 [Kook 开发者平台](https://developer.kookapp.cn/app) ,完成以下步骤:
3+
1. 前往 机器人 → 创建机器人 → 选择 Kook。
4+
2. 点击跳转 [Kook 开发者平台](https://developer.kookapp.cn/app) ,完成以下步骤:
205
1. 登录账号并完成实名认证;
216
2. 点击「新建应用」,自定义 Bot 昵称;
227
3. 进入应用后台,选择「机器人」模块,开启 **WebSocket 连接模式**
238
4. 复制生成的 **Token**,填入 AstrBot 适配器的对应字段,并点击 `启用`
249

2510
![image](https://files.astrbot.app/docs/source/images/kook/image-1.png)
2611

27-
2. 点击右下角 `保存` 以新建适配器。
28-
3. 在左边栏「机器人」页面下点击「邀请链接」,设置角色权限(建议赋予全权限,确保功能完整)。
29-
4. 设置好角色权限后,点击上方邀请链接的复制按钮复制链接,打开这个链接,将机器人加入到所需的服务器。
30-
5. 在服务器频道中,@ 刚刚创建的机器人,输入 `/help`,如果成功回复,则测试成功。
31-
32-
## 问题提交
33-
34-
如有疑问,请提交 issue 至[插件仓库](https://github.com/wuyan1003/astrbot_plugin_kook_adapter/issues) 以及 [AstrBot 仓库](https://github.com/AstrBotDevs/AstrBot/issues/new?template=bug-report.yml)
35-
36-
**如果您觉得有帮助,请支持开发者,给 [astrbot_plugin_kook_adapter](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) 仓库点一个 Star。**
12+
3. 点击右下角 `保存` 以新建适配器。
13+
4. 在左边栏「机器人」页面下点击「邀请链接」,设置角色权限(建议赋予全权限,确保功能完整)。
14+
5. 设置好角色权限后,点击上方邀请链接的复制按钮复制链接,打开这个链接,将机器人加入到所需的服务器。
15+
6. 在服务器频道中,@ 刚刚创建的机器人,输入 `/sid`,如果成功回复,则测试成功。

0 commit comments

Comments
 (0)