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/_aura_paper.js

javascript · 69 lines

Raw
1/**#command2name: /aura_paper3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12var data = String(request.data || "");13var chatId = data.replace("aura_paper_", "");14 15var userId = String(request.from.id);16var key = "AURA_GAME_" + chatId;17var game = Bot.getProperty(key);18 19if (!game) {20  Api.answerCallbackQuery({21    callback_query_id: request.id,22    text: "❌ This battle has ended."23  });24  return;25}26 27if (28  userId != String(game.player1) &&29  userId != String(game.player2)30) {31  Api.answerCallbackQuery({32    callback_query_id: request.id,33    text: "❌ You are not in this battle."34  });35  return;36}37 38if (userId == String(game.player1)) {39  if (game.choice1) {40    Api.answerCallbackQuery({41      callback_query_id: request.id,42      text: "⚠️ You already chose."43    });44    return;45  }46 47  game.choice1 = "paper";48} else {49  if (game.choice2) {50    Api.answerCallbackQuery({51      callback_query_id: request.id,52      text: "⚠️ You already chose."53    });54    return;55  }56 57  game.choice2 = "paper";58}59 60Bot.setProperty(key, game, "json");61 62Api.answerCallbackQuery({63  callback_query_id: request.id,64  text: "🔒 Paper locked!"65});66 67if (game.choice1 && game.choice2) {68  Bot.runCommand("aura_result", chatId);69}