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

javascript · 74 lines

Raw
1/**#command2name: /rps3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12var chatId = String(request.chat.id);13var p1 = String(user.id);14 15if (!request.reply_to_message) {16  Bot.sendMessage("🎮 Reply to someone's message with /rps to challenge them.");17  return;18}19 20var p2 = String(request.reply_to_message.from.id);21 22if (p1 === p2) {23  Bot.sendMessage("💀 You can't challenge yourself.");24  return;25}26 27var key = "RPS_" + chatId;28 29if (Bot.getProperty(key)) {30  Bot.sendMessage("🎮 A game is already in progress.");31  return;32}33 34var game = {35  p1: p1,36  p2: p2,37  n1: user.first_name,38  n2: request.reply_to_message.from.first_name,39  c1: null,40  c2: null41};42 43Bot.setProperty(key, game, "json");44 45Bot.sendMessage(46  "🎮 RPS AURA BATTLE\n\n" +47  "⚔️ " + game.n1 + " vs " + game.n2 + "\n\n" +48  "🔒 Both players must choose privately.\n" +49  "Your choice will not be revealed until both players have chosen."50);51 52// Send private poll to player 153Api.sendPoll({54  chat_id: p1,55  question: "🎮 Choose your move",56  options: [57    { text: "🪨 Rock" },58    { text: "📄 Paper" },59    { text: "✂️ Scissors" }60  ],61  is_anonymous: false62});63 64// Send private poll to player 265Api.sendPoll({66  chat_id: p2,67  question: "🎮 Choose your move",68  options: [69    { text: "🪨 Rock" },70    { text: "📄 Paper" },71    { text: "✂️ Scissors" }72  ],73  is_anonymous: false74});