QQ/QQ 频道 登录指南

疑难解答 ③

Koishi 点亮黄灯(intents 配置错误)

如果插件的运行日志内出现如下字样(disallowed intents 字样):

[W] adapter disallowed intents, will retry in 5s...

或如下字样(1006 字样):

[W] adapter failed to connect to wss://api.sgroup.qq.com/websocket, code: 1006, will retry in 5s...

说明你的 intents 配置项配置错误。

翻到上方,重新根据教程配置 intents。注意你只能启用你具有权限的 intents。如果你不清楚你是否具有权限,那么就是没有,需要独立申请。

如果遇到问题,可以加入帖子最上方的用户交流群提问。企业用户可以通过企业绿色通道联系 Koishi 客服。

2 个赞