mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-31 04:30:29 +08:00
fix
This commit is contained in:
parent
41bcb89a38
commit
287e861d06
@ -24,7 +24,7 @@ async def send_char_adv(bot: HoshinoBot, ev: CQEvent):
|
||||
try:
|
||||
name = str(ev.message).strip().replace(" ","")[:-3]
|
||||
im = await char_adv(name)
|
||||
await bot.send(im)
|
||||
await bot.send(ev, im)
|
||||
except Exception as e:
|
||||
logger.exception("获取建议失败。")
|
||||
|
||||
@ -33,7 +33,7 @@ async def send_weapon_adv(bot: HoshinoBot, ev: CQEvent):
|
||||
try:
|
||||
name = str(ev.message).strip().replace(" ","")[:-3]
|
||||
im = await weapon_adv(name)
|
||||
await bot.send(im)
|
||||
await bot.send(ev, im)
|
||||
except Exception as e:
|
||||
logger.exception("获取建议失败。")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user