A modern, open-source, and developer-friendly Telegram bot designed to bring conversations to life through automated emoji reactions with a focus on performance, flexibility, and ease of deployment.
โก Fast โข ๐จ Flexible โข ๐ Self-Hosted
- ๐ธ Overview
- โจ Features
- ๐ฅ Quick Start
- โ๏ธ Configuration
- ๐ค Commands
- ๐ Deployment
- ๐ค Contributing
- ๐ License
- ๐ฌ Updates & Support
- ๐ Credits
- ๐จโ๐ป Connect With Me
Auto Reaction Bot is a modern, open-source Telegram bot built to automatically react to messages across private chats, groups, and channels. Designed with flexibility, performance, and ease of use in mind, it provides a clean and developer-friendly solution for creating more engaging conversations through customizable emoji reactions.
๐ก Simple to deploy, easy to customize, and built for reliable long-term use.
- โก Boost Engagement โ Keep conversations active with automatic emoji reactions.
- ๐จ Highly Customizable โ Configure reaction emojis and behavior for every chat.
- ๐ Deploy Anywhere โ Run seamlessly on Cloudflare, Vercel, Docker, Railway, Render, VPS, and more.
- ๐ง Developer Friendly โ Clean, well-structured codebase that's easy to customize and extend.
- ๐ฉ Message Is Received โ The bot detects new messages from private chats, groups, or channels.
- โ๏ธ Rules Are Evaluated โ It checks chat settings, reaction configuration, permissions, and randomization.
- ๐ Reaction Is Added โ A suitable emoji reaction is applied automatically based on your configuration.
- ๐ Conversations Stay Engaging โ Chats remain interactive and lively without manual effort.
- ๐ค Automatic Reactions โ React to messages across private chats, groups, and channels.
- ๐จ Fully Customizable โ Configure emojis, random levels, and chat-specific reaction settings.
- ๐ฅ Multi-Bot Support โ Run multiple bots from a single deployment with independent configurations.
- ๐ Community Management โ Force Subscribe, Welcome/Goodbye messages, and chat controls.
- ๐ Monitoring & Analytics โ Live statistics, reaction logs, and chat activity insights.
- ๐ข Broadcast & Administration โ Broadcast messages and manage chats with powerful owner controls.
- ๐ก๏ธ Secure by Design โ Webhook validation, rate limiting, and permission-based access.
- ๐ธ Rich User Experience โ Interactive menus, photo messages, and inline buttons.
- โ๏ธ Developer Friendly โ Clean, modular, and easy-to-customize source code.
New to this project?
Watch this short video to understand what the bot is, why it's useful, how it works, explore its key features, and learn the required configuration before deployment.
๐บ Watch on YouTube: Project Overview
| Variable | Description |
|---|---|
BOT_TOKEN |
Telegram Bot Token |
BOT_USERNAME |
Telegram Bot Username |
BOT_TOKENS |
Multi-Bot Configuration |
EMOJI_LIST |
Default Reaction Emojis |
RANDOM_LEVEL |
Default Reaction Randomness |
OWNER_ID |
Telegram User ID |
FORCE_SUBSCRIBE_CHANNELS |
Force Subscribe Channels |
RESTRICTED_CHATS |
Restricted Chat IDs |
BOT_PHOTO |
Bot Photo |
WEBHOOK_SECRET |
Webhook Secret Token |
UPSTASH_REDIS_REST_URL |
Upstash Redis URL (Optional) |
UPSTASH_REDIS_REST_TOKEN |
Upstash Redis Token (Optional) |
PORT |
Server Port |
๐ค Multi-Bot Support Use
BOT_TOKEN+BOT_USERNAMEfor a single bot, orBOT_TOKENSfor multiple bots.Format:
BOT_TOKENS=token1:BotOne,token2:BotTwo
๐ฒ Random Level Accepts values from 0โ10.
0โ Always react5โ Balanced (Recommended)10โ Very rare reactions
๐ Force Subscribe Supports multiple channels. Use @username for public channels and the private channel ID for private channels.
Format:
FORCE_SUBSCRIBE_CHANNELS=@PublicChannel,-1001234567890
๐พ Persistent Storage Configure
UPSTASH_REDIS_REST_URLandUPSTASH_REDIS_REST_TOKENfor persistent storage.๐ Create a free database: https://console.upstash.com
๐ก๏ธ Webhook Secret If
WEBHOOK_SECRETis not set, a secure secret is generated automatically.
- ๐ Telegram API ID & API Hash โ Watch Tutorial
- ๐ค Bot Token โ Watch Tutorial
๐ค User Commands
/start - Start the bot and view the main menu.
/help - Display all available commands.
/about - Learn more about the project.
/ping - Check the bot's response time.
/stats - View bot statistics.
/reactions - View configured reaction emojis.
/donate - Support the development of the project.
๐ฅ Chat Admin Commands
/pause - Pause reactions in the current chat.
/resume - Resume reactions in the current chat.
/welcome - Configure welcome messages.
/goodbye - Configure goodbye messages.
/setreactions - Configure reaction emojis.
/randomlevel - Set the reaction frequency.
๐ Owner Commands
/log - View recent logs.
/chats - View connected chats.
/leave - Remove the bot from a chat.
/restrict - Restrict a chat.
/unrestrict - Remove chat restrictions.
/broadcast - Broadcast messages.
/setwebhook - Configure the webhook.
Deploy Auto Reaction Bot on Cloudflare Workers or Vercel using the official one-click deployment buttons below.
Tip
Ensure your deployment is live before configuring the webhook.
Open the URL below after replacing the placeholders with your own values.
https://api.telegram.org/bot<BOT_TOKEN>/setWebhook?url=<DEPLOYMENT_URL>&secret_token=<WEBHOOK_SECRET>
Example
https://api.telegram.org/bot1234567890:ABCDEF/setWebhook?url=https://mybot.workers.dev&secret_token=123
If you're using BOT_TOKENS, open the endpoint below after deployment.
https://your-domain.com/set-webhooks
Example
https://mybot.workers.dev/set-webhooks
Each bot automatically receives its own webhook endpoint.
https://mybot.workers.dev/bot/AutoReactionBot
https://mybot.workers.dev/bot/MySecondBot
Contributions are always appreciated! โค๏ธ
| ๐ Report Bugs | ๐ก Suggest Features | ๐ Submit PRs |
|---|---|---|
| Found an issue? | Have an idea? | Ready to contribute? |
| Open Issue | Open Discussion | Fork & Submit |
Important
Before opening an issue, please ensure you're using the latest version and have followed the deployment guide.
Warning
This project is intended strictly for educational purposes only. The author is not responsible for any misuse or abuse. Please comply with all applicable laws and the terms of any third-party services. If you modify or redistribute this project, please provide proper credit to the original repository.
See the LICENSE file for complete details.
This repository is based on the original work of the following developers:
- Original Developer: Shinei Nouzen
- Inspired by: Auto-Reaction-Bot by Malith Rukshan
Note
This repository is maintained by TechifyBots, with improvements to the project presentation and user experience.