-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated advent of code cog to new extension format
- Loading branch information
Showing
5 changed files
with
279 additions
and
311 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from bot.core import DiscordBot | ||
|
||
from .commands import AdventOfCode | ||
from .tasks import AdventOfCodeTasks | ||
|
||
|
||
async def setup(bot: DiscordBot) -> None: | ||
await bot.add_cog(AdventOfCode(bot=bot)) | ||
await bot.add_cog(AdventOfCodeTasks(bot=bot)) |
Oops, something went wrong.