Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

CHGK rating bot for Telegram

Development

  1. Create a virtualenv using Python 3
python3 -m venv ~/venv
source ~/venv/bin/activate

You'll need to re-activate the virtualenv each time you open a new shell. Run source ~/venv/bin/activate again. The shell prompt should indicate the environment name e.g. (venv) user@host $.

  1. Install dependencies
pip install -r requirements.txt
  1. Register a Telegram bot for testing using BotFather. See Creating a new bot section in the Telegram documentation. Make note of the API token.

  2. Run the bot locally

python -m rating_bot -v --token YOUR-TOKEN-HERE

Alternatively you can skip step 1 and use the system-wide python. In such case run python3 and pip3.

About

Telegram bot for tracking rating on rating.chgk.info

Resources

Releases

No releases published

Packages

No packages published