Saturday, August 2, 2025











 13.(commamnd:/account)


/account


balance = str(User.getData("balance"))
wallet = str(User.getData('wallet'))
user = str(u)

user_info = bot.get_chat(u)
first_name = user_info.first_name if user_info.first_name else "No First Name"
username = user_info.username if user_info.username else "No Username"
user_id = user_info.id if user_info.id else "No User ID"

msg = f"""🙍‍♂️ Your Name: {first_name}
🔥 Username: @{username}
🚀 User ID: {user_id}
💳 Wallet: {wallet}
💰 Balance: {balance} টাকা"""

bot.replyText(u, msg, parse_mode="html")

12.(command:/status)


 12.(command:/status)


/status


users = str(Bot.info().userstat)
withdraw = libs.Resources.globalRes('withdraw').value()
bot.replyText(
    u, f"*📊 Total Users*: {users} *users*\n\n🚀Online Users : {users} ", parse_mode="markdown")

11.(command:/wallet)

 



11.(command:/wallet)


/wallet


wallet = User.getData("wallet")

bot.replyText(
    chat_id=message.chat.id,
    text=f"""💳 Current Wallet: {wallet}

⚙️ If you want to set or change your wallet, click here: /SetWallet""",
    parse_mode="html"
)

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)

9.command:/seteallet2)


 9.command:/seteallet2)



/seteallet2



User.saveData('wallet', message.text)
bot.replyText(u, "*✅ Success*", parse_mode="markdown")

8.(command:/bcast)


 


8.(command:/bcast)



/bcas




bot.replyText(u, "🔍 <b>Forward Your Message To Broadcast</b>")
Bot.handleNextCommand("/bc")

7.(command:/set wallet)


 7.(command:/set wallet)


/set wallet




bot.replyText(u, "📝 Please Your Bkash Number", parse_mode="html")
Bot.handleNextCommand("SetWallet2")

  13.(commamnd:/account) / accoun t balance = str(User.getData("balance")) wallet = str(User.getData('wallet')) user = str...