Telegram Bot Manager (TBM) is a Python project designed to simplify the management of multiple Telegram bots. This project allows you to run, monitor, and control several Telegram bots from a centralized platform, making it easier to manage various tasks and interactions across multiple chat groups or channels.
- Clone the repository:
git clone https://github.com/Jaldsky/TelegramBotManager.git
- Create a virtual environment (recommended):
python -m venv venv
- Activate the virtual environment (recommended):
venv\Scripts\activate
- Install the project dependencies from the requirements.txt file:
pip install -r requirements.txt
- Fill sensitive data at app/config.ini
- Start the Telegram Bot Manager:
python main.py
- Pull the Docker ubi8-minimal image:
docker pull redhat/ubi8-minimal
- Create a directory
mkdir tbm && cd tbm
- Create a configuration file next to the project folder. The template for filling out the file can be found here app/config.ini.
- Build Docker tbm image:
docker build -f TelegramBotManager/external/image.Dockerfile -t telegram-bot-manager .
- Run container
docker run -d telegram-bot-manager bash -c "python3 main.py"
We welcome contributions to this project. Feel free to fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License.