pnxh2371/Ankit_mods_store_botPublic · Bot Template

ProfileTelegram

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
Back to folder

commands/_payment_config.js

javascript · 36 lines

Raw
1/**#command2name: /payment_config3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try {13  // FamPay UPI configuration used by every QR/verification flow.14  // Admin can still override these with /set_payment_upi.15  var defaultUpi = "satyam045@fam";16  var defaultApiKey = "FAM_0d41dd7b1eea19ba43ac4193bbd8f1c23b0c26bb5f471192";17 18  if (!Bot.getProperty("payment_upi_id")) {19    Bot.setProperty("payment_upi_id", defaultUpi, "string");20  }21  if (!Bot.getProperty("payment_api_key")) {22    Bot.setProperty("payment_api_key", defaultApiKey, "string");23  }24 25  var currentUpi = Bot.getProperty("payment_upi_id");26  var currentKey = Bot.getProperty("payment_api_key");27  Bot.sendMessage(28    "✅ <b>FamPay configuration loaded</b>\n\n" +29    "💳 UPI: <code>" + currentUpi + "</code>\n" +30    "🔐 API Key: <code>" + String(currentKey).substring(0, 10) + "••••••••</code>\n\n" +31    "QR generation + payment verification ab isi configuration ko use karega.",32    {parse_mode:"HTML"}33  );34} catch (e) {35  Bot.sendMessage("❌ Payment config error: " + e.message);36}