mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-06-20 06:15:06 +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
|
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:
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user