mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-06-18 21:35:08 +08:00
🐛 修复一些有关默认插件包指令的问题
This commit is contained in:
parent
b4039b61cd
commit
f55dc2d8df
@ -35,7 +35,7 @@ async def send_core_update_msg(bot: Bot, ev: Event):
|
||||
level = 1
|
||||
else:
|
||||
level = 0
|
||||
txt = ev.text.strip() if ev.text else ''
|
||||
txt = ev.text.replace('插件', '').strip() if ev.text else ''
|
||||
if txt:
|
||||
log_list = await update_plugins(txt, level)
|
||||
else:
|
||||
|
@ -201,6 +201,15 @@ async def send_add_ck_msg(bot: Bot, ev: Event):
|
||||
'mys绑定设备',
|
||||
),
|
||||
block=True,
|
||||
prefix=False,
|
||||
)
|
||||
@sv_core_user_addck.on_prefix(
|
||||
(
|
||||
'设备登录',
|
||||
'设备登陆',
|
||||
'绑定设备',
|
||||
),
|
||||
block=True,
|
||||
)
|
||||
async def send_add_device_msg(bot: Bot, ev: Event):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user