pnxh2371/Ankit_mods_store_botPublic · Bot Template
AI𝐀ɴᴋɪᴛ 𝐌ᴏᴅꜱ 𝐒ᴛᴏʀᴇ 🛍 appears to be a Telegram automation bot. Commands include /*, /addbal, /addbal_all, /addbal_binance, /addbal_binance_approve, /addbal_binance_paid, /addbal_upi, /addcat_id. Observed in code: messaging, http, libs, keyboards, payments.
Utilityutility
133 commands0 envUpdated 8h agoCreated Sep 10, 2026
commands/_pause_coupon.js
javascript · 37 lines
1/**#command2name: /pause_coupon3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13 var ownerId = Bot.getProperty("owner_id") || "6182067327";14 var requesterId = String(user.telegramid);15 var isCoAdmin = Bot.getProperty("co_admin_" + requesterId);16 if (requesterId !== String(ownerId) && !isCoAdmin) { return; }17 18 var code = params ? String(params).trim().toUpperCase() : "";19 var c = Bot.getProperty("coupon_" + code);20 if (!c) {21 Bot.sendMessage("❌ Coupon not found.");22 return;23 }24 25 c.isPaused = !c.isPaused;26 Bot.setProperty("coupon_" + code, c, "json");27 28 Bot.sendMessage("✅ Coupon <code>" + code + "</code> ab " + (c.isPaused ? "⏸ Paused" : "✅ Active") + " hai.", { parse_mode: "HTML" });29 30 Bot.run({ command: "/coupons" });31 32 var queryId = request ? (request.id || (request.callback_query && request.callback_query.id)) : null;33 if (queryId) { try { Api.answerCallbackQuery({ callback_query_id: String(queryId) }); } catch (e) {} }34 35} catch (err) {36 Bot.sendMessage("⚠️ Error: " + err.message);37}