mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-21 22:58:05 +00:00
🐛 修复触发验证码仍然提示签到成功
This commit is contained in:
parent
d35575bcab
commit
9d1d2595b4
@ -67,6 +67,9 @@ class Sign(BasePlugins):
|
||||
request_daily_reward = await client.request_daily_reward("sign", method="POST",
|
||||
game=Game.GENSHIN, lang="zh-cn")
|
||||
Log.info(f"UID {uid} 签到请求 {request_daily_reward}")
|
||||
if request_daily_reward and request_daily_reward.get("success", 0) == 1:
|
||||
Log.error(f"UID {uid} 签到失败,触发验证码风控")
|
||||
return f"UID {client.uid} 签到失败,触发验证码风控,请尝试重新签到。"
|
||||
except AlreadyClaimed:
|
||||
result = "今天旅行者已经签到过了~"
|
||||
except GenshinException as error:
|
||||
|
Loading…
Reference in New Issue
Block a user