Skip to content

Bot to demonstrate Telegram reactions for bot profiles.

Notifications You must be signed in to change notification settings

Moviesuploader/TG-ReactionBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Reaction Bot

An open-source Python Telegram bot that reacts to every message.

Demo Bot

📑 INDEX

⚙️ 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.

About

Bot to demonstrate Telegram reactions for bot profiles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.0%
  • Dockerfile 2.5%
  • Procfile 0.5%