manafzz147/AlphaXShen_botPublic · Bot Template
AIAlphaXShen_bot appears to be a Telegram automation bot. Commands include /start, /.menu, /.test, /.tagall, /.p, /.admin. Observed in code: messaging, storage.
Utilityutility
6 commands0 envUpdated 15h agoCreated Sep 4, 2026
commands/.p.js
javascript · 42 lines
1/**#command2name: .p3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if (chat.id > 0) {13 return;14}15 16let key = "members_" + chat.id;17let list = await db.bot.get(key);18 19if (!list) {20 list = [];21}22 23let userId = message.from.id;24let userName = message.from.first_name || "Member";25let found = false;26 27for (let i = 0; i < list.length; i++) {28 if (list[i].id == userId) {29 list[i].name = userName;30 found = true;31 break;32 }33}34 35if (!found) {36 list.push({37 id: userId,38 name: userName39 });40}41 42await db.bot.set(key, list);