Skip to content

Tishka17/tgbot_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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