mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
可和戳一戳同时触发
This commit is contained in:
parent
ab24d035a4
commit
8b7a410706
@ -61,7 +61,7 @@ async def _():
|
|||||||
await handle_self_check()
|
await handle_self_check()
|
||||||
|
|
||||||
#poke
|
#poke
|
||||||
_self_check_poke_matcher = on_notice(priority=5, block=True, rule=notice_rule(PokeNotifyEvent) & to_me())
|
_self_check_poke_matcher = on_notice(priority=5, block=False, rule=notice_rule(PokeNotifyEvent) & to_me())
|
||||||
|
|
||||||
@_self_check_poke_matcher.handle()
|
@_self_check_poke_matcher.handle()
|
||||||
async def _(event: PokeNotifyEvent):
|
async def _(event: PokeNotifyEvent):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user