soumyadeep/ReactItBotPublic · Bot Template

A Telegram bot that automatically replies to keywords with text or media in groups. Easy to set up and perfect for FAQs, community management, and automated responses.

ProfileTelegram
8 commands0 envUpdated 14h agoCreated Jun 7, 2026
Back to folder

commands/_list.js

javascript · 50 lines · click line # to share

1/**#command2name: /list3answer: 4keyboard: 5parse_mode: 6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if(chat.type == "private") return;13 14if(!(await isAdmin())){15  Api.sendMessage({16    text: "Admin only",17    reply_to_message_id: msg.message_id18  });19  return;20}21 22let filters = Bot.get("filters_" + chat.id) || {};23 24let keys = Object.keys(filters);25 26if(keys.length === 0){27  Api.sendMessage({28    text: "No filters found.",29    reply_to_message_id: msg.message_id30  });31  return;32}33 34let text = `Filters in ${chat.title}\n\n`;35 36for(let key of keys){37 38  let filter = filters[key];39 40  text += `- ${key} (${filter.type})\n`;41 42}43 44text += `\nTotal: ${keys.length}`;45 46Api.sendMessage({47  text: text,48  disable_web_page_preview: true,49  reply_to_message_id: msg.message_id50});