mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2024-11-23 21:41:07 +08:00
9 lines
194 B
Python
9 lines
194 B
Python
from nonebot import on_type
|
|
from nonebot.rule import to_me
|
|
from nonebot.adapters.onebot.v11 import PokeNotifyEvent
|
|
poke_notify = on_type(
|
|
(PokeNotifyEvent,),
|
|
rule=to_me()
|
|
)
|
|
|