fix bug due to transition

This commit is contained in:
Mylloon 2021-07-28 22:31:47 +02:00
parent ed9c78e31c
commit 2660b3284a
2 changed files with 4 additions and 4 deletions

View file

@ -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):

View file

@ -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):