🐛 修复一些有关默认插件包指令的问题

This commit is contained in:
KimigaiiWuyi 2025-06-12 13:07:55 +08:00
parent b4039b61cd
commit f55dc2d8df
2 changed files with 10 additions and 1 deletions

View File

@ -35,7 +35,7 @@ async def send_core_update_msg(bot: Bot, ev: Event):
level = 1 level = 1
else: else:
level = 0 level = 0
txt = ev.text.strip() if ev.text else '' txt = ev.text.replace('插件', '').strip() if ev.text else ''
if txt: if txt:
log_list = await update_plugins(txt, level) log_list = await update_plugins(txt, level)
else: else:

View File

@ -201,6 +201,15 @@ async def send_add_ck_msg(bot: Bot, ev: Event):
'mys绑定设备', 'mys绑定设备',
), ),
block=True, block=True,
prefix=False,
)
@sv_core_user_addck.on_prefix(
(
'设备登录',
'设备登陆',
'绑定设备',
),
block=True,
) )
async def send_add_device_msg(bot: Bot, ev: Event): async def send_add_device_msg(bot: Bot, ev: Event):
try: try: