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/_profile.js
javascript ยท 145 lines
1/**#command2name: /profile3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12// ===============================13// ๐ค MY PROFILE14// ===============================15 16let userId = Number(user.id);17 18// Balance19let balance = Number(20 await db.user.get("balance", 0)21) || 0;22 23// Tasks Completed24let completed = Number(25 await db.user.get(26 "tasks_completed",27 0,28 { user_id: userId }29 )30) || 0;31 32// ===============================33// ๐ค GMAIL SUBMISSIONS34// ===============================35 36let submissions = await db.bot.get("submissions", []);37 38if (!Array.isArray(submissions)) {39 submissions = [];40}41 42// Pending Gmail submissions43let pendingTasks = submissions.filter(function(s) {44 return Number(s.user_id) === userId &&45 s.status === "pending";46}).length;47 48// Rejected Gmail submissions49let rejectedTasks = submissions.filter(function(s) {50 return Number(s.user_id) === userId &&51 s.status === "rejected";52}).length;53 54// ===============================55// ๐ธ WITHDRAWALS56// ===============================57 58let withdrawals = await db.bot.get(59 "withdrawal_requests",60 []61);62 63if (!Array.isArray(withdrawals)) {64 withdrawals = [];65}66 67// Pending withdrawal amount68let pendingWithdrawals = 0;69 70for (let w of withdrawals) {71 if (72 Number(w.user_id) === userId &&73 w.status === "pending"74 ) {75 pendingWithdrawals += Number(w.amount) || 0;76 }77}78 79// Total approved withdrawals80let totalWithdrawn = 0;81 82for (let w of withdrawals) {83 if (84 Number(w.user_id) === userId &&85 w.status === "approved"86 ) {87 totalWithdrawn += Number(w.amount) || 0;88 }89}90 91// ===============================92// ๐ค USERNAME93// ===============================94 95let username = user.username96 ? "@" + user.username97 : "Not Set";98 99// ===============================100// ๐
JOINED DATE101// ===============================102 103let joinedDate = await db.user.get(104 "joined_date",105 ""106);107 108let joinedText = "Not Available";109 110if (joinedDate) {111 let d = new Date(joinedDate);112 113 joinedText =114 d.getDate() + " " +115 d.toLocaleString("en-US", {116 month: "short"117 }) + " " +118 d.getFullYear();119}120 121// ===============================122// ๐ PROFILE123// ===============================124 125Bot.sendMessage(126 "๐ค ๐๐ ๐๐๐๐๐๐๐\n\n" +127 128 "๐ User ID: " + userId +129 "\n๐ค Username: " + username +130 131 "\n\n๐ฐ ๐๐๐๐ผ๐ ๐๐๐๐๐: โน" +132 balance.toFixed(2) +133 134 "\n\n๐ฏ Tasks Completed: " + completed +135 "\nโณ Tasks Pending: " + pendingTasks +136 "\nโ Tasks Rejected: " + rejectedTasks +137 138 "\n\n๐ธ Pending Withdrawals: โน" +139 pendingWithdrawals.toFixed(2) +140 141 "\nโ
Total Withdrawn: โน" +142 totalWithdrawn.toFixed(2) +143 144 "\n\n๐
Joined: " + joinedText145);