An open-source Python Telegram bot that reacts to every message.
1.Install Python & Git:
For Windows:
winget install Python.Python.3.12
winget install Git.Git
For Linux:
sudo apt-get update && sudo apt-get install -y python3.11 git pip
For macOS:
brew install [email protected] git
For Termux:
pkg install python -y
pkg install git -y
2.Download repository:
git clone https://github.com/TheCaduceus/TG-ReactionBot.git
3.Change Directory:
cd TG-ReactionBot
4.Install requirements:
pip install -r requirements.txt
The variables provided below should either be completed within the [config.py](https://github.com/ Harshitgupta0001/TG-ReactioonBot/blob/main/bot/config.py) file or configured as environment variables.
API_ID
|TG_API_ID
: API ID of your Telegram account, can be obtained from My Telegram.int
API_HASH
|TG_API_HASH
: API hash of your Telegram account, can be obtained from My Telegram.str
BOT_TOKEN
|TG_BOT_TOKEN
: Telegram API token of your bot, can be obtained from @BotFather.str
BOT_USERNAME
|TG_BOT_USERNAME
: Username of your Telegram bot without '@'.EMOJIS
: List of emojis that you'd like bot to use.
1.Running locally:
python -m bot
2.Using Docker: (Recommended)
- Build own Docker image:
docker build -t reaction-bot .
- Run the Docker container:
docker run reaction-bot
- Ask questions or doubts here.
[Dr.Caduceus](https://github.com/ Harshitgupta0001): Owner & developer of TG Reaction Bot.