aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/christmas/adventofcode.py
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-03-03 21:50:01 -0500
committerGravatar sco1 <[email protected]>2019-03-03 21:50:01 -0500
commitb53d8d8b7fe7c33c6931fa9075c30c27ea9c02da (patch)
tree92ab3e99bebbc0b0dac06571d1e2e6d30f2622cf /bot/seasons/christmas/adventofcode.py
parentMerge pull request #112 from RohanJnr/be-my-valentine-iceman (diff)
Add new Cog class inheritance & event listener decoration
Mitigates recent breaking d.py changes
Diffstat (limited to 'bot/seasons/christmas/adventofcode.py')
-rw-r--r--bot/seasons/christmas/adventofcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/christmas/adventofcode.py b/bot/seasons/christmas/adventofcode.py
index 3b199a4a..d360ae5e 100644
--- a/bot/seasons/christmas/adventofcode.py
+++ b/bot/seasons/christmas/adventofcode.py
@@ -108,7 +108,7 @@ async def day_countdown(bot: commands.Bot):
await asyncio.sleep(120)
-class AdventOfCode:
+class AdventOfCode(commands.Cog):
"""
Advent of Code festivities! Ho Ho Ho!
"""