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 1h agoCreated Aug 27, 2026
commands/_promote_done.js
javascript · 102 lines
1/**#command2name: /promote_done3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// ==========================================================13// 💜 GIFT AI — /promote_done14// FINAL PROMOTION RESULT15// ==========================================================16 17var promoterId = user.id;18 19var chatId = Bot.getProperty(20 "PROMOTE_CHAT_" + promoterId21);22 23var commandId = Bot.getProperty(24 "PROMOTE_COMMAND_" + promoterId25);26 27var targetName = Bot.getProperty(28 "PROMOTE_NAME_" + promoterId29);30 31// ----------------------------------------------------------32// CHECK RESULT33// ----------------------------------------------------------34 35if (36 !options ||37 !options.result ||38 options.result.ok !== true39) {40 41 var errorMessage =42 "Telegram couldn't complete the promotion.";43 44 if (45 options &&46 options.result &&47 options.result.description48 ) {49 errorMessage =50 options.result.description;51 }52 53 Api.sendMessage({54 chat_id: chatId,55 text:56 "❌ Couldn't promote " +57 (targetName || "that user") +58 ".\n\n" +59 errorMessage,60 reply_to_message_id: commandId61 });62 63 return;64}65 66// ----------------------------------------------------------67// SUCCESS68// ----------------------------------------------------------69 70Api.sendMessage({71 chat_id: chatId,72 text:73 "Promoted " +74 (targetName || "that user") +75 " successfully. 💜\n\n" +76 "There. They have power now. Don't blame me when they abuse it. 😭",77 reply_to_message_id: commandId78});79 80// ----------------------------------------------------------81// CLEANUP82// ----------------------------------------------------------83 84Bot.setProperty(85 "PROMOTE_TARGET_" + promoterId,86 null87);88 89Bot.setProperty(90 "PROMOTE_CHAT_" + promoterId,91 null92);93 94Bot.setProperty(95 "PROMOTE_COMMAND_" + promoterId,96 null97);98 99Bot.setProperty(100 "PROMOTE_NAME_" + promoterId,101 null102);