@全体成员 处理

pull/65/head
foxplaying 2025-10-27 12:40:57 +08:00 committed by GitHub
parent 1074ac6a0d
commit 25cf19ef41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -664,6 +664,8 @@ class MessageHandler:
message_data: dict = raw_message.get("data")
if message_data:
qq_id = message_data.get("qq")
if qq_id == "all":
return Seg(type="text", data=f"@全体成员")
if str(self_id) == str(qq_id):
logger.debug("机器人被at")
self_info: dict = await get_self_info(self.server_connection)