fix: Ignore qq guild message
This commit is contained in:
parent
da6e06d1c0
commit
a4da2927fa
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user