A Telegram bot that sends reactions based on regex patterns defined in JSON configuration.
- CONTRIBUTING.md - developer documentation
- REACTIONS.md - detailed configuration documentation
- The bot must have permissions to use reactions in groups
- The bot must be an administrator in the group
The bot can send several types of emoji reactions in response to different events in Telegram chats:
- Sends various reactions based on regex patterns defined in the configuration
- Can use different reactions during holidays and special events
- Supports multiple regex patterns and random selection from multiple emojis
- Updates reactions on edited messages: when a message is edited, the bot removes the previous reaction and applies a new one based on the updated text
-
Sends 🎉 (Party) reaction when:
- A new member joins the group
- Group photo is updated
- Group title is changed
-
Sends 😭 (Crying) reaction when:
- A member leaves the group
- Group photo is deleted
- Sends 👀 (Eyes) reaction when a message is pinned
- Sends 🏆 (Trophy) reaction when a dice roll results in a winning value (6)
- Sends 💩 (Poop) reaction when:
- Voice messages are shared
- Video notes (round videos) are shared
docker pull ghcr.io/fromsi/tg_reaction:latest
docker run --rm \
-e APP_TELEGRAM_TOKEN="your_bot_token" \
ghcr.io/fromsi/tg_reaction:latest- APP_TELEGRAM_TOKEN - your Telegram bot token