Telegram bot for conducting a survey and compiling a portrait of the audience.
The application requires the telebot library and others
A complete list of dependencies can be found in the requirements.txt file.
Installing all dependencies:
pip install -r requirements
The configuration file is config.py
In the file you must specify the access token received from the bot father and the ID of the administrator
The config.py file should look like this:
TOKEN_API = 'your token'
ADMIN = 00000000
You need to specify your questions in the file questions.py
You can also change the bot's default responses in the [texts.py] file (survey/texts.py)
Run the script:
python main.py
Build a docker image:
docker build -t pool_bot .
Running the docker container:
docker run -d --name bot pool_bot