diff options
| author | 2021-12-01 22:41:07 -0500 | |
|---|---|---|
| committer | 2021-12-01 22:41:07 -0500 | |
| commit | eba75f73964a258119e16ba2abfc181055281022 (patch) | |
| tree | a114cbb12aa6c9053992ace9419cdda6f334ae63 /bot/monkey_patches.py | |
| parent | Merge pull request #957 from python-discord/aoc-count-timestamp (diff) | |
Add `.aoc link` command
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.
Diffstat (limited to 'bot/monkey_patches.py')
0 files changed, 0 insertions, 0 deletions