fix: Ignore qq guild message

This commit is contained in:
xtaodada 2022-07-28 22:30:48 +08:00 committed by XYenon
parent da6e06d1c0
commit a4da2927fa

View File

@ -195,6 +195,9 @@ class GoCQHttp(BaseClient):
chat: Chat
author: ChatMember
# ignore qq guild message
if context["message_type"] == "guild":
return
user = await self.get_user_info(qq_uid)
if context["message_type"] == "private":
context["alias"] = user["remark"]