Skip to content

Commit

Permalink
Reworked advent of code. (#183)
Browse files Browse the repository at this point in the history
* Reworked advent of code.

Refreshed all of advent of code to work with the new slash commands.
This includes:
 - Adding a database to record AOC accounts and discord users
 - Adding a database to record previous winners
 - Reworking the command to select winners
 - Reworking the leaderboard display system

* Added detail to advent help menu

* Added weights to advent help menu

* Used the proper discord mention property and refactored a little

* Minor style changes

* Refactored AOC into a utils file

* Small style changes for black

* Fixed autoincrement for the SQL database

* Removed ids from registration db & removed advent from pyright exception list

* Removed type-checking machinery
  • Loading branch information
49Indium authored Nov 30, 2023
1 parent 5f630cd commit fa9fc29
Show file tree
Hide file tree
Showing 5 changed files with 1,268 additions and 425 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ build-backend = "poetry.core.masonry.api"
[tool.pyright]
strict = ["**"]
exclude = [
"**/advent.py",
"**/bot.py",
"**/error_handler.py",
"**/events.py",
Expand Down
Loading

0 comments on commit fa9fc29

Please sign in to comment.