1
0
forked from bot/app
LiteyukiBot/liteyuki/utils/base/ly_typing.py
Expliyh 24722447da
使用satori时维护一个有昵称的用户列表
get_plugin_session_enable 判断当前使用的适配器
2024-05-16 19:20:54 +08:00

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