fix bug due to transition
This commit is contained in:
parent
ed9c78e31c
commit
2660b3284a
2 changed files with 4 additions and 4 deletions
|
@ -6,12 +6,13 @@ from utils.core import getURLsInString, getMentionInString, isSlash, mySendHidde
|
||||||
from utils.time import stringTempsVersSecondes, nowUTC, intToDatetime, timedeltaToString, timestampScreen
|
from utils.time import stringTempsVersSecondes, nowUTC, intToDatetime, timedeltaToString, timestampScreen
|
||||||
|
|
||||||
def setup(client):
|
def setup(client):
|
||||||
client.add_cog(Reminder(client))
|
client.add_cog(ReminderDiscord(client))
|
||||||
|
|
||||||
class Reminder(commands.Cog):
|
class ReminderDiscord(commands.Cog):
|
||||||
"""Commandes relatives aux cours."""
|
"""Commandes relatives aux reminder."""
|
||||||
def __init__(self, client):
|
def __init__(self, client):
|
||||||
self.client = client
|
self.client = client
|
||||||
|
self._reminderLoop.start()
|
||||||
|
|
||||||
@commands.command(name='reminder', aliases=["remind", "remindme", "rappel"])
|
@commands.command(name='reminder', aliases=["remind", "remindme", "rappel"])
|
||||||
async def _reminder(self, ctx, time, *reminder):
|
async def _reminder(self, ctx, time, *reminder):
|
||||||
|
|
|
@ -15,7 +15,6 @@ class Utils(commands.Cog):
|
||||||
def __init__(self, client):
|
def __init__(self, client):
|
||||||
self.client = client
|
self.client = client
|
||||||
self.customTimezone = load(["TIMEZONE"])["TIMEZONE"]
|
self.customTimezone = load(["TIMEZONE"])["TIMEZONE"]
|
||||||
self._reminderLoop.start()
|
|
||||||
|
|
||||||
@commands.command(name='ping')
|
@commands.command(name='ping')
|
||||||
async def _ping(self, ctx, *arg):
|
async def _ping(self, ctx, *arg):
|
||||||
|
|
Reference in a new issue