aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/pagination.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-12-01 18:30:12 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-12-01 18:30:12 +0100
commit210c564e1b6823617cb4f64ff5e33031dc61d487 (patch)
tree80ce941d2a11cd143903ea57ab71794acfd50d84 /bot/utils/pagination.py
parentClarify text of DM with Advent of Code join code (diff)
Add support for ignoring scores from specific days
I've added support for ignoring scores from specific days. A list of days to ignore can be provided using the environment variable `AOC_IGNORED_DAYS` as a comma-separated list. This example would ignore day 1 and day 23: AOC_IGNORED_DAYS=1,23 I've also added a helper function to sort the leaderboard not only on the achieved score, but also on the number of stars an individual has completed.
Diffstat (limited to 'bot/utils/pagination.py')
0 files changed, 0 insertions, 0 deletions