mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-14 19:37:44 +08:00
322ad19889
🐛 使用 onebot 时部分事件在 postprocessor 阶段报错
9 lines
393 B
Python
9 lines
393 B
Python
from nonebot.adapters.onebot import v11, v12
|
|
from nonebot.adapters import satori
|
|
|
|
T_Bot = v11.Bot | v12.Bot | satori.Bot
|
|
T_GroupMessageEvent = v11.GroupMessageEvent | v12.GroupMessageEvent
|
|
T_PrivateMessageEvent = v11.PrivateMessageEvent | v12.PrivateMessageEvent
|
|
T_MessageEvent = v11.MessageEvent | v12.MessageEvent | satori.MessageEvent
|
|
T_Message = v11.Message | v12.Message | satori.Message
|