修改重置开箱的使用权限

禁止普通群员使用重置每日开箱次数指令
This commit is contained in:
guohu7777 2022-09-28 01:23:42 +08:00 committed by GitHub
parent 821fe21c2b
commit 86d736745d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()