Skip to content

AOC Fix announcement cron schedule and leaderboard displayed days#231

Open
PointerRain wants to merge 3 commits intomainfrom
advent-12-days
Open

AOC Fix announcement cron schedule and leaderboard displayed days#231
PointerRain wants to merge 3 commits intomainfrom
advent-12-days

Conversation

@PointerRain
Copy link
Copy Markdown
Member

This PR changes the announcement for releasing Advent of Code puzzles to be posted only on the 1st through to the 12th.
It also updates the leaderboard command to limit the number of days displayed to the maximum for that year (sourced from the leaderboard API response), or to the provided number if a custom style is used.
Additionally, it gives an error to the user if they attempt to view a day that is not part of AOC that year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant