mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-12 06:55:58 +08:00
🐛 修复BUG
This commit is contained in:
parent
e41a67285c
commit
1c3567d899
@ -25,6 +25,7 @@ from .models import Message, MessageReceive # noqa:E402
|
||||
|
||||
get_message = on_message(priority=999)
|
||||
get_notice = on_notice(priority=999)
|
||||
get_tn = on('inline')
|
||||
install_core = on_fullmatch('gs一键安装', permission=SUPERUSER, block=True)
|
||||
start_core = on_fullmatch('启动core', permission=SUPERUSER, block=True)
|
||||
connect_core = on_fullmatch(
|
||||
@ -41,7 +42,7 @@ else:
|
||||
is_repeat = False
|
||||
|
||||
|
||||
@on('inline').handle()
|
||||
@get_tn.handle()
|
||||
@get_notice.handle()
|
||||
async def get_notice_message(bot: Bot, ev: Event):
|
||||
if gsclient is None:
|
||||
|
@ -1435,4 +1435,3 @@ async def onebot_v12_send(
|
||||
await _send(_msg['data'], None)
|
||||
else:
|
||||
await _send(content, image)
|
||||
await _send(content, image)
|
||||
|
Loading…
x
Reference in New Issue
Block a user