mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-29 13:47:14 +00:00
fix: 从消息链中移除at me前进行检查
This commit is contained in:
@@ -290,7 +290,8 @@ class QQBotManager:
|
|||||||
|
|
||||||
def process(text = None) -> str:
|
def process(text = None) -> str:
|
||||||
replys = ""
|
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))
|
processing.append("group_{}".format(event.sender.id))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user