fix: Ignore qq guild message
This commit is contained in:
parent
da6e06d1c0
commit
a4da2927fa
@ -195,6 +195,9 @@ class GoCQHttp(BaseClient):
|
|||||||
chat: Chat
|
chat: Chat
|
||||||
author: ChatMember
|
author: ChatMember
|
||||||
|
|
||||||
|
# ignore qq guild message
|
||||||
|
if context["message_type"] == "guild":
|
||||||
|
return
|
||||||
user = await self.get_user_info(qq_uid)
|
user = await self.get_user_info(qq_uid)
|
||||||
if context["message_type"] == "private":
|
if context["message_type"] == "private":
|
||||||
context["alias"] = user["remark"]
|
context["alias"] = user["remark"]
|
||||||
|
Loading…
Reference in New Issue
Block a user