kkapil9112/Aestheticmodes9_botPublic · Bot Template
AIA Telegram-based digital goods store bot with a full admin panel for managing products, plans, stock, keys, categories, resellers, balances, and coupons. It uses TeleBotHost APIs like Bot, Api, User, Libs.ResourcesLib, and HTTP to run a shop interface, handle admin-only commands, track users, and send inventory/balance summaries. The implementation appears focused on selling game-related accounts and keys such as FreeFire items, with customer-facing store, balance, coupon, and back-to-menu flows.
Commerceshopadmin-panelbalanceresellercouponsstock-management
102 commands1 envUpdated 29d agoCreated Aug 9, 2026
commands/_how.js
javascript · 75 lines
1/**#command2name: /how3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13 // Click loading spinner band karne ke liye instant answer14 if (request && request.id) {15 HTTP.post({16 url: "https://api.telegram.org/bot" + bot.token + "/answerCallbackQuery",17 body: { callback_query_id: request.id }18 });19 }20 21 var chatId = chat.chatid;22 var messageId = request && request.message ? request.message.message_id : null;23 24 // Premium Text with your custom premium emojis25 var text = "━━━━━━━━━━━━━━━━━━━━\n" +26 "<tg-emoji emoji-id='6195222374355311655'>👑</tg-emoji> <b>HOW TO USE THE BOT</b>\n" +27 "━━━━━━━━━━━━━━━━━━━━\n\n" +28 "<blockquote>" +29 "<tg-emoji emoji-id='6219605968846591564'>😎</tg-emoji> Follow these simple steps to use the bot:\n\n" +30 "<tg-emoji emoji-id='6194809138371904539'>📉</tg-emoji> 1. Add balance to your wallet first.\n" +31 "<tg-emoji emoji-id='6298597328022407025'>💰</tg-emoji> 2. Go to products section and pick your plan.\n" +32 "<tg-emoji emoji-id='5316728625465146646'>👆</tg-emoji> 3. Click buy and copy your instant key!\n\n" +33 "<i>Watch the detailed video tutorial below for full guide!</i>" +34 "</blockquote>";35 36 // Inline Keyboard configuration with direct URL system37 var keyboard = {38 inline_keyboard: [39 [40 {41 text: "Watch Video Guide",42 url: "https://t.me/c/4397881408/13", 43 style: "primary", // ⚡ Style property added here as requested44 icon_custom_emoji_id: "5258077307985207053" 45 }46 ],47 [48 {49 text: "Back",50 callback_data: "/back", 51 style: "danger", 52 icon_custom_emoji_id: "5316623368701623632"53 }54 ]55 ]56 };57 58 var endpoint = messageId ? "editMessageText" : "sendMessage";59 var requestBody = {60 chat_id: String(chatId),61 text: text,62 parse_mode: "HTML",63 reply_markup: JSON.stringify(keyboard)64 };65 66 if (messageId) {67 requestBody.message_id = Number(messageId);68 }69 70 HTTP.post({71 url: "https://api.telegram.org/bot" + bot.token + "/" + endpoint,72 body: requestBody73 });74 75} catch (err) {}