From 86d736745d7212459210fbcfe1985ed2b3398633 Mon Sep 17 00:00:00 2001 From: guohu7777 <75009704+guohu7777@users.noreply.github.com> Date: Wed, 28 Sep 2022 01:23:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=8D=E7=BD=AE=E5=BC=80?= =?UTF-8?q?=E7=AE=B1=E7=9A=84=E4=BD=BF=E7=94=A8=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 禁止普通群员使用重置每日开箱次数指令 --- plugins/open_cases/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/open_cases/__init__.py b/plugins/open_cases/__init__.py index 11282be2..f1a49076 100755 --- a/plugins/open_cases/__init__.py +++ b/plugins/open_cases/__init__.py @@ -101,7 +101,7 @@ cases_matcher_group = MatcherGroup(priority=5, permission=GROUP, block=True) k_open_case = cases_matcher_group.on_command("开箱") -reload_count = cases_matcher_group.on_command("重置开箱") +reload_count = cases_matcher_group.on_command("重置开箱",permission=SUPERUSER) @reload_count.handle()