添加了user_id回复黑名单

1
This commit is contained in:
SengokuCola
2025-02-28 20:10:19 +08:00
parent 718a64d506
commit 0f3cff2ed0
3 changed files with 9 additions and 5 deletions

View File

@@ -50,6 +50,9 @@ class ChatBot:
return
self.bot = bot # 更新 bot 实例
if event.user_id in self.config.ban_user_id:
return
# 打印原始消息内容
'''
print(f"\n\033[1;33m[消息详情]\033[0m")