add missing item

This commit is contained in:
baiqwerdvd 2024-05-26 23:06:56 +08:00
parent 8bdc6fb246
commit 100032b253
No known key found for this signature in database
GPG Key ID: 7717E46E1797411A
2 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ sv_get_char_snapshot = SV("ark角色快照")
@sv_get_char_snapshot.on_prefix(f"{PREFIX}角色快照")
async def send_char_snapshot(bot: Bot, ev: Event):
uid = await get_uid(bot, ev, bind_model=ArknightsBind)
user_id = ev.at if ev.at else ev.user_id
uid = await ArknightsBind.get_uid_by_game(user_id, ev.bot_id)
if uid is None:
return "你还没有绑定UID噢,请使用[ark绑定uid123]完成绑定!"

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB