Saturday, August 2, 2025
10.(command:/withdraw2)
10.(command:/withdraw2)
/withdraw2
def com(u):
u = str(u)
wallet = str(User.getData('wallet'))
user_info = bot.get_chat(u)
username = user_info.username if user_info.username else "No Username"
try:
amount = int(message.text)
bal = float(User.getData('balance'))
except:
bot.replyText(u, "⚠️ The amount entered is incorrect, please provide only numbers.",
parse_mode="markdown")
return
if amount < 2:
bot.replyText(u, "❌ To complete a withdrawal, you must have at least 10 টাকা in your account.",
parse_mode="markdown")
return
if amount > bal:
bot.replyText(u, "😳 The withdrawal amount exceeds your available balance.",
parse_mode="markdown")
return
currency = "টাকা"
balance = bal - amount
User.saveData("balance", balance)
payment_channel = "@tbpycofficial"
bot_username = str(Bot.info().username)
if payment_channel != "None":
bot.replyText(
chat_id=payment_channel,
text=f"""
Withdrawal Completed Successfully ✅
🚀 User ID: {u}
🔥 Username: @{username}
💰 Amount: {amount} {currency}
⏳ Payment Status: pending
💳 Wallet: <code>{wallet}</code>
🤖 Bot Link: @{bot_username}""",
parse_mode="html"
)
bot.replyText(
chat_id=u,
text=f"""
Withdrawal Request Successful ✅
🚀 User ID: {u}
🔥 Username: @{username}
💰 Amount: {amount} {currency}
⏳ Payment Status: Pending
💳 Wallet: <code>{wallet}</code>
🔗 Payment Channel: {payment_channel}""",
parse_mode="html"
)
com(u)
Subscribe to:
Post Comments (Atom)
13.(commamnd:/account) / accoun t balance = str(User.getData("balance")) wallet = str(User.getData('wallet')) user = str...

-
কাজ করবার জন্য "কাজ এক" এ ক্লিক করুন।কাজ এক এ ক্লিক করার পর 30 সেকেন্ড ওয়েবসাইতে ভিজিট করবেন। ...
-
7.(command:/set wallet) /set wallet bot.replyText(u, "📝 Please Your Bkash Number", parse_mode="html") Bot.handleNextCo...
No comments:
Post a Comment