TG-ReactionBot
TG-ReactionBot copied to clipboard
Bot to demonstrate Telegram reactions for bot profiles.
Telegram Reaction Bot
An open-source Python Telegram bot that reacts to every message.📑 INDEX
-
⚙️ Installation
- Python & Git
- Download
- Requirements
- 📝 Variables
-
🕹 Deployment
- Locally
- Docker
- ⛑️ Need help!
- ❤️ Credits & Thanks
⚙️ Installation
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
📝 Variables
The variables provided below should either be completed within the 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.
🕹 Deployment
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
⛑️ Need help!
- Ask questions or doubts here.
❤️ Credits & Thanks
Dr.Caduceus: Owner & developer of TG Reaction Bot.