mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
feat: 支持禁用某人或某群
This commit is contained in:
11
banlist-template.py
Normal file
11
banlist-template.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# 禁用列表
|
||||
# person为个人,其中的QQ号会被禁止与机器人进行私聊或群聊交互
|
||||
# 示例: person = [2854196310, 1234567890, 9876543210]
|
||||
# group为群组,其中的群号会被禁止与机器人进行交互
|
||||
# 示例: group = [123456789, 987654321, 1234567890]
|
||||
|
||||
# 是否启用禁用列表
|
||||
enable = True
|
||||
|
||||
person = [2854196310] # 2854196310是Q群管家机器人的QQ号,默认屏蔽以免出现循环
|
||||
group = [204785790] # 204785790是本项目交流群的群号,默认屏蔽,避免在交流群测试机器人
|
||||
Reference in New Issue
Block a user