👉v0.3.2,增加OneBot v11适配器对于戳一戳消息的响应

This commit is contained in:
2024-10-21 18:04:31 +08:00
parent 74429a3e6c
commit 2eaf719ec9
6 changed files with 63 additions and 18 deletions

View File

@ -0,0 +1,8 @@
from nonebot import on_type, message
from nonebot.rule import to_me
from nonebot.adapters.onebot.v11 import PokeNotifyEvent
poke_notify = on_type(
(PokeNotifyEvent,),
rule=to_me()
)