Skip to content

Commit

Permalink
Migrated advent of code cog to new extension format
Browse files Browse the repository at this point in the history
  • Loading branch information
FirePlank committed Nov 6, 2023
1 parent 162d7ba commit 0712a27
Show file tree
Hide file tree
Showing 5 changed files with 279 additions and 311 deletions.
311 changes: 0 additions & 311 deletions bot/cogs/adventofcode.py

This file was deleted.

9 changes: 9 additions & 0 deletions bot/extensions/adventofcode/__init__.py
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))
Loading

0 comments on commit 0712a27

Please sign in to comment.