Tishka17 / tgbot_template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal telegram bot example

This is trivial bot example. Each part can be replaced keeping the overall structure the same

How to start

  1. Edit code in a correspoing way

  2. Upadte pip and setuptools packages

pip install -U setuptools pip 
  1. Install bot
pip install .

For development install it via command

pip install -e .[test,lint]
  1. Create and fill bot.ini file (example)

  2. Start bot to check

tgbot
  1. Edit systemd service file and copy it to a proper location

About


Languages

Language:Python 100.0%