Skip to content

Telegram bot for tracking rating on rating.chgk.info

Notifications You must be signed in to change notification settings

iley/rating-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published