mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 12:51:35 +00:00
🐛 Fix webapp invalid url
This commit is contained in:
parent
86c3225228
commit
560b3c1967
@ -106,7 +106,7 @@ class StartPlugin(Plugin):
|
|||||||
return
|
return
|
||||||
url = (
|
url = (
|
||||||
f"{config.pass_challenge_user_web}/webapp?"
|
f"{config.pass_challenge_user_web}/webapp?"
|
||||||
f"username={bot_username}&command=verify>={gt}&challenge={challenge}&uid={uid}"
|
f"gt={gt}&username={bot_username}&command=verify&challenge={challenge}&uid={uid}"
|
||||||
)
|
)
|
||||||
await message.reply_text(
|
await message.reply_text(
|
||||||
"请尽快在10秒内完成手动验证\n或发送 /web_cancel 取消操作",
|
"请尽快在10秒内完成手动验证\n或发送 /web_cancel 取消操作",
|
||||||
|
@ -98,7 +98,7 @@ class SignSystem(Plugin):
|
|||||||
return InlineKeyboardMarkup([[InlineKeyboardButton("请尽快点我进行手动验证", callback_data=data)]])
|
return InlineKeyboardMarkup([[InlineKeyboardButton("请尽快点我进行手动验证", callback_data=data)]])
|
||||||
url = (
|
url = (
|
||||||
f"{config.pass_challenge_user_web}?"
|
f"{config.pass_challenge_user_web}?"
|
||||||
f"username={bot_username}&command=sign>={gt}&challenge={challenge}&uid={uid}"
|
f"gt={gt}&username={bot_username}&command=sign&challenge={challenge}&uid={uid}"
|
||||||
)
|
)
|
||||||
return InlineKeyboardMarkup([[InlineKeyboardButton("请尽快点我进行手动验证", url=url)]])
|
return InlineKeyboardMarkup([[InlineKeyboardButton("请尽快点我进行手动验证", url=url)]])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user