mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2024-11-30 09:14:52 +08:00
6 lines
188 B
Python
6 lines
188 B
Python
from nonebot import on_type
|
|
from nonebot.rule import to_me
|
|
from nonebot.adapters.onebot.v11 import PokeNotifyEvent # type: ignore
|
|
|
|
poke_notify = on_type((PokeNotifyEvent,), rule=to_me())
|