vaibhav12222vk/taskXmoneybotPublic ยท Bot Template

ProfileTelegram

AI๐Ÿ’Žโšก ๐™ˆ๐™ค๐™ฃ๐™š๐™ฎ๐™๐™–๐™จ๐™  โšก๐Ÿ’Ž appears to be a Telegram automation bot. Commands include /start, /admin, /adminback, /profile, /helpandsupport, /broadcast, /finduser, /contactuser. Observed in code: messaging, storage, keyboards, web.

Utilityutility
51 commands0 envUpdated 6d agoCreated Sep 16, 2026
Back to folder

commands/_add_task_link.js

javascript ยท 47 lines

Raw
1/**#command2name: /add_task_link3answer: ๐Ÿ”— ๐˜ผ๐˜ฟ๐˜ฟ ๐™๐˜ผ๐™Ž๐™†4 5๐Ÿ”— Task ka link bhejiye.6 7Agar link nahi hai to Skip dabayein.8keyboard: โญ๏ธ ๐™Ž๐™†๐™„๐™‹9parse_mode: markdown10aliases: 11allow_only_group: false12need_reply: true13is_web: 014#command**/15 16const OWNER_ID = 8888300020;17 18let admins = await db.bot.get("admins", []);19 20if (!Array.isArray(admins)) {21  admins = [];22}23 24let isAdmin =25  user.id == OWNER_ID ||26  admins.some(function(id) {27    return Number(id) == Number(user.id);28  });29 30if (!isAdmin) {31  return Bot.sendMessage("โŒ Access Denied!");32}33 34let link = String(message).trim();35 36if (link === "โญ๏ธ ๐™Ž๐™†๐™„๐™‹") {37  await db.bot.set("new_task_link", "");38  Bot.runCommand("/add_task_description");39  return;40}41 42if (!/^https?:\/\/\S+$/i.test(link)) {43  return Bot.sendMessage("โŒ Valid link bhejiye ya โญ๏ธ ๐™Ž๐™†๐™„๐™‹ dabayein.");44}45 46await db.bot.set("new_task_link", link);47Bot.runCommand("/add_task_description");