aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/valentines/savethedate.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/valentines/savethedate.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/valentines/savethedate.py')
-rw-r--r--bot/seasons/valentines/savethedate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/valentines/savethedate.py b/bot/seasons/valentines/savethedate.py
index b9484be9..f49d9ff4 100644
--- a/bot/seasons/valentines/savethedate.py
+++ b/bot/seasons/valentines/savethedate.py
@@ -13,7 +13,7 @@ log = logging.getLogger(__name__)
HEART_EMOJIS = [":heart:", ":gift_heart:", ":revolving_hearts:", ":sparkling_heart:", ":two_hearts:"]
-class SaveTheDate:
+class SaveTheDate(commands.Cog):
"""
A cog that gives random suggestion, for a valentines date !
"""