This commit is contained in:
HibiKier
2022-05-28 17:22:51 +08:00
parent 9c987e9aad
commit 724541d691
8 changed files with 39 additions and 21 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ async def _(matcher: Matcher, bot: Bot, event: Event, state: T_State):
except AttributeError:
pass
# 群黑名单检测 群总开关检测
if isinstance(event, GroupMessageEvent) or matcher.plugin_name == other_limit_plugins:
if isinstance(event, GroupMessageEvent) or matcher.plugin_name in other_limit_plugins:
try:
if (
group_manager.get_group_level(event.group_id) < 0