aboutsummaryrefslogtreecommitdiffstats
path: root/bot/resources/advent_of_code
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2018-11-27 16:40:02 -0700
committerGravatar Joseph <[email protected]>2018-11-27 23:40:02 +0000
commitcb40beceee006f33fe34615030ddf6d6e4ef2765 (patch)
tree30af578372027a23535227a383fe69c81b3d3203 /bot/resources/advent_of_code
parentAllows you to create Seasons. (#64) (diff)
Add AoC Cog (#66)
* 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
Diffstat (limited to 'bot/resources/advent_of_code')
-rw-r--r--bot/resources/advent_of_code/about.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/bot/resources/advent_of_code/about.json b/bot/resources/advent_of_code/about.json
new file mode 100644
index 00000000..846f508f
--- /dev/null
+++ b/bot/resources/advent_of_code/about.json
@@ -0,0 +1,27 @@
+[
+ {
+ "name": "What is Advent of Code?",
+ "value": "Advent of Code (AoC) is an series of small programming puzzles for a variety of skill levels, run every year during the month of December.\n\nThey are self-contained and are just as appropriate for an expert who wants to stay sharp as they are for a beginner who is just learning to code. Each puzzle calls upon different skills and has two parts that build on a theme.",
+ "inline": false
+ },
+ {
+ "name": "How do I sign up?",
+ "value": "AoC utilizes the following services' OAuth:",
+ "inline": true
+ },
+ {
+ "name": "Service",
+ "value": "GitHub\nGoogle\nTwitter\nReddit",
+ "inline": true
+ },
+ {
+ "name": "How does scoring work?",
+ "value": "Getting a star first is worth 100 points, second is 99, and so on down to 1 point at 100th place.\n\nCheck out AoC's [global leaderboard](https://adventofcode.com/2018/leaderboard) to see who's leading this year's event!",
+ "inline": false
+ },
+ {
+ "name": "Join our private leaderboard!",
+ "value": "In addition to the global leaderboard, AoC also offers private leaderboards, where you can compete against a smaller group of friends!\n\nHead over to AoC's [private leaderboard page](https://adventofcode.com/leaderboard/private) and enter code `363275-442b6939` to join the PyDis private leaderboard!",
+ "inline": false
+ }
+] \ No newline at end of file