/Telegram_bot_Library

Telegram bot for an online library. Sending, storing books

Primary LanguagePythonMIT LicenseMIT

Telegram bot for for an online library

Cloning a repository

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

Installing dependencies

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

Setting up the configuration

Open the config.py file and change the bot token to your own:

TOKEN='your-token-here'

Start program

To start the program, execute the following command:

python main.py