To download this code from GitHub, open a terminal and run the following commands:
git clone https://github.com/TokenRR/Telegram_bot_Library.git
cd Telegram_bot_Library
Create a virtual environment and install dependencies:
python -m venv venv
source venv/bin/activate # For Windows, use venv\Scripts\activate
pip install -r requirements.txt
Open the config.py
file and change the bot token to your own:
TOKEN='your-token-here'
To start the program, execute the following command:
python main.py