BADSHA/Badsha_support_botPublic · Bot Template
AIThis bot automatically reacts to incoming messages in groups by picking a random emoji from a large list of supported Telegram reactions and applying it with Api.setMessageReaction. It also handles /start in private chats with a welcome message that encourages users to add the bot to groups. The implementation is simple TBL using built-in Api methods for reactions and messages.
Entertainmentauto-reactionemojireactionstelegram-botgroup-chatwelcome
2 commands0 envUpdated 8d agoCreated Aug 30, 2026
commands/__.js
javascript · 32 lines
1/**#command2name: /*3answer: WELCOME TO BADSHA BOT4keyboard: BACK5parse_mode: html6aliases: 7allow_only_group: true8need_reply: true9is_web: 110#command**/11 12// Only valid Telegram reaction emojis13const validEmojis = ["👍","👎","❤","🔥","🥰","👏","😁","🤔","🤯","😱","🤬","😢","🎉","🤩","🤮","💩","🙏","👌","🕊","🤡","🥱","🥴","😍","🐳","🌚","🌭","💯","🤣","⚡","🍌","🏆","💔","🤨","😐","🍓","🍾","💋","🖕","😈","😴","😭","🤓","👻","👀","🎃","🙈","😇","😨","🤝","✍","🤗","🫡","🎅","🎄","☃","💅","🤪","🗿","🆒","💘","🙉","🦄","😘","💊","🙊","😎","👾","🤷","🤷♀","😡"];14 15// Pick a random valid emoji16const doEmoji = validEmojis[Math.floor(Math.random() * validEmojis.length)];17 18// Prepare reaction JSON19const reaction = JSON.stringify([20 {21 type: "emoji",22 emoji: doEmoji,23 is_big: true24 }25]);26 27// Send the reaction28Api.setMessageReaction({29 chat_id: chat.id,30 message_id: request.message_id,31 reaction: reaction32});