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

javascript · 410 lines

Raw
1/**#command2name: /sus3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// ==========================================================13// 💜 GIFT AI — /SUS14// ADVANCED & ENGAGING SUS CHECK15//16// • /sus while replying to someone17// • /sus @username18// • Replies directly to the /sus command19// • Randomized but weighted suspicion20// • Multiple verdicts + reasons21// • Group + private chat compatible22// • No admin required23// ==========================================================24 25 26// ==========================================================27// GET COMMAND MESSAGE ID28// ==========================================================29 30var commandMessageId = request.message_id || message_id;31 32 33// ==========================================================34// GET TARGET35// ==========================================================36 37var target = null;38 39 40// ----------------------------------------------------------41// REPLY TARGET42// ----------------------------------------------------------43 44if (request.reply_to_message && request.reply_to_message.from) {45 46  target = request.reply_to_message.from;47 48}49 50 51// ----------------------------------------------------------52// USERNAME TARGET53// ----------------------------------------------------------54 55if (!target) {56 57  var parts = String(message || "").trim().split(/\s+/);58 59  if (60    parts.length >= 2 &&61    parts[1].startsWith("@")62  ) {63 64    var username = parts[1].substring(1);65 66    if (username.length > 0) {67 68      target = {69        first_name: username,70        username: username71      };72 73    }74 75  }76 77}78 79 80// ==========================================================81// NO TARGET82// ==========================================================83 84if (!target) {85 86  return Api.sendMessage({87    chat_id: chat.id,88    text:89      "🕵️‍♀️ <b>SUS SCANNER</b>\n\n" +90      "You forgot the suspect. 😭\n\n" +91      "👤 Reply to someone's message with <code>/sus</code>\n" +92      "or use <code>/sus @username</code>.",93    parse_mode: "HTML",94    reply_to_message_id: commandMessageId95  });96 97}98 99 100// ==========================================================101// TARGET NAME102// ==========================================================103 104var firstName = target.first_name || "Unknown";105var lastName = target.last_name || "";106 107var displayName = firstName;108 109if (lastName) {110  displayName += " " + lastName;111}112 113 114// ==========================================================115// SAFE HTML NAME116// ==========================================================117 118displayName = String(displayName)119  .replace(/&/g, "&amp;")120  .replace(/</g, "&lt;")121  .replace(/>/g, "&gt;");122 123 124// ==========================================================125// MENTION126// ==========================================================127 128var mention;129 130if (target.id) {131 132  mention =133    '<a href="tg://user?id=' +134    target.id +135    '">' +136    displayName +137    '</a>';138 139} else if (target.username) {140 141  mention =142    "@" +143    String(target.username)144      .replace(/^@/, "")145      .replace(/[^a-zA-Z0-9_]/g, "");146 147} else {148 149  mention = displayName;150 151}152 153 154// ==========================================================155// SUS SCORE156//157// Weighted slightly toward realistic middle values instead158// of constantly producing extreme scores.159// ==========================================================160 161var roll1 = Math.floor(Math.random() * 101);162var roll2 = Math.floor(Math.random() * 101);163var roll3 = Math.floor(Math.random() * 101);164 165var susScore = Math.round(166  (roll1 + roll2 + roll3) / 3167);168 169 170// ==========================================================171// SMALL RANDOM ADJUSTMENT172// ==========================================================173 174var adjustment =175  Math.floor(Math.random() * 15) - 7;176 177susScore += adjustment;178 179 180// ==========================================================181// KEEP SCORE BETWEEN 0–100182// ==========================================================183 184if (susScore < 0) {185  susScore = 0;186}187 188if (susScore > 100) {189  susScore = 100;190}191 192 193// ==========================================================194// SUS LEVEL195// ==========================================================196 197var level;198var emoji;199 200if (susScore <= 10) {201 202  level = "INNOCENT";203  emoji = "🟢";204 205}206 207else if (susScore <= 25) {208 209  level = "BARELY SUS";210  emoji = "🟢";211 212}213 214else if (susScore <= 45) {215 216  level = "A LITTLE SUS";217  emoji = "🟡";218 219}220 221else if (susScore <= 65) {222 223  level = "SUS";224  emoji = "🟠";225 226}227 228else if (susScore <= 80) {229 230  level = "VERY SUS";231  emoji = "🔴";232 233}234 235else if (susScore <= 94) {236 237  level = "EXTREMELY SUS";238  emoji = "🚨";239 240}241 242else {243 244  level = "FINAL BOSS OF SUS";245  emoji = "💀";246 247}248 249 250// ==========================================================251// REASONS252// ==========================================================253 254var reasons = [255 256  "The vibes are not adding up. 🤨",257 258  "Gift's internal investigation has concerns. 🧐",259 260  "That innocence looks suspiciously rehearsed. 😭",261 262  "The evidence is questionable... but I'm watching. 👀",263 264  "Something about this person feels illegal. 💀",265 266  "The allegations are allegations-ing. 😭",267 268  "I asked my intuition and it said YES. 🚨",269 270  "Too quiet. That's already suspicious. 👁️",271 272  "Their behavior has entered the investigation zone. 🕵️‍♀️",273 274  "Gift doesn't trust the vibes right now. 😭",275 276  "The courtroom has been summoned. ⚖️",277 278  "I'm not saying they're guilty... but I'm also not saying they're innocent. 👀",279 280  "The suspect has been officially placed under observation. 🧐",281 282  "That percentage did NOT come from nowhere. 💀"283 284];285 286 287// ==========================================================288// RANDOM REASON289// ==========================================================290 291var reason =292  reasons[Math.floor(Math.random() * reasons.length)];293 294 295// ==========================================================296// VERDICTS297// ==========================================================298 299var verdict;300 301if (susScore <= 10) {302 303  verdict =304    "You're actually clean. I'm disappointed. 😭";305 306}307 308else if (susScore <= 25) {309 310  verdict =311    "I'll let you go... this time. 👀";312 313}314 315else if (susScore <= 45) {316 317  verdict =318    "Hmm. I'll keep one eye on you.";319 320}321 322else if (susScore <= 65) {323 324  verdict =325    "Yeahhh... I'm gonna need an explanation. 🤨";326 327}328 329else if (susScore <= 80) {330 331  verdict =332    "Somebody start the investigation. 🚨";333 334}335 336else if (susScore <= 94) {337 338  verdict =339    "We have officially entered dangerous levels of sus. 💀";340 341}342 343else {344 345  verdict =346    "NO QUESTIONS. STRAIGHT TO THE SUS JAIL. 🚔💀";347 348}349 350 351// ==========================================================352// PROGRESS BAR353// ==========================================================354 355var filled =356  Math.round(susScore / 10);357 358var empty =359  10 - filled;360 361var bar = "";362 363for (var i = 0; i < filled; i++) {364  bar += "🟥";365}366 367for (var j = 0; j < empty; j++) {368  bar += "⬜";369}370 371 372// ==========================================================373// FINAL MESSAGE374// ==========================================================375 376var result =377  "🕵️‍♀️ <b>GIFT'S SUS INVESTIGATION</b>\n\n" +378 379  "👤 <b>Suspect:</b> " + mention + "\n\n" +380 381  emoji +382  " <b>Sus Level:</b> " +383  susScore +384  "%\n" +385 386  "📊 <b>Status:</b> " +387  level +388  "\n\n" +389 390  bar + "\n\n" +391 392  "🔎 <b>Investigator's Note:</b>\n" +393  reason + "\n\n" +394 395  "⚖️ <b>Verdict:</b>\n" +396  verdict + "\n\n" +397 398  "💜 <i>Gift has spoken. Don't argue with the scanner.</i>";399 400 401// ==========================================================402// SEND AS A REPLY TO /SUS403// ==========================================================404 405Api.sendMessage({406  chat_id: chat.id,407  text: result,408  parse_mode: "HTML",409  reply_to_message_id: commandMessageId410});