en
Feedback
ᴊᴀᴄᴋ ʙᴏᴛ's ✍

ᴊᴀᴄᴋ ʙᴏᴛ's ✍

Open in Telegram

✴️Just want to share my thoughts and little things I do everyday. ✨ • 𝐃𝐚𝐢𝐥𝐲 𝐔𝐩𝐝𝐚𝐭𝐞𝐬 • 𝐋𝐢𝐛𝐫𝐚𝐫𝐲 𝐁𝐮𝐢𝐥𝐝𝐢𝐧𝐠 • 𝐅𝐫𝐞𝐞 𝐀𝐏𝐈 • 𝐂𝐮𝐬𝐭𝐨𝐦𝐢𝐳𝐞 𝐁𝐨𝐭 👑 𝐌𝐚𝐢𝐧𝐭𝐚𝐢𝐧𝐞𝐝 𝐁𝐲 : @Jack_Agnt

Show more
223
Subscribers
No data24 hours
+17 days
+930 days
Posts Archive
🌟 Auto Deleter for Channel Post
Examples of delay formats:/set_delay 10s — Delete after 10 seconds • /set_delay 1m — Delete after 1 minute • /set_delay 15m — Delete after 15 minutes • /set_delay 2h — Delete after 2 hours • /set_delay 1d — Delete after 1 day
Command: * Bjs:
if (typeof request === "string") {
  try { request = JSON.parse(request.replace(/\n/g, "\\\n")); } catch (e) { return; }
}

let { channel_post: message } = request;
if (!message) return;

let chat_id = message.chat.id;
let message_id = message.message_id;
let text = message.text || message.caption || "";

let delayMatch = text.match(/\/set_delay\s+(\d+)([smhd])/i);
if (!delayMatch) return;

let amount = parseInt(delayMatch[1]);
let unit = delayMatch[2].toLowerCase();
let delayMs;

switch (unit) {
  case 's': delayMs = amount * 1000; break
  case 'm': delayMs = amount * 1000 * 60; break
  case 'h': delayMs = amount * 1000 * 60 * 60; break
  case 'd': delayMs = amount * 1000 * 60 * 60 * 24; break
  default: return;
}

let delaySec = Math.floor(delayMs / 1000);

Bot.run({
  command: "/delete_post",
  run_after: delaySec,
  options: {
    chat_id: chat_id,
    message_id: message_id
  }
});

Bot.setProp(`log_${chat_id}_${message_id}`, {
  scheduled_at: new Date().toISOString(),
  delay: `${amount}${unit}`,
  message_id: message_id
}, 'json');
Command: /delete_post Bjs:
Api.deleteMessage({
  chat_id: options.chat_id,
  message_id: options.message_id,
  on_result: function(response) {
    if (response.ok) {
      Bot.setProp(`log_${options.chat_id}_${options.message_id}`, {
        deleted_at: new Date().toISOString(),
        status: "deleted"
      }, 'json');
    } else {
      Bot.run({
        command: "/on_error",
        options: {
          chat_id: options.chat_id,
          message_id: options.message_id,
          error: JSON.stringify(response)
        }
      });
    }
  }
});
Command: /on_error Bjs:
Bot.setProp(`log_${options.chat_id}_${options.message_id}`, {
  error_at: new Date().toISOString(),
  status: "failed",
  error: options.error
}, 'json');
Example post (supports text, media + caption): New update released! /set_delay 5m This post will auto-delete after 5 minutes.
🩵 Cʀᴇᴀᴅɪᴛ - @Jack_Agnt

Sᴇᴀʀᴄʜ Sᴀᴠᴇᴅ Fɪʟᴛᴇʀs - 🔮 Cᴏᴍᴍᴀɴᴅ: * 🌈 Bᴊꜱ Cᴏᴅᴇ:
var filters = Bot.getProperty("filters", {}) || {};
var chatId = chat.chatid;
var chatFilters = filters[chatId] || [];
var msg = message.toLowerCase();
var isAdmin = user.telegramid === Bot.getProperty("admin_id");

for (var i = 0; i < chatFilters.length; i++) {
  var f = chatFilters[i];
  var trigger = f.trigger.toLowerCase();

  var matched =
    (trigger.startsWith("exact:") && msg === trigger.slice(6)) ||
    (trigger.startsWith("prefix:") && msg.startsWith(trigger.slice(7))) ||
    (!trigger.startsWith("exact:") && !trigger.startsWith("prefix:") && msg.includes(trigger));
    
  if (msg === f.trigger + " force" && f.reply) {
    Api.sendMessage({ chat_id: chatId, text: formatReply(f.reply, true), parse_mode: "Markdown" });
    return;
  }
  
if (msg === f.trigger + " noformat" && f.reply) {
  Api.sendMessage({ chat_id: chatId, text: f.reply });
  return;
}

  if (matched) {
    if (f.media) {
      Api.copyMessage({ chat_id: chatId, from_chat_id: chatId, message_id: f.media.message_id });
      return;
    } else if (f.reply) {
      let replyText = formatConditionalReply(f.reply, isAdmin);
      Api.sendMessage({ chat_id: chatId, text: formatReply(replyText), parse_mode: "Markdown" });
      return;
    }
  }
}

function formatReply(text, forceUser) {
  return text
    .replace(/{first}/gi, user.first_name || "")
    .replace(/{last}/gi, user.last_name || "")
    .replace(/{fullname}/gi, (user.first_name || "") + " " + (user.last_name || ""))
    .replace(/{username}/gi, user.username ? "@" + user.username : "[" + user.first_name + "](tg://user?id=" + user.telegramid + ")")
    .replace(/{mention}/gi, "[" + user.first_name + "](tg://user?id=" + user.telegramid + ")")
    .replace(/{id}/gi, user.telegramid)
    .replace(/{chatname}/gi, chat.title || "")
    .replace(/{rules}/gi, "[Rules](https://t.me/c/" + chat.chatid.toString().substring(4) + "/1)");
}

function formatConditionalReply(text, isAdmin) {
  let blocks = text.split("%%%");
  let chosen = blocks[Math.floor(Math.random() * blocks.length)];
  
  if (chosen.includes("{admin}") && !isAdmin) return "";
  if (chosen.includes("{user}") && isAdmin) return "";

  return chosen
    .replace(/{admin}/gi, "")
    .replace(/{user}/gi, "")
    .replace(/{protect}/gi, "")
    .replace(/{replytag}/gi, user.first_name)
    .replace(/{nonotif}/gi, "")
    .replace(/{preview}/gi, "")
    .replace(/{preview:top}/gi, "");
}
🩵 Cʀᴇᴀᴅɪᴛ - @Jack_Agnt

🌟 Auto Filter BotSᴀᴠᴇ Fɪʟᴛᴇʀs - 🔮 Cᴏᴍᴍᴀɴᴅ: /filter 🌈 Bᴊꜱ Cᴏᴅᴇ:
var filters = Bot.getProperty("filters", {}) || {};
var chatId = chat.chatid;
var chatFilters = filters[chatId] || [];

var text = message.replace("/filter", "").trim();
var isReply = request.reply_to_message;
var media = isReply ? request.reply_to_message : null;

if (!text && !media) {
  return Bot.sendMessage("Reply to media or use: /filter <trigger> <reply>");
}

let trigger = "";
let replyText = null;

if (text && !text.includes(" ")) {
  trigger = text;
} else if (text && text.includes(" ")) {
  let parts = text.split(" ");
  trigger = parts.shift();
  replyText = parts.join(" ");
} else if (!text && media && media.caption) {
  replyText = media.caption;
  trigger = "media_" + media.message_id;
}

let mediaInfo = null;
if (media) {
  mediaInfo = {
    message_id: media.message_id,
    type: media.photo ? "photo" :
          media.audio ? "audio" :
          media.document ? "document" :
          media.voice ? "voice" :
          media.video ? "video" :
          media.animation ? "animation" :
          media.sticker ? "sticker" : "unknown"
  };
}

chatFilters.push({
  trigger: trigger.toLowerCase(),
  media: mediaInfo,
  reply: replyText || null
});

filters[chatId] = chatFilters;
Bot.setProperty("filters", filters, "json");
Bot.sendMessage("✅ Filter saved for: " + trigger);
Cʜᴇᴄᴋ Aʟʟ Sᴀᴠᴇᴅ Fɪʟᴛᴇʀs - 🔮 Cᴏᴍᴍᴀɴᴅ: /filters 🌈 Bᴊꜱ Cᴏᴅᴇ:
var filters = Bot.getProperty("filters", {}) || {};
var chatId = chat.chatid;
var chatFilters = filters[chatId] || [];

if (chatFilters.length === 0) {
  return Bot.sendMessage("No filters set.");
}

var out = "*Active Filters:*\\n" + chatFilters.map(f => {
  let mark = f.media ? "📎 " : "💬 ";
  return mark + "`" + f.trigger + "`";
}).join("\\n");

Api.sendMessage({ chat_id: chatId, text: out, parse_mode: "Markdown" });
🩵 Cʀᴇᴀᴅɪᴛ - @Jack_Agnt

🌟 Auto Filter BotSᴀᴠᴇ Fɪʟᴛᴇʀs - 🔮 Cᴏᴍᴍᴀɴᴅ: /filter 🌈 Bᴊꜱ Cᴏᴅᴇ:
var filters = Bot.getProperty("filters", {}) || {};
var chatId = chat.chatid;
var chatFilters = filters[chatId] || [];

var text = message.replace("/filter", "").trim();
var isReply = request.reply_to_message;
var media = isReply ? request.reply_to_message : null;

if (!text && !media) {
  return Bot.sendMessage("Reply to media or use: /filter <trigger> <reply>");
}

let trigger = "";
let replyText = null;

if (text && !text.includes(" ")) {
  trigger = text;
} else if (text && text.includes(" ")) {
  let parts = text.split(" ");
  trigger = parts.shift();
  replyText = parts.join(" ");
} else if (!text && media && media.caption) {
  replyText = media.caption;
  trigger = "media_" + media.message_id;
}

let mediaInfo = null;
if (media) {
  mediaInfo = {
    message_id: media.message_id,
    type: media.photo ? "photo" :
          media.audio ? "audio" :
          media.document ? "document" :
          media.voice ? "voice" :
          media.video ? "video" :
          media.animation ? "animation" :
          media.sticker ? "sticker" : "unknown"
  };
}

chatFilters.push({
  trigger: trigger.toLowerCase(),
  media: mediaInfo,
  reply: replyText || null
});

filters[chatId] = chatFilters;
Bot.setProperty("filters", filters, "json");
Bot.sendMessage("✅ Filter saved for: " + trigger);
Cʜᴇᴄᴋ Aʟʟ Sᴀᴠᴇᴅ Fɪʟᴛᴇʀs - 🔮 Cᴏᴍᴍᴀɴᴅ: /filters 🌈 Bᴊꜱ Cᴏᴅᴇ:
var filters = Bot.getProperty("filters", {}) || {};
var chatId = chat.chatid;
var chatFilters = filters[chatId] || [];

if (chatFilters.length === 0) {
  return Bot.sendMessage("No filters set.");
}

var out = "*Active Filters:*\\n" + chatFilters.map(f => {
  let mark = f.media ? "📎 " : "💬 ";
  return mark + "`" + f.trigger + "`";
}).join("\\n");

Api.sendMessage({ chat_id: chatId, text: out, parse_mode: "Markdown" });
🩵 Cʀᴇᴀᴅɪᴛ - @Sonic_CoderExᴀᴍᴘʟᴇ Usᴇ - Aɴɪᴍᴇ Gʀᴏᴜᴘ

👾 Hɪᴅᴅᴇɴ Dᴀᴛᴀ Exᴛʀᴀᴄᴛɪᴏɴ (Wᴇʙ Mᴇᴛʜᴏᴅ) ▎Nᴏ Sᴏғᴛᴡᴀʀᴇ! Nᴏ Cᴏᴍᴍᴀɴᴅs! Jᴜsᴛ Wᴇʙsɪᴛᴇs ⚡ Sᴛᴇᴘ 1: Oɴʟɪɴᴇ Sᴛᴇɢᴀɴᴏɢʀᴀᴘʜʏ Dᴇᴄᴏᴅᴇʀ ➠ Vɪsɪᴛ: https://futureboy.us/stegano/decinput.html ➠ Uᴘʟᴏᴀᴅ ʏᴏᴜʀ ɪᴍᴀɢᴇ (ᴘɴɢ/ᴊᴘɢ).  ➠ Cʟɪᴄᴋ "Dᴇᴄᴏᴅᴇ" – ɪꜰ ɪᴛ ʜᴀꜱ ʜɪᴅᴅᴇɴ ᴅᴀᴛᴀ, ɪᴛ'ʟʟ ꜱʜᴏᴡ!  🌈 Sᴛᴇᴘ 2: Exᴛʀᴀᴄᴛ Hɪᴅᴅᴇɴ Zɪᴘ/Fɪʟᴇs ➠ Gᴏ ᴛᴏ: https://www.extract.me/ ➠ Dʀᴀɢ & Dʀᴏᴘ ᴛʜᴇ ɪᴍᴀɢᴇ.  ➠ Dᴏᴡɴʟᴏᴀᴅ ʀᴇᴄᴏᴠᴇʀᴇᴅ ꜰɪʟᴇꜱ.  ⚠️ Wᴀʀɴɪɴɢ ▸ Mᴀʟᴡᴀʀᴇ ᴀʟᴇʀᴛ Sᴄᴀɴ ꜰɪʟᴇꜱ ᴏɴ VirusTotal ʙᴇꜰᴏʀᴇ ᴏᴘᴇɴɪɴɢ.  ▸ Pʀɪᴠᴀᴛᴇ ᴅᴀᴛᴀ? Aᴠᴏɪᴅ Iɴsᴇᴄᴜʀᴇ ᴡᴇʙsɪᴛᴇꜱ.  #Sᴛᴇɢᴀɴᴏɢʀᴀᴘʜʏ #NᴏᴏʙFʀɪᴇɴᴅʟʏ #CʏʙᴇʀSᴇᴄᴜʀɪᴛʏ
Pᴇʀꜰᴇᴄᴛ ꜰᴏʀ: ✔ Bᴇɢɪɴɴᴇʀꜱ ᴡʜᴏ ᴅᴏɴ'ᴛ ᴡᴀɴᴛ ᴛᴏ ɪɴꜱᴛᴀʟʟ ꜱᴏꜰᴛᴡᴀʀᴇ!  ✔ Qᴜɪᴄᴋ ᴄʜᴇᴄᴋꜱ ꜰᴏʀ ʜɪᴅᴅᴇɴ ᴍᴇꜱꜱᴀɢᴇꜱ.  ✔ Nᴏ ᴛᴇᴄʜ ꜱᴋɪʟʟꜱ ɴᴇᴇᴅᴇᴅ. 
 🔔 Fᴏʟʟᴏᴡ ꜰᴏʀ ᴍᴏʀᴇ ᴘʀɪᴠᴀᴄʏ ɢᴜɪᴅᴇꜱ!

Hᴀᴄᴋɪɴɢ Sᴇᴄʀᴇᴛs Rᴇᴠᴇᴀʟᴇᴅ! ▎ʜᴏᴡ ᴛᴏ ᴇxᴛʀᴀᴄᴛ ʜɪᴅᴅᴇɴ ᴅᴀᴛᴀ ꜰʀᴏᴍ ᴀɴ ɪᴍᴀɢᴇ ⚡ Mᴇᴛʜᴏᴅ ʀᴇʟᴇᴀsɪɴɢ sᴏᴏɴ...

For Broadcast /broadcast Answer : *📢 Send the message to broadcast, it can be text, photo ( with caption ), video ( with caption ), audio ( with caption ), voice message ( with caption ), document ( with caption ), animation ( with caption ), sticker and video note.* ⚠️ Wait for Answer : ✅
if (user.telegramid !== Bot.getProperty("admin")) {
  return;
}

function broadcast(type, content, caption) {
  HTTP.post({
    url: "https://broadcast-coding-with-mohits-projects.vercel.app/broadcast",
    body: {
      botToken: bot.token,
      type: type,
      content: content,
      caption: caption
    },
    background: true
  });
  
  Bot.sendMessage("*📢 Broadcast has been started....*");
}

const caption = 📢 Broadcast by Admin !\n\n----------\n\n${request.caption} || "📢 Broadcast by Admin !";

if (request.text) {
  HTTP.post({
    url: "https://broadcast-coding-with-mohits-projects.vercel.app/broadcast",
    body: {
      botToken: bot.token,
      type: "message",
      content: 📢 Broadcast by Admin !\n\n${message}
    },
    success: "broadcast",
    background: true
  });
  return;
}

if (request.photo[0]) {
  return broadcast("photo", request.photo[0].file_id, caption);
}

if (request.video) {
  return broadcast("video", request.video.file_id, caption);
}

if (request.audio) {
  return broadcast("audio", request.audio.file_id, caption);
}

if (request.voice) {
  return broadcast("voice", request.voice.file_id, caption);
}

if (request.document) {
  return broadcast("document", request.document.file_id, caption);
}

if (request.animation) {
  return broadcast("animation", request.animation.file_id, caption);
}

if (request.sticker) {
  return broadcast("sticker", request.sticker.file_id, caption);
}

if (request.video_note) {
  return broadcast("videoNote", request.video_note.file_id, caption);
}

Command:- /pay
Api.sendInvoice({
  chat_id: user.telegramid,
  title: "⭐ Garib Ki Help",
  description: "1 Star Dijiye Aur Help Kijiye",
  payload: `Order${user.telegramid}`,
  currency: "XTR",
  provider_token: "",
  photo_url: "https://i.ibb.co/SRW0cyZ/570ef817-44ae-4d37-a186-a21ae22ef00d.jpg",
  start_parameter: "star",
  prices: [
    {
      label: "pay",
      amount: 1
    }
  ],
  reply_markup: {
    inline_keyboard: [[{ text: "Buy for ⭐️ 1", pay: true }]]
  }
});
Command:- *
if (!request) return;

if (typeof request === 'string') {
  try {
    request = JSON.parse(request);
  } catch (e) {
    return;
  }
}

if (request.pre_checkout_query) {
  Api.answerPreCheckoutQuery({
    pre_checkout_query_id: request.pre_checkout_query.id,
    ok: true
  });
} else if (request.successful_payment) {
  Bot.sendMessage(
    `Payment of ⭐️${request.successful_payment.total_amount} is successful`
  );
}

Auto-Delete Links, Abusive Words, and Forwarded Messages (Allowed For Group Admins) Command - *
function containsLink(msg) {
  var urlPattern = /https?:\/\/[^\s]+|www\.[^\s]+/gi;
  return urlPattern.test(msg);
}

function containsBadWord(msg) {
  var badWords = Bot.getProperty("Words");
  if (!badWords) return false;
  var lowerMsg = msg.toLowerCase();
  return badWords.some(word => lowerMsg.includes(word));
}

function isForwarded() {
  return request.forward_from || request.forward_from_chat;
}

if (chat.type !== "private") {
  if (containsLink(message) || containsBadWord(message) || isForwarded()) {
    let url = "https://api.telegram.org/bot" + bot.token + "/getChatAdministrators?chat_id=" + chat.chatid;
    HTTP.get({
      url: url,
      success: "/check"
    });
  }
}
Command - /check
let admins = JSON.parse(content).result;
let isAdmin = admins.some(admin => admin.user.id === user.telegramid);

if (!isAdmin) {
  Api.deleteMessage({
    chat_id: chat.chatid,
    message_id: request.message_id
  });

  Bot.sendMessage("⚠️ Your message was deleted. Forwarded messages, links, and bad words are not allowed.");
}
Command - /add
Bot.runCommand("/fetch_link");
Bot.sendMessage("✅ *Enter your https://gist.github.com file link to load abuse words list:*\n\nExample - https://www.cs.cmu.edu/~biglou/resources/bad-words.txt ( 1383 Abuse Words )\n\nFollow these steps:\n\n1. Go to: https://gist.github.com\n2. Login with GitHub\n3. Paste abuse words (one per line)\n4. Click: *Create secret gist*\n5. Click on *Raw* → Copy the link\n\nNow send the link below:");
Command - /fetch_link Wait For Answer On ✅
if (!message || !message.includes("http")) {
  Bot.sendMessage("❌ Please send a valid link starting with http or https.");
  return;
}

Bot.sendMessage("Fetching and saving words list...");

HTTP.get({
  url: message,
  success: "/save"
});
Command - /save
let lines = content.split("\n");

let cleanWords = lines.map(w => w.trim()).filter(w => w.length > 0);

Bot.setProperty("Words", cleanWords, "json");

Bot.sendMessage("✅ words list updated with " + cleanWords.length + " words.");
Creadit - @Jack_Agnt

Integrate GPT-4 via BotJS – Clean & Fast API Command - *
let prompt = message;
let url = "https://carflow-mocha.vercel.app/api/gpt4?prompt=" + encodeURIComponent(prompt);

HTTP.get({
  url: url,
  success: "/onResponse",
  error: "/onError"
});
Command - /onResponse
let res = JSON.parse(content);
Bot.sendMessage(res.choices[0].message.content);
Command - /onError
Bot.sendMessage("❌ GPT API failed. Please try again.");
Creadit - @Jack_Agnt

ChatGPT Ai Command - * let prompt = message; let url = "https://carflow-mocha.vercel.app/api/gpt?prompt=" + encodeURIComponent(prompt); HTTP.get({   url: url,   success: "/onResponse",   error: "/onError" }); Command - /onResponse
let res = JSON.parse(content);
Bot.sendMessage(res.text);
Command - /onError
Bot.sendMessage("❌ GPT API failed. Please try again.");
Creadit - @Jack_Agnt

ChatGPT Ai Command - *
let prompt = message;
let url = "https://carflow-mocha.vercel.app/api/gpt?prompt=" + encodeURIComponent(prompt);

HTTP.get({
  url: url,
  success: "/onResponse",
  error: "/onError"
});
Command - /onResponse
let res = JSON.parse(content);
Bot.sendMessage(res.text);
Command - /onError
Bot.sendMessage("❌ GPT API failed. Please try again.");
Creadit - @Jack_Agnt

Gʀᴏᴜᴘ Hᴇʟᴘ Bᴏᴛ Bᴊs 〘 1 〙 🌈 Cᴏᴍᴍᴀɴᴅ: /lock 🔮 Bᴊꜱ:
Api.setChatPermissions({
  chat_id: chat.chatid,
  permissions: JSON.stringify({ can_send_messages: false })
});

Bot.sendMessage("Now no one can send messages.");
🌈 Cᴏᴍᴍᴀɴᴅ: /unlock 🔮 Bᴊꜱ:
Api.setChatPermissions({
  chat_id: chat.chatid,
  permissions: JSON.stringify({ can_send_messages: true })
});

Bot.sendMessage("Now everyone can send messages.");
Cʀᴇᴀᴅɪᴛ ❥ @Jack_Agnt

Iɴsᴛᴀʟʟ Bᴏᴛ Tᴏ Bᴏᴛs.Bᴜsɪɴᴇss Aᴄᴄᴏᴜɴᴛ 🌈 Cᴏᴍᴍᴀɴᴅ: /sendbot 🔮 Bᴊꜱ:
let email = params;

if (!email || !email.includes("@") || !email.includes(".")) {
  Bot.sendMessage("❌ Iɴᴠᴀʟɪᴅ Eᴍᴀɪʟ Aᴅᴅʀᴇss!\n\n➤ Exᴀᴍᴘʟᴇ: Google@gmail.Com");
  return;
}

BBAdmin.installBot({
  bot_id: bot.id,
  email: email
});

Bot.sendMessage("✅ Bᴏᴛ Sᴜᴄᴄᴇssꜰᴜʟʟʏ Sᴇɴᴛ Tᴏ Yᴏᴜʀ Bᴏᴛs.Bᴜsɪɴᴇss Mᴀɪʟ 💌\n\n📩 *Eᴍᴀɪʟ:* `" + email + "`", { parse_mode: "Markdown" });
Hᴏᴡ Tᴏ Sᴇɴᴅ Bᴏᴛ Tᴏ Mᴀɪʟ? ✅ Exᴀᴍᴘʟᴇ: /sendbot Google@gmail.Com
Cʀᴇᴀᴅɪᴛ ❥ @Jack_Agnt

🩵 Aʟʟ Fɪʟᴇ Dᴇᴛᴀɪʟꜱ Bᴊꜱ – Iᴍᴀɢᴇ, Vɪᴅᴇᴏ, Sᴛɪᴄᴋᴇʀ & Dᴏᴄᴜᴍᴇɴᴛ 🌈 Cᴏᴍᴍᴀɴᴅ: /details 🔮 Bᴊꜱ:
Api.deleteMessage({
  chat_id: chat.chatid,
  message_id: request.message_id
});

Bot.sendMessage("🛍️ Processing your file...");

Bot.run({
  command: "/process_media",
  options: { request: request }
});
🌈 Cᴏᴍᴍᴀɴᴅ: /process_media 🔮 Bᴊꜱ:
var req = options.request;
var caption = "📁 *Fɪʟᴇ Dᴇᴛᴀɪʟꜱ:*\n\n";

if (req.photo && req.photo.length > 0) {
  var photo = req.photo[req.photo.length - 1]; // Get highest resolution image
  if (photo.file_id) {
    caption += "🩷 *Tʏᴘᴇ:* ɪᴍᴀɢᴇ\n";
    caption += "🔮 *Fɪʟᴇ Iᴅ:* `" + photo.file_id + "`\n";
    caption += "🌈 *Rᴇꜱᴏʟᴜᴛɪᴏɴ:* " + photo.width + "x" + photo.height + "\n";

    Api.sendPhoto({
      photo: photo.file_id,
      caption: caption,
      parse_mode: "Markdown"
    });
  } else {
    Bot.sendMessage("⚠️ *Invalid image received!*");
  }
}

else if (req.video && req.video.file_id) {
  var video = req.video;
  caption += "🩵 *Tʏᴘᴇ:* ᴠɪᴅᴇᴏ\n";
  caption += "🔮 *Fɪʟᴇ Iᴅ:* `" + video.file_id + "`\n";
  caption += "⏳ *Dᴜʀᴀᴛɪᴏɴ:* " + video.duration + " sec\n";
  caption += "🌈 *Rᴇꜱᴏʟᴜᴛɪᴏɴ:* " + video.width + "x" + video.height + "\n";
  caption += "🛍️ *Fɪʟᴇ Sɪᴢᴇ:* " + (video.file_size / 1024).toFixed(2) + " KB\n";

  Api.sendVideo({
    video: video.file_id,
    caption: caption,
    parse_mode: "Markdown"
  });
}

else if (req.sticker && req.sticker.file_id) {
  var sticker = req.sticker;
  var stickerDetails = "🏷️ *Sᴛɪᴄᴋᴇʀ Dᴇᴛᴀɪʟꜱ:*\n\n";
  stickerDetails += "🔮 *Fɪʟᴇ Iᴅ:* `" + sticker.file_id + "`\n";
  stickerDetails += "🎭 *Iꜱ Aɴɪᴍᴀᴛᴇᴅ:* " + (sticker.is_animated ? "✅ Yᴇꜱ" : "❌ Nᴏ") + "\n";
  
  Api.sendSticker({ sticker: sticker.file_id });
  Bot.sendMessage(stickerDetails, { parse_mode: "Markdown" });
}

else if (req.document && req.document.file_id) {
  var doc = req.document;
  caption += "📜 *Tʏᴘᴇ:* Dᴏᴄᴜᴍᴇɴᴛ\n";
  caption += "🔮 *Fɪʟᴇ Iᴅ:* `" + doc.file_id + "`\n";
  caption += "📝 *Fɪʟᴇ Nᴀᴍᴇ:* `" + doc.file_name + "`\n";
  caption += "🛍️ *Fɪʟᴇ Sɪᴢᴇ:* " + (doc.file_size / 1024).toFixed(2) + " KB\n";

  Api.sendDocument({
    document: doc.file_id,
    caption: caption,
    parse_mode: "Markdown"
  });
}

else {
  Bot.sendMessage("⚠️ *Unsupported file type detected!*", { parse_mode: "Markdown" });
}
Cʀᴇᴀᴅɪᴛ ❥ @Jack_Agnt

Tᴇxᴛ ᴛᴏ Sᴘᴇᴇᴄʜ (TTS)Aᴅᴠᴀɴᴄᴇᴅ Vᴏɪᴄᴇ Aᴘɪ🌈 Cᴏᴍᴍᴀɴᴅ: /tts 🌟 Aɴꜱᴡᴇʀ: Send me your text to convert it into voice audio! ✅ Wᴀɪᴛ ꜰᴏʀ Aɴꜱᴡᴇʀ: ✅ 🔮 Bᴊꜱ Cᴏᴅᴇ:
let message = request.text;
let lang = "hi"; 
let ttsUrl = `https://translate.google.com/translate_tts?ie=UTF-8&q=${encodeURIComponent(message)}&tl=${lang}&client=gtx`;

Api.sendVoice({ voice: ttsUrl, caption: "🌟 Here is Your 🎧 Text To Speech Audio" });
Tᴇxᴛ ᴛᴏ Sᴘᴇᴇᴄʜ (TTS) 🌈 Cᴏᴍᴍᴀɴᴅ: /tts 🌟 Aɴꜱᴡᴇʀ: Send me your text to convert it into voice audio! ✅ Wᴀɪᴛ ꜰᴏʀ Aɴꜱᴡᴇʀ: ✅ 🔮 Bᴊꜱ Cᴏᴅᴇ:
let text = encodeURIComponent(message);
let url = "https://api.streamelements.com/kappa/v2/speech?voice=Brian&text=" + text;
Api.sendVoice({ voice: url, caption: "🎧 TTS Audio" });
Cʀᴇᴀᴅɪᴛ ❥ @Jack_Agnt

Gᴇɴᴇʀᴀᴛᴇ Qʀ Cᴏᴅᴇ ꜰʀᴏᴍ Tᴇxᴛ / Uʀʟ 🌈 Cᴏᴍᴍᴀɴᴅ: /qr 🔮 Bᴊꜱ:
Bot.sendMessage("*Sᴇɴᴅ ᴀɴʏ ᴛᴇxᴛ / ᴜʀʟ ᴛᴏ ɢᴇɴᴇʀᴀᴛᴇ ɪᴛꜱ Qʀ Cᴏᴅᴇ.*", { parse_mode: "Markdown" });
Bot.runCommand("/getQR");
🌈 Cᴏᴍᴍᴀɴᴅ: /getQR ✅ Wᴀɪᴛ ꜰᴏʀ Aɴꜱᴡᴇʀ: ✅ 🔮 Bᴊꜱ:
let text = message;
let url = "https://api.qrserver.com/v1/create-qr-code/?data=" + encodeURIComponent(text) + "&size=300x300";
Api.sendPhoto({ photo: url, caption: "✅ *Qʀ Cᴏᴅᴇ Gᴇɴᴇʀᴀᴛᴇᴅ!*", parse_mode: "Markdown" });
Cʀᴇᴀᴅɪᴛ ❥ @Jack_Agnt

🌟 Tɪᴍᴇ & Dᴀᴛᴇ Cᴏᴍᴍᴀɴᴅ – Gᴇᴛ Cᴜʀʀᴇɴᴛ Tɪᴍᴇ 🌈 Cᴏᴍᴍᴀɴᴅ: /time 🔮 Bᴊꜱ:
let date = new Date();
Bot.sendMessage(
  "🕒 *Cᴜʀʀᴇɴᴛ Dᴀᴛᴇ & Tɪᴍᴇ:*\n\n" +
  "📅 *Dᴀᴛᴇ:* " + date.toDateString() + "\n" +
  "⏰ *Tɪᴍᴇ:* " + date.toLocaleTimeString(),
  { parse_mode: "Markdown" }
);
Cʀᴇᴀᴅɪᴛ ❥ @Jack_Agnt

🩷 Sᴛᴀʀᴛ & Wᴇʟᴄᴏᴍᴇ Tᴇxᴛ Cᴏᴍᴍᴀɴᴅ 🌈 Cᴏᴍᴍᴀɴᴅ: /start 🔮 Bᴊꜱ:
Api.sendMessage({
  chat_id: user.telegramid,
  text: "🌟 *Wᴇʟᴄᴏᴍᴇ, " + user.first_name + "!*\n\n🩷 Tʜɪꜱ ʙᴏᴛ ɪꜱ ʀᴇᴀᴅʏ ᴛᴏ ʜᴇʟᴘ ʏᴏᴜ.\n🌈 Uꜱᴇ /help ᴛᴏ ᴠɪᴇᴡ ᴀʟʟ ᴄᴏᴍᴍᴀɴᴅꜱ.",
  parse_mode: "Markdown"
});
Cʀᴇᴀᴅɪᴛ ❥ @Jack_Agnt

╭────────────────────╮       𝗕𝗼𝘁𝘀.𝗕𝘂𝘀𝗶𝗻𝗲𝘀𝘀 𝗕𝗝𝗦 𝗖𝗼𝗱𝗲𝘀 ╰────────────────────╯ ╭─▣ 𝙒𝙃𝘼𝙏 𝙄𝙎 𝙏𝙃𝙄𝙎? ┊▎This channel is your gateway to premium  ┊▎𝘽𝙊𝙏𝙎.𝘽𝙐𝙎𝙄𝙉𝙀𝙎𝙎 JavaScript (BJS) Scripts & UI Packs. ╭─▣ 𝙒𝙃𝘼𝙏 𝘿𝙊 𝙔𝙊𝙐 𝙂𝙀𝙏? ┊▎➺ Ready-to-use Bot Scripts  ┊▎➺ Beautiful Inline UI Templates  ┊▎➺ Contest-Optimized Flows  ┊▎➺ Clean & Efficient BJS Code  ┊▎➺ Fully Unicode-Styled Layouts  ┊▎➺ Customize Website And Scripts ╭─▣ 𝙃𝙊𝙒 𝙏𝙊 𝙐𝙎𝙀? ┊▎Just copy, paste, and deploy inside  ┊▎your Bots.Business bot dashboard. ╭─▣ 𝙎𝙏𝘼𝙍𝙏 𝙀𝙓𝙋𝙇𝙊𝙍𝙄𝙉𝙂! ┊▎Check pinned posts for script drops  ┊▎& message templates.  ╰➤ 𝐔𝐩𝐝𝐚𝐭𝐞𝐬 ⋅ 𝐃𝐫𝐨𝐩𝐬 ⋅ 𝐈𝐝𝐞𝐚𝐬 ⋅ 𝐓𝐢𝐩𝐬