mansuriamaan803/SANJEEVFFSTORE_botPublic · Bot Template
AIThis bot is a commerce platform for selling digital products, primarily focused on FreeFire accounts and related services. It provides admin tools for managing products, categories, stock, reseller roles, and a balance system for user payments. Users can browse products, apply coupons, and check their balance through an interactive interface with premium emojis and inline keyboards.
Commercecommercestoreproductsresellerbalancecoupon
102 commands0 envUpdated 12d agoCreated Aug 26, 2026
commands/_removereseller.js
javascript · 39 lines
1/**#command2name: /removereseller3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13 var adminId = "8963001413";14 if (String(chat.chatid) !== adminId) return;15 16 var targetId = params ? params.trim() : null;17 18 if (!targetId) {19 Bot.sendMessage("❌ <b>Usage:</b> <code>/removereseller 123456789</code>", { parse_mode: "HTML" });20 return;21 }22 23 Bot.setProperty("is_reseller_" + targetId, false, "boolean");24 25 Bot.sendMessage("<tg-emoji emoji-id='6143299028655280273'>☠</tg-emoji> User <code>" + targetId + "</code> ka reseller role remove kar diya gaya hai.", { parse_mode: "HTML" });26 27 // User ko notification28 var removeNotif = "<blockquote><b><tg-emoji emoji-id='6143299028655280273'>⚠️</tg-emoji> ROLE REMOVED</b>\n\n" +29 "Aapka **Reseller Role** admin dwara remove kar diya gaya hai. Ab aapko normal prices show hongi.</blockquote>";30 31 Api.sendMessage({32 chat_id: targetId,33 text: removeNotif,34 parse_mode: "HTML"35 });36 37} catch (err) {38 Bot.sendMessage("Error: " + err.message);39}