feat: 被禁言时不处理消息 #62

This commit is contained in:
Rock Chin
2023-01-01 18:27:34 +08:00
parent b085c133bf
commit e2441165c9
2 changed files with 11 additions and 1 deletions
+2 -1
View File
@@ -112,7 +112,8 @@ class QQBotManager:
def send(self, event, msg, check_quote=True):
asyncio.run(
self.bot.send(event, msg, quote=True if hasattr(config, "quote_origin") and config.quote_origin and check_quote else False))
self.bot.send(event, msg, quote=True if hasattr(config,
"quote_origin") and config.quote_origin and check_quote else False))
# 私聊消息处理
def on_person_message(self, event: MessageEvent):