mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 12:51:35 +00:00
修改部分错误信息描述错误的问题
This commit is contained in:
parent
6bb09bcb25
commit
1864bae484
@ -74,8 +74,8 @@ def conversation_error_handler(func: Callable) -> Callable:
|
||||
await send_user_notification(update, context, "Cookies已经过期,请尝试重新绑定账户")
|
||||
return ConversationHandler.END
|
||||
except TooManyRequests as exc:
|
||||
Log.warning("Cookie错误", exc)
|
||||
await send_user_notification(update, context, "Cookies已经过期,请尝试重新绑定账户")
|
||||
Log.warning("查询次数太多(操作频繁)", exc)
|
||||
await send_user_notification(update, context, "当天查询次数已经超过30次,请次日再进行查询")
|
||||
return ConversationHandler.END
|
||||
except GenshinException as exc:
|
||||
Log.warning("GenshinException", exc)
|
||||
|
Loading…
Reference in New Issue
Block a user