devbro468/Dev_x_store_botPublic · Bot Template

AIThis bot operates a digital storefront (DEV X STORE) selling subscription-based products — likely game hacks, accounts, or access keys — categorized by platform (Android Root, Non-Root, iPhone). It features a reseller program with discounted pricing, a dual-currency wallet (INR balance + Telegram Stars/XTR), and a full admin/co-admin panel for managing products, plans, per-plan pricing, stock (keys/accounts), coupons, and API endpoints. Purchases flow through a plan selection screen offering wallet payment, Stars invoices (sendInvoice with XTR currency), and coupon application. Successful Stars payments are handled via successful_payment webhook, crediting wallet or delivering keys directly. Admin tools include user listing with chunked messaging, stock viewing/deletion with inline keyboards, co-admin management, and API registry updates. The bot registers users on first interaction and

Commercecommercedigital-goodsstars-paymentreseller-systemadmin-panelstock-management
ProfileTelegram
119 commands0 envUpdated 15d agoCreated Aug 23, 2026
Back to folder

commands/_savepack.js

javascript · 22 lines

Raw
1/**#command2name: /savepack3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// Command: /savepack13// Admin Check (Aapki ID direct set hai)14if (String(user.telegramid) !== "8875810358") {15  Bot.sendMessage("❌ Only Admin can use this.");16  return;17}18 19Bot.sendMessage("📦 **Emoji Pack Registration**\n\nPehle apne naye pack ka ek short naam likh kar bhejiye (e.g., `pubg`, `buttons`):");20 21// Agle step par bhejne ke liye controller22Bot.runCommand("onGetPackName");