Description

This is telegram bot for cloudnet.

Configuration

Environment variables

  • TGBOT_API_TOKEN
  • TGBOT_MODEL_PATH
  • TGBOT_METRICS_PORT
  • TGBOT_METRICS_HOST

Development

Setup

python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt

Run

env $(cat .env | xargs) ./service.py