vaibhav12222vk/taskXmoneybotPublic ยท Bot Template
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
commands/_submission.js
javascript ยท 117 lines
1/**#command2name: /submission3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12const OWNER_ID = 8888300020;13 14// ๐ Admin Access15let admins = await db.bot.get("admins", []);16 17if (!Array.isArray(admins)) {18 admins = [];19}20 21let isAdmin =22 user.id == OWNER_ID ||23 admins.some(function(id) {24 return Number(id) == Number(user.id);25 });26 27if (!isAdmin) {28 return Bot.sendMessage("โ Access Denied!");29}30 31// ๐ค Get Submissions32let submissions = await db.bot.get("submissions", []);33 34if (!Array.isArray(submissions)) {35 submissions = [];36}37 38let pending = submissions.filter(function(s) {39 return s.status === "pending";40});41 42if (pending.length === 0) {43 return Bot.sendMessage(44 "๐ค ๐๐๐ฝ๐๐๐๐๐๐๐๐\n\n" +45 "โ
Koi pending submission nahi hai."46 );47}48 49// ๐ Show Pending Submissions50for (let s of pending) {51 52 if (s.type === "custom_task") {53 54 await Api.sendMessage({55 chat_id: user.id,56 57 text:58 "๐ฏ ๐พ๐๐๐๐๐ ๐๐ผ๐๐ ๐๐๐ฝ๐๐๐๐๐๐๐\n\n" +59 "๐ Request ID: " + s.id +60 "\n๐ Task ID: " + s.task_id +61 "\n๐ Task: " + s.task_title +62 "\n๐ค User ID: " + s.user_id +63 "\n๐ค Username: " + s.username +64 "\n\n๐ค Proof:\n" + s.proof +65 "\n\n๐ฐ Reward: โน" +66 Number(s.reward || 0).toFixed(2) +67 "\n\nโณ Status: Pending",68 69 reply_markup: {70 inline_keyboard: [[71 {72 text: "โ
Approve",73 callback_data: "task_approve " + s.id74 },75 {76 text: "โ Reject",77 callback_data: "task_reject " + s.id78 }79 ]]80 }81 });82 83 } else {84 85 await Api.sendMessage({86 chat_id: user.id,87 88 text:89 "๐ง ๐๐๐ผ๐๐ ๐๐๐ฝ๐๐๐๐๐๐๐\n\n" +90 "๐ Request ID: " + s.id +91 "\n๐ค User ID: " + s.user_id +92 "\n๐ค Username: " + s.username +93 "\n๐ฉ Gmail: " + s.gmail +94 "\n๐ Test Code: " + s.test_code +95 "\n๐ Reward: โน10.00" +96 "\n\nโณ Status: Pending",97 98 reply_markup: {99 inline_keyboard: [[100 {101 text: "โ
Approve",102 callback_data: "gm_approve " + s.id103 },104 {105 text: "โ Reject",106 callback_data: "gm_reject " + s.id107 }108 ]]109 }110 });111 }112}113 114Bot.sendMessage(115 "๐ค " + pending.length +116 " pending submission(s) shown above."117);