Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.04 KB

OLD.md

File metadata and controls

25 lines (20 loc) · 1.04 KB

OLD

saiscrapperbot

Bot Functions (so far):

  1. Notifies with a message whenever ratings are changed in codeforces RatingChange
  2. Fetches your leaderboard details form stopstalk StopStalk

Available commands: (based on the url specified)

  1. All -> Fetches leaderboard details of top 75
  2. Any rank -> Gets details at rank specified
  3. username -> fetches details from username
  4. Full Name -> fetches details from Full Name

Usage:

  1. Go to BotFather in telegram and create a bot
  2. Above step will give you an api token
  3. Clone this repository to a folder git clone https://github.com/sainad2222/saiscrapperbot.git
  4. Navigate to the folder and edit config.cfg and paste your token there
  5. Now go to stopstalk.py and change url there to your college url(add .json after leaderboard)
  6. You can host this script in heroku for free