mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-31 04:30:29 +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')
|
||||
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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user