ashoksarande3/ASHOK_HACK_STORE_BOTPublic ยท Bot Template

AIThis bot operates as a commercial storefront for selling Free Fire game hacks and cheats via UPI QR code payments. It features a dynamic pricing system with separate normal and reseller prices, product plans with flexible durations (days, hours, minutes), and a reseller program requiring a one-time upgrade fee. The bot handles payment verification through QR code generation and expiry tracking, user verification via Telegram contact sharing, and admin tools for stock management, plan creation, and ownership transfer. It includes a balance system, maintenance mode, and Telegram Stars payment fallback. The codebase uses TeleBotHost's TBL JavaScript APIs (Bot, Api, HTTP, db properties, Libs) for all logic.

Commercefreefiregame-hacksupi-paymentsqr-codesreseller-systemdynamic-pricing
ProfileTelegram
102 commands0 envUpdated 16d agoCreated Aug 22, 2026
Back to folder

commands/_reseller.js

javascript ยท 73 lines

Raw
1/**#command2name: /reseller3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13    if (request && request.id) {14        HTTP.post({15            url: "https://api.telegram.org/bot" + bot.token + "/answerCallbackQuery",16            body: { callback_query_id: request.id }17        });18    }19 20    // โšก DYNAMIC PRICE FETCH: Agar koi price set nahi hai toh default 450 dikhega21    let price = Bot.getProperty("reseller_price") || 70;22 23    let text = "โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”\n" +24        "<tg-emoji emoji-id='6195245249351129913'>๐Ÿ‘‘</tg-emoji> <b>UPGRADE TO RESELLER</b>\n" +25        "โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”\n\n" +26        "<blockquote>" +27        "<tg-emoji emoji-id='6193006377389005214'>๐ŸŽ‰</tg-emoji> <b>Benefits:</b>\n" +28        "โ€ข Special reseller prices on ALL products\n" +29        "โ€ข Priority support\n" +30        "โ€ข Balance tracking dashboard\n\n" +31        "<tg-emoji emoji-id='6195222374355311655'>โœ”</tg-emoji> <b>One-time Investment:</b> โ‚น" + price + "\n\n" +32        "<tg-emoji emoji-id='6194966974125055544'>โš ๏ธ</tg-emoji> <b>Terms:</b>\n" +33        "โ€ข Generate at least 1 license every 30 days\n" +34        "โ€ข Inactive for 30+ days โ†’ automatic downgrade\n" +35        "โ€ข You can re-upgrade anytime by paying again\n\n" +36        "Ready to upgrade? <tg-emoji emoji-id='6194922667242429131'>๐Ÿ‘ˆ</tg-emoji>" +37        "</blockquote>";38 39    let keyboard = {40        inline_keyboard: [41            [42                {43                    text: "Upgrade Now",44                    callback_data: "/process_buy",45                    style: "success", 46                    icon_custom_emoji_id: "6195245249351129913"47                },48                {49                    text: "Back",50                    callback_data: "/back", 51                    style: "danger", 52                    icon_custom_emoji_id: "5893163582194978381"53                }54            ]55        ]56    };57 58    let endpoint = (request && request.message) ? "editMessageText" : "sendMessage";59    let requestBody = {60        chat_id: chat.chatid,61        text: text,62        parse_mode: "HTML",63        reply_markup: JSON.stringify(keyboard)64    };65 66    if (endpoint === "editMessageText") requestBody.message_id = request.message.message_id;67 68    HTTP.post({69        url: "https://api.telegram.org/bot" + bot.token + "/" + endpoint,70        body: requestBody71    });72 73} catch (err) {}