🐛 修复BUG

This commit is contained in:
‘KimigaiiWuyi’ 2023-12-07 12:08:23 +08:00
parent e41a67285c
commit 1c3567d899
2 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,7 @@ from .models import Message, MessageReceive # noqa:E402
get_message = on_message(priority=999) get_message = on_message(priority=999)
get_notice = on_notice(priority=999) get_notice = on_notice(priority=999)
get_tn = on('inline')
install_core = on_fullmatch('gs一键安装', permission=SUPERUSER, block=True) install_core = on_fullmatch('gs一键安装', permission=SUPERUSER, block=True)
start_core = on_fullmatch('启动core', permission=SUPERUSER, block=True) start_core = on_fullmatch('启动core', permission=SUPERUSER, block=True)
connect_core = on_fullmatch( connect_core = on_fullmatch(
@ -41,7 +42,7 @@ else:
is_repeat = False is_repeat = False
@on('inline').handle() @get_tn.handle()
@get_notice.handle() @get_notice.handle()
async def get_notice_message(bot: Bot, ev: Event): async def get_notice_message(bot: Bot, ev: Event):
if gsclient is None: if gsclient is None:

View File

@ -1435,4 +1435,3 @@ async def onebot_v12_send(
await _send(_msg['data'], None) await _send(_msg['data'], None)
else: else:
await _send(content, image) await _send(content, image)
await _send(content, image)