mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-26 10:16:32 +00:00
✨ Send uid to manual pass challenge page
适配新版手动验证界面
This commit is contained in:
parent
c83f1c0afc
commit
d937e1e3c6
@ -80,7 +80,7 @@ class SignSystem:
|
|||||||
gt, challenge = await self.get_challenge(uid)
|
gt, challenge = await self.get_challenge(uid)
|
||||||
if not challenge or not gt:
|
if not challenge or not gt:
|
||||||
return
|
return
|
||||||
url = f"{config.pass_challenge_user_web}?username={bot.app.bot.username}>={gt}&challenge={challenge}"
|
url = f"{config.pass_challenge_user_web}?username={bot.app.bot.username}>={gt}&challenge={challenge}&uid={uid}"
|
||||||
return InlineKeyboardMarkup([[InlineKeyboardButton("请尽快点我进行手动验证", url=url)]])
|
return InlineKeyboardMarkup([[InlineKeyboardButton("请尽快点我进行手动验证", url=url)]])
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user