mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-14 21:52:56 +08:00
修复戳一戳自检鉴权 (#1780)
* 修复戳一戳自检鉴权
* 🚨 auto fix by pre-commit hooks
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
91352e4f3a
commit
ccf043d670
@ -78,7 +78,10 @@ if check_type in {"message", "mix"}:
|
||||
if check_type in {"poke", "mix"}:
|
||||
# poke
|
||||
_self_check_poke_matcher = on_notice(
|
||||
priority=5, block=False, rule=notice_rule(PokeNotifyEvent) & to_me()
|
||||
priority=5,
|
||||
permission=SUPERUSER,
|
||||
block=False,
|
||||
rule=notice_rule(PokeNotifyEvent) & to_me(),
|
||||
)
|
||||
|
||||
@_self_check_poke_matcher.handle()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user