mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-06-03 05:59:51 +08:00
修复:event修改为ev
This commit is contained in:
parent
77586e0a08
commit
3156e18083
@ -53,7 +53,7 @@ async def send_charcard_list(bot: HoshinoBot, ev: CQEvent):
|
|||||||
uid = await select_db(at, mode='uid')
|
uid = await select_db(at, mode='uid')
|
||||||
message = message.replace(str(at), '')
|
message = message.replace(str(at), '')
|
||||||
else:
|
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]
|
uid = uid[0]
|
||||||
im = await draw_cahrcard_list(uid, limit)
|
im = await draw_cahrcard_list(uid, limit)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user