mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-01 16:39:52 +00:00
👉v0.3.2,增加OneBot v11适配器对于戳一戳消息的响应
This commit is contained in:
8
nonebot_plugin_marshoai/azure_onebot.py
Normal file
8
nonebot_plugin_marshoai/azure_onebot.py
Normal 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()
|
||||
)
|
||||
|
Reference in New Issue
Block a user