mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-14 16:07:24 +08:00
24722447da
get_plugin_session_enable 判断当前使用的适配器
9 lines
437 B
Python
9 lines
437 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 | satori.MessageEvent
|
|
T_PrivateMessageEvent = v11.PrivateMessageEvent | v12.PrivateMessageEvent | satori.MessageEvent
|
|
T_MessageEvent = v11.MessageEvent | v12.MessageEvent | satori.MessageEvent
|
|
T_Message = v11.Message | v12.Message | satori.Message
|