:>
Reactor is a user-bot that helps you discover the most popular memes and posts from any chat or channel. It tracks how many people react or reply to each message and sends the ones that reach a certain threshold to your channel. You can set the threshold and choose whether to use emoji or reply counts as criteria. With Reactor, you’ll never miss a viral meme again!
- Monitor any chat or channel for reactions
- Forward messages with enough replies/reactions to your channel
- Customize the threshold for forwarding messages
- Use emoji reactions or reply counts as criteria
To install Reactor, you need to have Go installed on your system. Then, follow these steps:
- Clone this repository:
git clone https://github.com/sleroq/reactor.git
- Change directory to the project folder:
cd reactor
- Create configuration file:
cp scripts/env.bash.example scripts/env.bash
- Start the bot:
./scripts/run.bash
Before running the bot, you need to create a configuration file named scripts/env.bash
in scripts
folder as the executable. The configuration file should have the following variables:
export REACTOR_PHONE=""
export REACTOR_APP_ID=""
export REACTOR_APP_HASH=""
export REACTOR_SESSION_DIR=./session
export REACTOR_CHAT_IDS="123123,23123"
export REACTOR_CHANNEL_ID=""
export REACTOR_CHANNEL_ACCESS_HASH=""
You can obtain your Telegram API ID and API hash from here. You can get your Telegram chat/channel ID by from updates or by using other bots.
- How to not get banned?
-
How to change forward thresholds?
export REACTOR_TEXT_THRESHOLD=31 export REACTOR_PHOTO_THRESHOLD=23 export REACTOR_FORWARD_THRESHOLD=23
-
Don't remove author for some channels/users
export REACTOR_NOQUOTE_WHITELIST="123123,233424"
This project is licensed under the GPL-3.0-or-later - see the LICENSE file for details.