Command:
TPY Code:
๐ฐ BalanceTPY Code:
balance = str(User.getData("balance"))
wallet = User.getData("wallet")
status = User.getData("ban")
if status == "ok":
raise ReturnCommand()
if wallet == None:
address = 'แ แแแฃแ'
else:
address = wallet
text = f"*แฐแแ {message.from_user.first_name}\n\nแแช แแณแฅ: {balance} แฅแญ\n\n แดแแฅแญ แ แซแแแต: {address} \n\n แจแฆแต แ แตแซแญ แจแแแ แแแญ แจแแแแข @miniamex*"
bot.sendMessage(chat_id=u,text=text,parse_mode="Markdown")๐1
Command:
TPY Code:
๐ซ ReferralsTPY Code:
total_invite = int(User.getData("ref_count"))
invite_link = f"https://t.me/{Bot.info().username}?start={u}"
text = f"*แฐแแ {message.from_user.first_name:} {total_invite} แฐแ แแฅแแแ\n\n โก๏ธ แจแฅแญแตแ แแฅแฃ แแแญ: {invite_link}\n\nแ แแต แฐแ แฒแแฅแ 1 แฅแญ แซแแแ\n\n แแแซแ แแตแ! \n\n *"
status = User.getData("ban")
if status == "ok":
raise ReturnCommand()
bot.sendMessage(chat_id=u,text=text,parse_mode="Markdown")โค1๐1
Command:
TPY Code:
๐ณ WalletTPY Code:
status = User.getData("ban")
if status == "ok":
raise ReturnCommand()
bot.sendMessage(chat_id=u,text="*๐ แจแดแแฅแญ แ แซแแแต แแฅแญ แซแตแแก*",parse_mode="markdown")
Bot.handleNextCommand("/setwallet")๐1
Command:
TPY Code:
/setwalletTPY Code:
def check_address():
if isinstance(message.text, str) and message.text.isdigit() and len(message.text) == 10 and message.text.startswith("09"):
User.saveData("wallet", message.text) # Saving the phone number in the "wallet" field
return bot.replyText(u, "*๐ฉ แ แซแแแต แแฅแญ แ แฐแณแซ แแแณ แฐแแแงแ*", parse_mode="markdown")
else:
return bot.replyText(u, "โ *แแญ แซแแแ แ แซแแแต แแฅแญ*", parse_mode="Markdown")
check_address()
๐1
Command:
TPY Code:
๐ StaticsTPY Code:
status = User.getData("ban")
if status == "ok":
raise ReturnCommand()
total_user = Bot.getData("total_users")
payouts = libs.Resources.globalRes('payouts').value()
text = f"<b>๐ซ แจแฐแ แแแแฝ แแฅแญ </b>-\n {total_user} แฐแแฝ\n\n "
bot.sendMessage(chat_id=u,text=text,parse_mode="HTML")Command:
TPY Code:
/verifyTPY Code:
webhook = libs.Webhook.getUrlFor(command="onWebhook", user_id=u)
webPage = "https://api.jobians.top/captcha/verify?webhookUrl="+str(encodeURIComponent(webhook))
keys = [[InlineKeyboardButton(text='โก๏ธ แซแแป แแ ', web_app=webPage)]]
button = InlineKeyboardMarkup(keys)
bot.sendMessage("<b>โ๏ธแฆแฑแ แแแ แแ แจแแจแฐแแแ แซแแป แญแแ\n\n โ ๏ธ แแแฒ แ แซแแแต แแญแ แชแแคแ แจแแ แแ แญแแ แก แญแ แ แฒแตแฐแ แตแแแณแแ แ แซแต-แฐแญ แญแณแแณแ</b>", reply_markup=button)
๐1
Command:
TPY Code:
onWebhookTPY Code:
if options == None:
bot.replyText(u, "โ Not Allowed", parse_mode="Markdown")
else:
data = bunchify(options.json)
user_hash = data["results"]["user_hash"]
captcha = data["results"]["captcha"]
vpn = data["results"]["vpn"]
verify = User.getData("verify")
if verify:
raise ReturnCommand
if vpn == "yes":
bot.sendMessage("๐จ You Are Ban For Using VPN!")
# your ban code system here
User.saveData("ban","ok")
raise ReturnCommand
hashs = Bot.getData("hashs")
if hashs == None:
push = []
else:
push = hashs
check_hash = push.count(user_hash)
if check_hash > 0:
bot.sendMessage("โ You Have Been Banned For Using Multiple Account")
# your ban code system here
User.saveData("ban","ok")
raise ReturnCommand
if captcha == "ok":
push.append(user_hash)
Bot.saveData("hashs", push)
User.saveData("verify","ok")
# other code when user is successful verified
bot.sendMessage("โ You Are Verified Now")
Bot.runCommand("/start")
Command:
TPY Code:
๐ค WithdrawTPY Code:
verify = User.getData("verify")
status = User.getData("ban")
if status == "ok":
raise ReturnCommand()
if verify != "ok":
Bot.runCommand("/verify")
raise ReturnCommand()
def withdraw():
wall = User.getData("wallet")
bal = User.getData("balance")
Mini_Withdraw = "10"
if bal == None:
return
if wall == None:
bot.sendMessage(chat_id=u,text="<i>โแแแแชแซ แ แซแแแต แซแตแแก - Wallet</i>",parse_mode="html")
return
if bal >= 10:
bot.replyText(u, "<b>๐ฅ แแแฃแต แแแแแตแ แจแฅแญ แแ แ แซแตแแก </b>",
parse_mode="html")
Bot.handleNextCommand("withdraw6989")
else:
bot.replyText(
u, "<b>โ แแ
แฐแแ แจแแแฃแต แแ แ "+Mini_Withdraw+" แฅแญ แฅแญ แแ </b>", parse_mode="html")
return
withdraw()โค1
Command:
TPY Code:
withdraw6989TPY Code:
def com(u):
u = str(u)
try:
amount = int(message.text)
bal = float(User.getData('balance'))
wallet = User.getData("wallet")
except:
bot.replyText(u, "โ ๏ธ แแญ แซแแแ แแแญ", parse_mode="markdown")
return
if amount < 9.9:
bot.replyText(u, "*โ ๏ธ แแ แฐแแ แจแแแฃแต แแ แ 30 แฅแญ แแ*", parse_mode="markdown")
return
if amount > float(bal):
bot.replyText(u, "*โ ๏ธ แซแแต แแช แแณแฅ แซแตแแกแตแ แแ แ แแแแฃแต แ แ แ แญแฐแแ*", parse_mode="markdown")
return
payment_channel = "@proofs_payments" # Enter your channel username instead of None
username = str(Bot.info().username)
amount = str(amount)
wallet = str(wallet)
currency = "แฅแญ" #Enter your currency instead of None
balance = bal - float(amount)
User.saveData ("balance", balance)
if payment_channel != "None":
bot.replyPhoto(
chat_id=payment_channel,
photo="https://files.fm/u/4s95qvbjfv",
caption=f"""
<b>โ แ แฒแต แจแแแฃแต แฅแซแ
๐ แฐแ แแ :- {u}
๐ แดแแฅแญ แ แซแแแต :- {wallet}
๐ต แจแฅแญ แแ แ :- </b>{amount}<b> {currency}
๐ แแแณ :- <code>แ แแญแแ แแญ...</code>
๐ค แฆแต แแแญ </b> :- https://t.me/{username}?start={u}""",
parse_mode="html"
)
bot.replyText(
chat_id=u,
text=f"""
<b>โ แแแฃแต แฐแ แญแแ
๐ แฐแ แแ :- {u}
๐ แดแแฅแญ แ แซแแแต :- {wallet}
๐ต แจแฅแญ แแ แ :- </b>{amount}<b> {currency}
๐ แแแณ :- <code>แ แแญแแ แแญ...</code>
๐ค แฆแต แแแญ </b> :- https://t.me/{username}?start={u}""",
parse_mode="html"
)
com(u)
Command:
TPY Code:
/banTPY Code:
bot.sendMessage("Enter User Telegram Id To Ban")
Bot.handleNextCommand("/ban2")โค1
Command:
TPY Code:
/ban2TPY Code:
balance = User.getData("balance",user=message.text)
if balance == None:
bot.sendMessage(f"{message.text} is not a user of this bot")
else:
User.saveData("ban",data="ok",user=message.text)
bot.sendMessage(chat_id=u,text=f"{message.text} Succesfully Banned From Using This Bot")
bot.sendMessage(chat_id=message.text,text="You are banned from using this bot")Command:
TPY Code:
/unbanTPY Code:
bot.sendMessage("Enter User Telegram Id To Unban")
Bot.handleNextCommand("/unban2")Command:
TPY Code:
/unban2TPY Code:
balance = User.getData("balance",user=message.text)
if balance == None:
bot.sendMessage(f"{message.text} is not a user of this bot")
else:
User.saveData("ban",data="no",user=message.text)
bot.sendMessage(chat_id=u,text=f"{message.text} Succesfully Unbanned From Using This Bot")
bot.sendMessage(chat_id=message.text,text="You are unbanned from using this bot")Command:
TPY Code:
/broadcastTPY Code:
bot.sendMessage("your message")
Bot.handleNextCommand("/onBroadcast")Command:
TPY Code:
/onBroadcastTPY Code:
adminlist = ['1667974618']
check = [ele for ele in adminlist if(ele in str(u))]
if bool(check) == True:
msg = message.text
code = f"""bot.replyText(u,'''{msg}''',parse_mode="markdown")"""
task = Bot.broadcast(code = code)
bot.sendMessage("<b>Broadcast Task Added โ๏ธ \n Your msg will be sent to all in 1 minutes</b>")
Bot.saveData(task,None)
Command:
TPY Code:
/checkTPY Code:
bot.sendMessage("Enter User Telegram Id To Check Balance")
Bot.handleNextCommand("/check_2")Command:
TPY Code:
/check_2TPY Code:
balance = User.getData("balance",user=message.text)
if balance == None:
bot.sendMessage(f"{message.text} is not a user of this bot")
else:
bot.sendMessage(chat_id=u,text=f"{message.text}'s balance is {balance} TRX")Command:
TPY Code:
/adminTPY Code:
button = InlineKeyboardMarkup()
button.add(InlineKeyboardButton(text="Check Balance",callback_data="/check"))
button.add(InlineKeyboardButton(text="Ban",callback_data="/ban"),InlineKeyboardButton(text="Unban",callback_data="/unban"))
button.add(InlineKeyboardButton(text="Broadcast",callback_data="/broadcast"),InlineKeyboardButton(text="add balance",callback_data="/add"))
adminlist = ['1667974618']
check = [ele for ele in adminlist if(ele in str(u))]
if bool(check) == True:
bot.sendMessage(chat_id=u,text="โจ๏ธ*Welcome To The Admin Panel๐ง๐ปโ๐ป\n\nโผ๏ธWarning When Using This Panel Please Don't Send Any Other Command It May Spoil Your Work*",parse_mode="markdown",reply_markup=button)
Command:
TPY Code:
/addTPY Code:
adminlist = ['1667974618']
check = [ele for ele in adminlist if(ele in str(u))]
if bool(check) == True:
bot.sendMessage("Enter User Telegram Id To Add Balance")
Bot.handleNextCommand("/add_2")
Command:
TPY Code:
/add_2TPY Code:
balance = User.getData("balance",user=message.text)
if balance == None:
bot.sendMessage(f"{message.text} is not a user of this bot")
else:
bot.sendMessage(chat_id=u,text="Enter Amount To add")
Bot.handleNextCommand("/add_3",options=message.text)