aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/halloween/monstersurvey.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/halloween/monstersurvey.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/halloween/monstersurvey.py')
-rw-r--r--bot/seasons/halloween/monstersurvey.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/halloween/monstersurvey.py b/bot/seasons/halloween/monstersurvey.py
index 08873f24..aa5d97d2 100644
--- a/bot/seasons/halloween/monstersurvey.py
+++ b/bot/seasons/halloween/monstersurvey.py
@@ -4,7 +4,7 @@ import os
from discord import Embed
from discord.ext import commands
-from discord.ext.commands import Bot, Context
+from discord.ext.commands import Bot, Cog, Context
log = logging.getLogger(__name__)
@@ -14,7 +14,7 @@ EMOJIS = {
}
-class MonsterSurvey:
+class MonsterSurvey(Cog):
"""
Vote for your favorite monster!
This command allows users to vote for their favorite listed monster.