修改对 InvalidCookies 错误代码10103的回复

This commit is contained in:
洛水居室 2022-06-26 15:49:17 +08:00
parent cb2b474689
commit 6057821989
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -74,7 +74,7 @@ def conversation_error_handler(func: Callable) -> Callable:
if "10001" in str(exc):
await send_user_notification(update, context, "Cookies无效请尝试重新绑定账户")
elif "10103" in str(exc):
await send_user_notification(update, context, "Cookie有效但没有绑定到游戏帐户")
await send_user_notification(update, context, "Cookie有效但没有绑定到游戏帐户,请尝试重新绑定邮游戏账户")
else:
await send_user_notification(update, context, "Cookies无效具体原因未知")
return ConversationHandler.END