mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
修改对 InvalidCookies
错误代码10103的回复
This commit is contained in:
parent
cb2b474689
commit
6057821989
@ -74,7 +74,7 @@ def conversation_error_handler(func: Callable) -> Callable:
|
|||||||
if "10001" in str(exc):
|
if "10001" in str(exc):
|
||||||
await send_user_notification(update, context, "Cookies无效,请尝试重新绑定账户")
|
await send_user_notification(update, context, "Cookies无效,请尝试重新绑定账户")
|
||||||
elif "10103" in str(exc):
|
elif "10103" in str(exc):
|
||||||
await send_user_notification(update, context, "Cookie有效,但没有绑定到游戏帐户。")
|
await send_user_notification(update, context, "Cookie有效,但没有绑定到游戏帐户,请尝试重新绑定邮游戏账户")
|
||||||
else:
|
else:
|
||||||
await send_user_notification(update, context, "Cookies无效,具体原因未知")
|
await send_user_notification(update, context, "Cookies无效,具体原因未知")
|
||||||
return ConversationHandler.END
|
return ConversationHandler.END
|
||||||
|
Loading…
Reference in New Issue
Block a user