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.
8 commands0 envUpdated 14h agoCreated Jun 7, 2026
commands/_help.js
javascript · 66 lines · click line # to share
1/**#command2name: /help3answer: 4keyboard: 5parse_mode: 6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12if (chat.type != "private") return;13 14let text = `15<b>Keyword React Bot – Help Guide</b>16 17<b>What this bot does</b>18This bot automatically replies in groups when a message contains a configured keyword.19 20Replies can be text, stickers, GIFs, photos, videos, or other media.21 22<b>Who can manage the bot</b>23Only group admins can add, remove, or manage keywords.24 25<b>How to add a reply</b>261. Reply to any text or media message.272. Send: <code>/add keyword</code>283. The keyword is now active.29 30<b>Managing keywords</b>31 32<code>/remove keyword</code> — Remove a keyword33<code>/list</code> — Show all keywords34<code>/removeall</code> — Remove all keywords35 36<b>Important Notes</b>37 38• Works only in groups39• One reply per message40• Respects cooldowns to avoid spam41 42If you need more help, check the examples in your group.43`;44 45let inlineKeyboard = {46 inline_keyboard: [47 [{48 text: "⬅️ Back",49 callback_data: "/start"50 }]51 ]52};53 54if (request.data) {55 Api.editMessageText({56 message_id: request.message.message_id,57 text: text,58 parse_mode: "HTML",59 reply_markup: inlineKeyboard60 });61} else {62 msg.reply(text, {63 parse_mode: "HTML",64 reply_markup: inlineKeyboard65 });66}