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/_myreseller.js
javascript · 33 lines
1/**#command2name: /myreseller3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13 var userId = user.telegramid;14 var isReseller = Bot.getProperty("is_reseller_" + userId);15 16 if (!isReseller) {17 Bot.sendMessage("<tg-emoji emoji-id='6143299028655280273'>❌</tg-emoji> Aapke paas reseller role nahi hai.", { parse_mode: "HTML" });18 return;19 }20 21 var name = user.first_name || "N/A";22 var username = user.username ? "@" + user.username : "N/A";23 24 var infoText = "<blockquote><b><tg-emoji emoji-id='5346024644635804737'>🔰</tg-emoji> MY RESELLER ACCOUNT INFO</b>\n\n" +25 "• <b>Name:</b> " + name + "\n" +26 "• <b>User ID:</b> <code>" + userId + "</code>\n" +27 "• <b>Username:</b> " + username + "</blockquote>";28 29 Bot.sendMessage(infoText, { parse_mode: "HTML" });30 31} catch (err) {32 Bot.sendMessage("Error: " + err.message);33}