mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-06 22:06:03 +00:00
fix: 从消息链中移除at me前进行检查
This commit is contained in:
@@ -290,7 +290,8 @@ class QQBotManager:
|
||||
|
||||
def process(text = None) -> str:
|
||||
replys = ""
|
||||
event.message_chain.remove(At(self.bot.qq))
|
||||
if At(self.bot.qq) in event.message_chain:
|
||||
event.message_chain.remove(At(self.bot.qq))
|
||||
|
||||
processing.append("group_{}".format(event.sender.id))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user