修复:event修改为ev

This commit is contained in:
KimgiaiiWuyi 2022-07-10 01:19:51 +08:00
parent 77586e0a08
commit 3156e18083

View File

@ -53,7 +53,7 @@ async def send_charcard_list(bot: HoshinoBot, ev: CQEvent):
uid = await select_db(at, mode='uid')
message = message.replace(str(at), '')
else:
uid = await select_db(int(event.sender.user_id), mode='uid')
uid = await select_db(int(ev.sender['user_id']), mode='uid')
uid = uid[0]
im = await draw_cahrcard_list(uid, limit)