This commit is contained in:
Wuyi无疑 2022-03-06 23:50:49 +08:00
parent 41bcb89a38
commit 287e861d06

View File

@ -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("获取建议失败。")