Files
AuthBot/intents.toml
T
snowy-yang 755013b9db 初始提交:QQ 群入群验证机器人
基于 qqbotsdk-py 的入群验证:进群发按钮验证码、完成前禁言、
超时踢出(11253 时兜底长期禁言)、乱点他人按钮处罚、状态持久化
与重启恢复。38 个单元/集成测试。
2026-10-04 18:44:08 +08:00

13 lines
532 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 事件订阅开关(QQ 开放平台按"分组位掩码"订阅,组内事件无法单独开关)
# 完整分组名见 SDK 的 Intent 枚举;未知分组名/非布尔值会导致启动报错
# 群 @机器人消息(GROUP_AT_MESSAGE_CREATE,"验证状态"指令)
GROUP_AND_C2C_EVENT = true
# 群成员进群/退群事件(GROUP_MEMBER_ADD / GROUP_MEMBER_REMOVE)
# 注意:该分组默认关闭,是进群验证的关键开关
GROUP_MEMBER_EVENT = true
# 按钮点击回调(INTERACTION_CREATE)
INTERACTION = true