indrajitghosh20006/Igstore_01botPublic Β· Bot Template
AIThe bot provides an admin interface for a digital store, allowing the owner or coβadmins to add balances, products, plans, and categories. It supports payment workflows via UPI and Binance Pay, automatically generating QR codes and handling manual approval of deposits. The code patches inline keyboards to use premium emoji icons and includes helper functions for user and bot properties. Overall, it serves as a commerce management tool for a Telegram-based storefront.
Commercestoreadminbalanceproductplancategory
170 commands0 envUpdated 7h agoCreated Oct 30, 2026
commands/_manage_ui_theme.js
javascript Β· 25 lines
1/**#command2name: /manage_ui_theme3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12try{13 var ownerId=String(Bot.getProperty("owner_id")||"7839151435"),chatId=String(chat.chatid||user.telegramid);14 if(chatId!==ownerId&&!Bot.getProperty("co_admin_"+chatId)){Bot.sendMessage("β Restricted command!");return;}15 var cur=String(Bot.getProperty("ui_theme")||"mixed");16 Bot.sendMessage("π¨ <b>BOT UI THEME</b>\n\nCurrent theme: <b>"+cur.toUpperCase()+"</b>\n\nThis controls the main menu button color style. Telegram supports Blue, Green and Red button styles.",{17 parse_mode:"HTML",reply_markup:JSON.stringify({inline_keyboard:[18 [{text:"π΅ Blue UI",callback_data:"/manage_ui_theme_set blue",style:"primary"}],19 [{text:"π’ Green UI",callback_data:"/manage_ui_theme_set green",style:"success"}],20 [{text:"π΄ Red UI",callback_data:"/manage_ui_theme_set red",style:"danger"}],21 [{text:"π Mixed / Default",callback_data:"/manage_ui_theme_set mixed",style:"primary"}],22 [{text:"β¬
οΈ Admin Panel",callback_data:"/admin",style:"danger"}]23 ]})24 });25}catch(e){Bot.sendMessage("β οΈ UI Theme Error: "+e.message);}