mirror of https://github.com/Mai-with-u/MaiBot.git
透过戳一戳消息
parent
1b31702b53
commit
f7022ecc68
|
|
@ -150,7 +150,7 @@ class ChatBot:
|
||||||
return False, None, True # 出错时继续处理消息
|
return False, None, True # 出错时继续处理消息
|
||||||
|
|
||||||
async def handle_notice_message(self, message: MessageRecv):
|
async def handle_notice_message(self, message: MessageRecv):
|
||||||
if message.message_info.message_id == "notice":
|
if message.message_info.message_id == "notice" and not message.message_info.additional_config.get("target_id"):
|
||||||
message.is_notify = True
|
message.is_notify = True
|
||||||
logger.info("notice消息")
|
logger.info("notice消息")
|
||||||
# print(message)
|
# print(message)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue