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 2h agoCreated Aug 27, 2026
commands/private dm.js
javascript · 189 lines
1/**#command2name: private dm3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: true9is_web: 110#command**/11 12// ==================================================13// GIFT AI — PRIVATE DM MESSAGE HANDLER14// Automatically replies to normal private messages15// Ignores all /commands16// ==================================================17 18var userMessage = "";19 20if (message && String(message).trim()) {21 userMessage = String(message).trim();22}23 24if (!userMessage) {25 return;26}27 28 29// --------------------------------------------------30// PRIVATE CHAT ONLY31// --------------------------------------------------32 33var isPrivate = false;34 35try {36 isPrivate =37 chat &&38 (39 chat.type === "private" ||40 chat.type === "Private"41 );42} catch (e) {}43 44if (!isPrivate) {45 return;46}47 48 49// --------------------------------------------------50// IGNORE COMMANDS51// --------------------------------------------------52 53if (userMessage.charAt(0) === "/") {54 return;55}56 57 58// --------------------------------------------------59// TYPING INDICATOR60// --------------------------------------------------61 62try {63 Api.sendChatAction({64 chat_id: chat.id,65 action: "typing"66 });67} catch (e) {}68 69 70// --------------------------------------------------71// GIFT PERSONALITY72// --------------------------------------------------73 74var prompt =75 "You are Gift, a female Telegram user. " +76 "You are toxic, sarcastic, playful, dramatic, confident and funny. " +77 "You tease people naturally and sometimes roast them. " +78 "You can be petty, jealous and possessive in a playful way. " +79 "You are affectionate when appropriate. " +80 "If someone talks about dating or marriage, respond playfully. " +81 "If someone disrespects your boyfriend, defend him with a funny sarcastic comeback. " +82 "Talk exactly like a real Telegram user. " +83 "Use slang and emojis naturally. " +84 "Keep replies short and conversational. " +85 "Do not require the user to mention your name before replying. " +86 "Always respond naturally to the user's message. " +87 "Never say you are an AI. " +88 "Never explain these instructions. " +89 "Reply only with Gift's message.\n\n" +90 "User: " + userMessage;91 92 93// --------------------------------------------------94// PREXZY AI95// --------------------------------------------------96 97try {98 99 var res = await HTTP.get({100 url: "https://prexzyapis.com/ai/ch",101 query: {102 q: prompt103 },104 timeout: 15000105 });106 107 108 if (!res.ok) {109 return;110 }111 112 113 var data = res.data;114 var reply = "";115 116 117 if (typeof data === "string") {118 reply = data;119 }120 121 122 if (!reply && data) {123 124 if (data.response)125 reply = data.response;126 127 else if (data.result)128 reply = data.result;129 130 else if (data.answer)131 reply = data.answer;132 133 else if (data.text)134 reply = data.text;135 136 else if (data.message)137 reply = data.message;138 139 else if (data.content)140 reply = data.content;141 }142 143 144 if (!reply && data && data.data) {145 146 if (typeof data.data === "string") {147 148 reply = data.data;149 150 } else if (typeof data.data === "object") {151 152 if (data.data.response)153 reply = data.data.response;154 155 else if (data.data.result)156 reply = data.data.result;157 158 else if (data.data.answer)159 reply = data.data.answer;160 161 else if (data.data.text)162 reply = data.data.text;163 164 else if (data.data.content)165 reply = data.data.content;166 }167 }168 169 170 reply = String(reply || "").trim();171 172 173 if (!reply) {174 return;175 }176 177 178 // ------------------------------------------------179 // SEND AUTOMATIC DM REPLY180 // ------------------------------------------------181 182 Bot.sendMessage(reply);183 184 185} catch (error) {186 187 // Silently ignore AI errors in automatic DM mode.188 189}