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/_expose.js
javascript · 494 lines
1/**#command2name: /expose3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// ==========================================================13// 💀 GIFT — /expose14// RANDOM FICTIONAL EXPOSE REPORT15//16// ONLY WORKS WHEN:17// 1. /expose is used as a reply to someone's message18//19// If nobody is targeted:20// → Gift says NOTHING21//22// Every successful expose is randomized.23// Gift replies directly to the COMMAND USER.24// ==========================================================25 26 27// ----------------------------------------------------------28// SAFELY GET REPLIED USER29// ----------------------------------------------------------30 31var target = null;32 33try {34 35 if (36 request &&37 request.reply_to_message &&38 request.reply_to_message.from39 ) {40 41 target = request.reply_to_message.from;42 43 }44 45} catch (e) {46 47 target = null;48 49}50 51 52// ----------------------------------------------------------53// NO TARGET = NO RESPONSE54// ----------------------------------------------------------55 56if (!target || !target.id) {57 return;58}59 60 61// ----------------------------------------------------------62// COMMAND MESSAGE ID63// ----------------------------------------------------------64 65var messageId = null;66 67if (request && request.message_id) {68 messageId = request.message_id;69}70 71 72// ----------------------------------------------------------73// TARGET INFORMATION74// ----------------------------------------------------------75 76var targetId = String(target.id);77 78var targetName = String(79 target.first_name ||80 target.username ||81 "User"82);83 84if (target.last_name) {85 targetName += " " + String(target.last_name);86}87 88 89// ----------------------------------------------------------90// HTML ESCAPER91// ----------------------------------------------------------92 93function esc(value) {94 95 return String(value || "")96 .replace(/&/g, "&")97 .replace(/</g, "<")98 .replace(/>/g, ">")99 .replace(/"/g, """)100 .replace(/'/g, "'");101 102}103 104 105// ----------------------------------------------------------106// REAL CLICKABLE TELEGRAM TAG107// ----------------------------------------------------------108 109var tag =110 '<a href="tg://user?id=' +111 targetId +112 '">' +113 esc(targetName) +114 "</a>";115 116 117// ----------------------------------------------------------118// RANDOM PICKER119// ----------------------------------------------------------120 121function pick(list) {122 123 return list[124 Math.floor(Math.random() * list.length)125 ];126 127}128 129 130// ----------------------------------------------------------131// RANDOM NUMBER132// ----------------------------------------------------------133 134function number(min, max) {135 136 return Math.floor(137 Math.random() * (max - min + 1)138 ) + min;139 140}141 142 143// ----------------------------------------------------------144// ALIASES145// ----------------------------------------------------------146 147var aliases = [148 149 "CEO of Bad Decisions",150 "Professional Menace",151 "Certified Problem",152 "Group Chat Criminal",153 "Walking Plot Twist",154 "Department of Chaos",155 "Certified Yap Specialist",156 "Full-Time Nuisance",157 "Part-Time Angel",158 "Suspicious Individual",159 "Professional Disturbance",160 "Chairman of Unnecessary Drama",161 "Chief Executive of Nonsense",162 "Wanted for Being Too Unserious"163 164];165 166 167// ----------------------------------------------------------168// CHARGES169// ----------------------------------------------------------170 171var charges = [172 173 "Excessive yapping",174 "Illegal levels of confidence",175 "Starting unnecessary arguments",176 "Stealing everyone's attention",177 "Being suspiciously quiet",178 "Replying without reading the message",179 "Professional procrastination",180 "Chronic bad decisions",181 "Disturbing the peace",182 "Unprovoked nonsense",183 "Random disappearance from the group",184 "Attempted murder of the group chat's peace",185 "Weaponized sarcasm",186 "Unnecessary dramatic behavior",187 "Abuse of the reply button",188 "Repeated violations of common sense"189 190];191 192 193// ----------------------------------------------------------194// EVIDENCE195// ----------------------------------------------------------196 197var evidence = [198 199 "47 suspicious messages detected.",200 "Witnesses refused to cooperate.",201 "The chat logs are looking terrible.",202 "Several questionable decisions were recorded.",203 "Their alibi made absolutely no sense.",204 "Multiple victims reported emotional damage.",205 "The investigation team found suspicious activity.",206 "Evidence was discovered in the group chat.",207 "Their typing history raised serious concerns.",208 "Three witnesses immediately left the scene.",209 "The evidence folder is somehow already full.",210 "Investigators requested emotional compensation.",211 "The screenshots were too embarrassing to release.",212 "Gift's investigation team is deeply concerned."213 214];215 216 217// ----------------------------------------------------------218// VERDICTS219// ----------------------------------------------------------220 221var verdicts = [222 223 "GUILTY — beyond unnecessary doubt.",224 "GUILTY — the evidence is embarrassing.",225 "GUILTY — appeal denied immediately.",226 "GUILTY — even Gift is disappointed.",227 "MOSTLY GUILTY — but entertaining.",228 "SUSPICIOUS — investigation remains open.",229 "INNOCENT — somehow. Nobody understands how.",230 "GUILTY — common sense was not found.",231 "GUILTY — the jury didn't even need five seconds.",232 "UNDER INVESTIGATION — but things aren't looking good."233 234];235 236 237// ----------------------------------------------------------238// SENTENCES239// ----------------------------------------------------------240 241var sentences = [242 243 "24 hours of touching grass.",244 "Three days without causing chaos.",245 "Community service in the group chat.",246 "A mandatory personality update.",247 "Seven minutes of thinking before replying.",248 "Temporary confiscation of their Wi-Fi.",249 "One apology to the entire group.",250 "Mandatory silence until further notice.",251 "A lifetime supply of embarrassment.",252 "Immediate enrollment in Common Sense 101.",253 "Three hours of supervised group-chat behavior.",254 "Probation until they stop being suspicious."255 256];257 258 259// ----------------------------------------------------------260// RANDOM REPORT STYLE261// ----------------------------------------------------------262 263var style = number(1, 5);264 265var report = "";266 267 268// ==========================================================269// REPORT STYLE 1 — CONFIDENTIAL FILE270// ==========================================================271 272if (style === 1) {273 274 report =275 276 "🗂 <b>GIFT CONFIDENTIAL — EXPOSE FILE</b>\n" +277 "━━━━━━━━━━━━━━━━━━━━\n\n" +278 279 "👤 <b>SUBJECT:</b> " + tag + "\n" +280 "🪪 <b>ALIAS:</b> " + esc(pick(aliases)) + "\n" +281 "🔎 <b>STATUS:</b> Under Investigation\n\n" +282 283 "📋 <b>CHARGES</b>\n" +284 "• " + esc(pick(charges)) + "\n" +285 "• " + esc(pick(charges)) + "\n" +286 "• " + esc(pick(charges)) + "\n\n" +287 288 "📁 <b>EVIDENCE</b>\n" +289 "• " + esc(pick(evidence)) + "\n" +290 "• " + esc(pick(evidence)) + "\n\n" +291 292 "📊 <b>PROFILE</b>\n" +293 "😈 Chaos: " + number(70, 99) + "%\n" +294 "🕵️ Suspicion: " + number(65, 99) + "%\n" +295 "😎 Confidence: " + number(75, 100) + "%\n" +296 "🧠 Braincells: " + number(2, 12) + "\n\n" +297 298 "⚖️ <b>VERDICT</b>\n" +299 esc(pick(verdicts)) + "\n\n" +300 301 "🔨 <b>SENTENCE:</b> " +302 esc(pick(sentences)) + "\n\n" +303 304 "━━━━━━━━━━━━━━━━━━━━\n" +305 "⚠️ <i>Fictional report for entertainment only.</i>";306 307}308 309 310// ==========================================================311// REPORT STYLE 2 — POLICE REPORT312// ==========================================================313 314else if (style === 2) {315 316 report =317 318 "🚨 <b>GIFT POLICE DEPARTMENT</b>\n" +319 "━━━━━━━━━━━━━━━━━━━━\n\n" +320 321 "🚔 <b>CASE FILE:</b> #" +322 number(10000, 99999) + "\n" +323 324 "👮 <b>OFFICER:</b> Gift\n" +325 "👤 <b>SUSPECT:</b> " + tag + "\n\n" +326 327 "📌 <b>KNOWN ALIAS:</b>\n" +328 esc(pick(aliases)) + "\n\n" +329 330 "⚠️ <b>REPORTED OFFENSES</b>\n" +331 "1. " + esc(pick(charges)) + "\n" +332 "2. " + esc(pick(charges)) + "\n" +333 "3. " + esc(pick(charges)) + "\n\n" +334 335 "🔍 <b>INVESTIGATOR'S NOTE</b>\n" +336 esc(pick(evidence)) + "\n\n" +337 338 "⚖️ <b>COURT DECISION</b>\n" +339 esc(pick(verdicts)) + "\n\n" +340 341 "🔨 <b>SENTENCE</b>\n" +342 esc(pick(sentences)) + "\n\n" +343 344 "━━━━━━━━━━━━━━━━━━━━\n" +345 "⚠️ <i>Fictional entertainment report.</i>";346 347}348 349 350// ==========================================================351// REPORT STYLE 3 — FBI FILE352// ==========================================================353 354else if (style === 3) {355 356 report =357 358 "🕵️ <b>GIFT INTELLIGENCE BUREAU</b>\n" +359 "━━━━━━━━━━━━━━━━━━━━\n\n" +360 361 "🔐 <b>CLASSIFICATION:</b> TOP SECRET\n" +362 "👤 <b>TARGET:</b> " + tag + "\n" +363 "🪪 <b>CODENAME:</b> " +364 esc(pick(aliases)) + "\n\n" +365 366 "📡 <b>THREAT ASSESSMENT</b>\n" +367 "Chaos ........ " + number(70, 100) + "%\n" +368 "Suspicion .... " + number(60, 99) + "%\n" +369 "Yapping ...... " + number(65, 100) + "%\n" +370 "Common Sense . " + number(1, 35) + "%\n\n" +371 372 "📂 <b>RECENT FINDINGS</b>\n" +373 "• " + esc(pick(evidence)) + "\n" +374 "• " + esc(pick(evidence)) + "\n\n" +375 376 "🚨 <b>PRIMARY OFFENSE</b>\n" +377 esc(pick(charges)) + "\n\n" +378 379 "⚖️ <b>AGENCY VERDICT</b>\n" +380 esc(pick(verdicts)) + "\n\n" +381 382 "📜 <b>RECOMMENDED ACTION</b>\n" +383 esc(pick(sentences)) + "\n\n" +384 385 "━━━━━━━━━━━━━━━━━━━━\n" +386 "⚠️ <i>Fictional report generated by Gift.</i>";387 388}389 390 391// ==========================================================392// REPORT STYLE 4 — COURT FILE393// ==========================================================394 395else if (style === 4) {396 397 report =398 399 "⚖️ <b>THE PEOPLE VS. " +400 esc(targetName.toUpperCase()) +401 "</b>\n" +402 403 "━━━━━━━━━━━━━━━━━━━━\n\n" +404 405 "👨⚖️ <b>JUDGE:</b> Gift\n" +406 "👤 <b>DEFENDANT:</b> " + tag + "\n\n" +407 408 "📢 <b>THE COURT HEARD THE FOLLOWING:</b>\n" +409 "• " + esc(pick(charges)) + "\n" +410 "• " + esc(pick(charges)) + "\n" +411 "• " + esc(pick(charges)) + "\n\n" +412 413 "🧾 <b>COURT EVIDENCE</b>\n" +414 esc(pick(evidence)) + "\n\n" +415 416 "🔨 <b>JUDGEMENT</b>\n" +417 esc(pick(verdicts)) + "\n\n" +418 419 "📜 <b>PUNISHMENT</b>\n" +420 esc(pick(sentences)) + "\n\n" +421 422 "👨⚖️ <b>COURT IS ADJOURNED.</b>\n\n" +423 424 "⚠️ <i>Fictional comedy report.</i>";425 426}427 428 429// ==========================================================430// REPORT STYLE 5 — EMERGENCY EXPOSE431// ==========================================================432 433else {434 435 report =436 437 "🚨🚨 <b>BREAKING: GIFT HAS EXPOSED SOMEONE</b> 🚨🚨\n" +438 "━━━━━━━━━━━━━━━━━━━━\n\n" +439 440 "🎯 <b>TARGET:</b> " + tag + "\n" +441 "💀 <b>KNOWN AS:</b> " +442 esc(pick(aliases)) + "\n\n" +443 444 "🔴 <b>WARNING SIGNS DETECTED</b>\n" +445 "• " + esc(pick(charges)) + "\n" +446 "• " + esc(pick(charges)) + "\n" +447 "• " + esc(pick(charges)) + "\n\n" +448 449 "📸 <b>EVIDENCE ROOM</b>\n" +450 "🔹 " + esc(pick(evidence)) + "\n" +451 "🔹 " + esc(pick(evidence)) + "\n\n" +452 453 "📊 <b>EXPOSE METER</b>\n" +454 "🔥 Exposure: " + number(80, 100) + "%\n" +455 "💀 Damage: " + number(70, 100) + "%\n" +456 "🚨 Suspicion: " + number(70, 100) + "%\n\n" +457 458 "⚖️ <b>FINAL VERDICT</b>\n" +459 esc(pick(verdicts)) + "\n\n" +460 461 "🔨 <b>GIFT'S SENTENCE:</b>\n" +462 esc(pick(sentences)) + "\n\n" +463 464 "━━━━━━━━━━━━━━━━━━━━\n" +465 "🤖 <i>Fictional entertainment only.</i>";466 467}468 469 470// ==========================================================471// SEND REPORT AS A DIRECT REPLY472// ==========================================================473 474var finalMessage = {475 chat_id: chat.id,476 text: report,477 parse_mode: "HTML"478};479 480 481// ----------------------------------------------------------482// ATTACH REPLY TO THE /expose COMMAND483// ----------------------------------------------------------484 485if (messageId) {486 finalMessage.reply_to_message_id = messageId;487}488 489 490// ----------------------------------------------------------491// SEND492// ----------------------------------------------------------493 494Api.sendMessage(finalMessage);