aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/valentines
diff options
context:
space:
mode:
Diffstat (limited to 'bot/seasons/valentines')
-rw-r--r--bot/seasons/valentines/be_my_valentine.py2
-rw-r--r--bot/seasons/valentines/lovecalculator.py4
-rw-r--r--bot/seasons/valentines/movie_generator.py2
-rw-r--r--bot/seasons/valentines/savethedate.py2
-rw-r--r--bot/seasons/valentines/valentine_zodiac.py2
-rw-r--r--bot/seasons/valentines/whoisvalentine.py2
6 files changed, 7 insertions, 7 deletions
diff --git a/bot/seasons/valentines/be_my_valentine.py b/bot/seasons/valentines/be_my_valentine.py
index 0046ceb4..f589dbeb 100644
--- a/bot/seasons/valentines/be_my_valentine.py
+++ b/bot/seasons/valentines/be_my_valentine.py
@@ -15,7 +15,7 @@ log = logging.getLogger(__name__)
HEART_EMOJIS = [":heart:", ":gift_heart:", ":revolving_hearts:", ":sparkling_heart:", ":two_hearts:"]
-class BeMyValentine:
+class BeMyValentine(commands.Cog):
"""
A cog that sends valentines to other users !
"""
diff --git a/bot/seasons/valentines/lovecalculator.py b/bot/seasons/valentines/lovecalculator.py
index 4df33b93..655430f5 100644
--- a/bot/seasons/valentines/lovecalculator.py
+++ b/bot/seasons/valentines/lovecalculator.py
@@ -9,7 +9,7 @@ from typing import Union
import discord
from discord import Member
from discord.ext import commands
-from discord.ext.commands import BadArgument, clean_content
+from discord.ext.commands import BadArgument, Cog, clean_content
from bot.constants import Roles
@@ -20,7 +20,7 @@ with Path('bot', 'resources', 'valentines', 'love_matches.json').open() as file:
LOVE_DATA = sorted((int(key), value) for key, value in LOVE_DATA.items())
-class LoveCalculator:
+class LoveCalculator(Cog):
"""
A cog for calculating the love between two people
"""
diff --git a/bot/seasons/valentines/movie_generator.py b/bot/seasons/valentines/movie_generator.py
index b52eba7f..ff0bb86b 100644
--- a/bot/seasons/valentines/movie_generator.py
+++ b/bot/seasons/valentines/movie_generator.py
@@ -11,7 +11,7 @@ TMDB_API_KEY = environ.get("TMDB_API_KEY")
log = logging.getLogger(__name__)
-class RomanceMovieFinder:
+class RomanceMovieFinder(commands.Cog):
"""
A cog that returns a random romance movie suggestion to a user
"""
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 !
"""
diff --git a/bot/seasons/valentines/valentine_zodiac.py b/bot/seasons/valentines/valentine_zodiac.py
index 06c0237d..aa80a7e9 100644
--- a/bot/seasons/valentines/valentine_zodiac.py
+++ b/bot/seasons/valentines/valentine_zodiac.py
@@ -14,7 +14,7 @@ LETTER_EMOJI = ':love_letter:'
HEART_EMOJIS = [":heart:", ":gift_heart:", ":revolving_hearts:", ":sparkling_heart:", ":two_hearts:"]
-class ValentineZodiac:
+class ValentineZodiac(commands.Cog):
"""
A cog that returns a counter compatible zodiac sign to the given user's zodiac sign.
"""
diff --git a/bot/seasons/valentines/whoisvalentine.py b/bot/seasons/valentines/whoisvalentine.py
index 2fe07aba..ade4f131 100644
--- a/bot/seasons/valentines/whoisvalentine.py
+++ b/bot/seasons/valentines/whoisvalentine.py
@@ -14,7 +14,7 @@ with open(Path("bot", "resources", "valentines", "valentine_facts.json"), "r") a
FACTS = json.load(file)
-class ValentineFacts:
+class ValentineFacts(commands.Cog):
def __init__(self, bot):
self.bot = bot