Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Owner only commands

Bhavya Girotra edited this page Feb 10, 2021 · 1 revision

The following commands can only be used by users having owner privileges. Owner privileges can be granted to a user by adding their discord id in OWNERS field in the file constants.py.

Commands:

  • .updateratings: Update the ratings of all the users in the database. (This process also happens automatically once every hour)

  • .updatedb: Update the problemset stored in the database. (This process also happens automatically once every day)

  • .backup: Take backup of the database. (This process also happens automatically once every 6 hours)

  • .scrape_: Scrape contest author list from codeforces. (This process also happens automatically once every week)