aboutsummaryrefslogtreecommitdiffstats
path: root/bot/resources/advent_of_code (follow)
Commit message (Collapse)AuthorAgeLines
* Move AoC and Hacktoberfest into events folderGravatar Janine vN2021-09-04-27/+0
| | | | | | | | | | Moves Advent of Code and Hacktoberfest into an events folder. Although these are roughly associated with holidays, they are standalone events that we have participated in in the past. Therefore they're being moved to an events folder separate from the "fun" or "holidays" folders.
* Update information for the .aoc about embedGravatar Sebastiaan Zeeff2020-11-30-4/+4
| | | | | | | | | | | I've updated the information for the about embed: - Added information on the scoring of private leaderboards - Changed the text of "join our private leaderboard", as we no longer have to introduce private leaderboards there. - I've also streamlined the section on Auth providers.
* Add more pre-commit hooksGravatar MarkKoz2020-03-04-1/+1
| | | | | | | | | | | | | | | | | | | | | | Hooks added: * check-merge-conflict - checks for files with merge conflict strings * check-toml - attempts to load all toml files to verify syntax * check-yaml - attempts to load all yaml files to verify syntax * end-of-file-fixer - ensures files end in a newline and only a newline * mixed-line-ending - replaces mixed line endings with LF * trailing-whitespace - trims trailing whitespace * python-check-blanket-noqa - enforces that noqa annotations always occur with specific codes Changes made to comply with new hooks: * Remove trailing whitespaces * Convert some CRLF files to LF * Remove noqa and add missing type annotations * Add missing newlines at end of files See: python-discord/organisation#138
* Remove hardcoded date from AOC info link embedGravatar S. Co12019-11-30-1/+1
| | | If a date is not specified, the AOC site should redirect to the most recent year.
* Update static files for new code functionalityGravatar sco12018-12-10-1/+1
|
* Add private board membership total to embed (#82)Gravatar sco12018-12-02-1/+1
| | | | | | * Add private board membership total to embed * Fix flake8, description typo
* Add AoC Cog (#66)Gravatar sco12018-11-27-0/+27
* Add Advent of Code cog * Update leaderboard last updated time when updating the leaderboard Remove unnecessary test command * Shift leaderboard embed build into helper method * Frame global leaderboard command * Split leaderboard entries check into helper method * Refactor commands to support global board * Remove unused leaderboard update, wall off global leaderboard command Hide & short circuit global leaderboard command until implemented Fix faulty logic causing board to be reloaded regardless of the age of the cache * Add help shortstrings * Use command builtin to disable global lb command until implemented * Add AoC global leaderboard parsing * Update pipfile and lock Tweak global lb regex Tweak method names for clarity * Refactor for global leaderboard command Separate Global & Private leaderboards into distinct classes * Add missing header divider * Move token for Joseph * Phrasing We're still doing phrasing, right? * Clarify variable name