diff --git a/src/cogs/reminder.py b/src/cogs/reminder.py index 721452c..1cb2bc0 100644 --- a/src/cogs/reminder.py +++ b/src/cogs/reminder.py @@ -6,12 +6,13 @@ from utils.core import getURLsInString, getMentionInString, isSlash, mySendHidde from utils.time import stringTempsVersSecondes, nowUTC, intToDatetime, timedeltaToString, timestampScreen def setup(client): - client.add_cog(Reminder(client)) + client.add_cog(ReminderDiscord(client)) -class Reminder(commands.Cog): - """Commandes relatives aux cours.""" +class ReminderDiscord(commands.Cog): + """Commandes relatives aux reminder.""" def __init__(self, client): self.client = client + self._reminderLoop.start() @commands.command(name='reminder', aliases=["remind", "remindme", "rappel"]) async def _reminder(self, ctx, time, *reminder): diff --git a/src/cogs/utils.py b/src/cogs/utils.py index 65a54fe..6d79604 100644 --- a/src/cogs/utils.py +++ b/src/cogs/utils.py @@ -15,7 +15,6 @@ class Utils(commands.Cog): def __init__(self, client): self.client = client self.customTimezone = load(["TIMEZONE"])["TIMEZONE"] - self._reminderLoop.start() @commands.command(name='ping') async def _ping(self, ctx, *arg):