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

javascript ยท 69 lines

Raw
1/**#command2name: /othertasks3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12let tasks = await db.bot.get("tasks", []);13 14if (!Array.isArray(tasks)) {15  tasks = [];16}17 18let activeTasks = tasks.filter(function(task) {19  return task.status === "active";20});21 22if (activeTasks.length === 0) {23  return Bot.sendMessage(24    "๐Ÿ“‹ ๐™Š๐™๐™ƒ๐™€๐™ ๐™๐˜ผ๐™Ž๐™†๐™Ž\n\n" +25    "โŒ Abhi koi task nahi hai.\n\n" +26    "๐Ÿ“ง Aap Gmail submit karke โ‚น10 reward earn kar sakte hain."27  );28}29 30Bot.sendMessage(31  "๐Ÿ“‹ ๐™Š๐™๐™ƒ๐™€๐™ ๐™๐˜ผ๐™Ž๐™†๐™Ž\n\n" +32  "๐ŸŽฏ Available Tasks: " + activeTasks.length33);34 35for (let task of activeTasks) {36 37  let buttons = [];38 39  if (task.link && String(task.link).trim() !== "") {40    buttons.push([41      {42        text: "๐Ÿ”— Open Task",43        url: String(task.link).trim()44      }45    ]);46  }47 48  buttons.push([49    {50      text: "โœ… Complete & Submit",51      callback_data: "user_task_submit " + task.id52    }53  ]);54 55  await Api.sendMessage({56    chat_id: user.id,57    text:58      "๐ŸŽฏ ๐™๐˜ผ๐™Ž๐™†\n\n" +59      "๐Ÿ†” Task ID: " + task.id +60      "\n๐Ÿ“ " + task.title +61      "\n\n๐Ÿ“„ " + task.description +62      "\n\n๐Ÿ’ฐ Reward: โ‚น" +63      Number(task.reward || 0).toFixed(2),64 65    reply_markup: {66      inline_keyboard: buttons67    }68  });69}