|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| ... |  | 
| | 
| 
| 
| | This task uses the cached leaderboard to see who has all 50 stars and assigns them a role to highlight them as completers. | 
| | 
| 
| 
| 
| 
| | Advent of Code Leaderboard BadArgument error embed now
mentions to join the leaderboard and to wait up to 30 minutes
if you've joined recently. | 
| | |  | 
| | 
| 
| 
| 
| 
| | If the user has not supplied a name to use for the leaderboard, then
code will check if they have an account linked. If they do, it will use
the linked account in the leaderboard to show placement. | 
| |\ |  | 
| | |\ |  | 
| | | |\ |  | 
| | | | | |  | 
| | | |\ \ |  | 
| | | | | | |  | 
| | | | | | |  | 
| | | | | | |  | 
| | | | | | |  | 
| | | | | | |  | 
| | | | | | |  | 
| | | | | | |  | 
| | | |_|/  
| |/| | |  | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | Makes `aoc_name` in the link command a keyword only argument.
This allows users to link accounts with spaces in the name without having to
use quotes. | 
| | | | | |  | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | | Adds the ability for the user to unlink their advent of code name.
It will delete the entry in the cache if it exists. | 
| | | | | 
| | | | 
| | | | 
| | | | 
| | | | 
| | | | | Removes the unneeded check for if the cache is empty.
Also adds a seconds comment about the format of the contents
of the Redis cache. | 
| |/ / /  
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | |   
| | | | This new command will allow people to associate their Discord ID with
their Advent of Code name. This Redis Cache idea was taken from the
hacktoberfest stats command, which allows people to associate their
github username to then pull the correct stats.
This does not check if the name exists on the leaderboard and that is
intentional. Due to the cooldown on the leaderboard I don't want to rely
on that before someone can link their account. Additionally, someone
may change their display name on the Advent of Code side and I don't
think validation of it existing on the leaderboard gets us anything.
The usefulness of this function will not be apparent in this cog, but it
is necessary for something fun I'd like to do. | 
| | | | |  | 
| | | | 
| | | 
| | | 
| | | | This gives the user the ability to hover the timestamp with their mouse to get an exact date and time. | 
| | |/  
|/|   
| |   
| | | This is so that there is less code within the if block, making it easier to parse the whole command by eye. | 
| | | |  | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | | - This commit adds a new set of leaderboard data to the cache so that it calculates the correct information if issued with either a `self_placement_name` or not.
- It also introduces code consistency upgrades
Co-Authored-By: Johannes Christ <[email protected]> | 
| | | 
| | 
| | 
| | 
| | | - The AoC day and star browser has been separated from the leaderboard command, from now on it's a separate command
- The leaderboard command has a new `self_placement_name` option, that shows the personal stats for the specified profile name. | 
| | | |  | 
| | | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | 
| | | * Add support to query AoC results in respect of days and stars
From now on the AoC leaderboard command accepts a total of 2 optional arguments a day and star string (eg.: 1-2, for the second star of the first day) and a number of results they would like to see, with a total maximum of 15.
This commit also introduces a few minor fixes in the AoC helper.
* Improve overall code consitency in the AoC event Cog and helpers
* Improve indenting and code consistency in the AoC cog
* Improve code transparency in the AoC helpers
* Patch various inconsistencies in the AoC cog and helpers
* Migrate AoC Day and Star statistics filtering to Dropdowns
From now on when the AoC leadearboard command is used with the DayAndStar argument(bool)
the bot will send a View with two dropdowns and a button to Fetch the data based on the value
of the Dropdowns.
* Improve code and comment consistency in the AoC views and helpers
* Patch logic errors, improve consistency in the AoC cog and view.
* Add support to delete view from the message after timeout in the AoC cog
* Move the day_and_star logic out of the typing context manager in the AoC cog
* Revert season-locker in the AoC cog
* Improve overall code transparency and indenting in the AoC cog and views
* Remove unnecessary returns in the AoC cog and view | 
| |/  
|   
| | Issues can have empty bodies, in this case GitHub doesn't include the key in the API response | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
|  | 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. |