millswelbeck148/SireimadeBotPublic · Bot Template

AISireImade appears to be a Telegram automation bot. Commands include /start, /about, /support, /id, /admin, /ban, /unban, /x. Observed in code: messaging, keyboards, games.

Utilityutility
ProfileTelegram
112 commands3 envUpdated 2h agoCreated Aug 27, 2026
Back to folder

commands/_top.js

javascript · 44 lines

Raw
1/**#command2name: /top3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// ==========================================================13// ⭐ GIFT AI — POINTS TEST BASE14// ⚡ FAST • ACCURATE15// ==========================================================16 17// Get chat ID and user ID18var chatId = String(request.chat.id);19var userId = String(request.from.id);20 21// Unique key for this user in this chat22var key = "POINTS_" + chatId + "_" + userId;23 24// Get existing points25var points = Bot.getProperty(key);26 27// Convert safely to number28points = Number(points);29 30if (!isFinite(points)) {31  points = 0;32}33 34// Add 1 point35points = points + 1;36 37// Save points38Bot.setProperty(key, points, "integer");39 40// Reply so you can confirm it works41Bot.sendMessage(42  "⭐ Points added!\n\n" +43  "🏆 Your points: " + points44);