From 52656b8586d80da957bb89909a0515c17181415c Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Mon, 25 Sep 2023 13:51:12 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=94=AF=E6=8C=81=E5=A4=9A=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=91=98=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cores/qqbot/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cores/qqbot/core.py b/cores/qqbot/core.py index 36c29554f..edad4cad9 100644 --- a/cores/qqbot/core.py +++ b/cores/qqbot/core.py @@ -117,6 +117,8 @@ cc.init_attributes(["gocq_react_group"], True) cc.init_attributes(["gocq_react_guild"], True) cc.init_attributes(["gocq_react_friend"], True) cc.init_attributes(["gocq_react_group_increase"], True) +cc.init_attributes(["gocq_qqchan_admin"], "") +cc.init_attributes(["other_admins"], []) # cc.init_attributes(["qq_forward_mode"], False) # QQ机器人 @@ -544,6 +546,7 @@ def oper_msg(message, role = "admin" if platform == PLATFORM_QQCHAN: + with_tag = True if qq_msg == "":