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
112 commands3 envUpdated 2h agoCreated Aug 27, 2026
commands/_aura_result.js
javascript · 118 lines
1/**#command2name: /aura_result3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12var groupId = String(params || "").trim();13 14if (!groupId) {15 return;16}17 18var key = "AURA_GAME_" + groupId;19var game = Bot.getProperty(key);20 21if (!game) {22 return;23}24 25if (!game.choice1 || !game.choice2) {26 return;27}28 29var p1 = game.choice1;30var p2 = game.choice2;31 32var winnerId = null;33var winnerName = "";34 35 36// DRAW37if (p1 == p2) {38 39 Bot.sendMessageToChatWithId(40 groupId,41 42 "🤝 <b>AURA BATTLE — DRAW</b>\n\n" +43 44 "👤 " + game.player1_name +45 ": <b>" + p1 + "</b>\n" +46 47 "👤 " + game.player2_name +48 ": <b>" + p2 + "</b>\n\n" +49 50 "✨ Nobody gained Aura.",51 52 {53 parse_mode: "HTML"54 }55 );56 57 Bot.setProperty(key, null);58 return;59}60 61 62// PLAYER 1 WINS63if (64 (p1 == "rock" && p2 == "scissors") ||65 (p1 == "paper" && p2 == "rock") ||66 (p1 == "scissors" && p2 == "paper")67) {68 69 winnerId = String(game.player1);70 winnerName = game.player1_name;71 72} else {73 74 winnerId = String(game.player2);75 winnerName = game.player2_name;76 77}78 79 80// ADD AURA81var auraKey = "AURA_" + winnerId;82 83var aura = Bot.getProperty(auraKey) || 0;84 85aura = Number(aura) + 10;86 87Bot.setProperty(88 auraKey,89 aura,90 "integer"91);92 93 94// SEND RESULT95Bot.sendMessageToChatWithId(96 groupId,97 98 "⚔️ <b>AURA BATTLE COMPLETE</b>\n\n" +99 100 "👤 " + game.player1_name +101 ": <b>" + p1 + "</b>\n" +102 103 "👤 " + game.player2_name +104 ": <b>" + p2 + "</b>\n\n" +105 106 "🏆 <b>" + winnerName + " WINS!</b>\n\n" +107 108 "✨ <b>+10 Aura</b>\n" +109 "💫 Total Aura: <b>" + aura + "</b>",110 111 {112 parse_mode: "HTML"113 }114);115 116 117// CLEAR GAME118Bot.setProperty(key, null);