mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-21 22:58:05 +00:00
🎨 Update Wish Log Error Handler
This commit is contained in:
parent
7580265bff
commit
aef1cb4c02
@ -360,6 +360,8 @@ class WishLogPlugin(Plugin.Conversation):
|
||||
await png_data.reply_document(message, filename="抽卡记录.png")
|
||||
else:
|
||||
await png_data.reply_photo(message)
|
||||
except PlayerNotFoundError:
|
||||
await message.reply_text("该用户暂未绑定账号")
|
||||
except GachaLogNotFound:
|
||||
logger.info("未找到用户 %s[%s] 的抽卡记录", user.full_name, user.id)
|
||||
buttons = [
|
||||
|
Loading…
Reference in New Issue
Block a user