creating reminder table at loading

This commit is contained in:
Mylloon 2021-06-03 12:21:00 +02:00
parent bd730bb072
commit cc33f26078

View file

@ -6,6 +6,7 @@ import os
from discord_slash import SlashCommand from discord_slash import SlashCommand
from discord.ext import commands from discord.ext import commands
from utils.core import userOrNick, goodTimezone from utils.core import userOrNick, goodTimezone
from utils.reminder import Reminder
customPrefix = os.environ['PREFIX'] customPrefix = os.environ['PREFIX']
customTimezone = os.environ['TIMEZONE'] customTimezone = os.environ['TIMEZONE']
@ -20,6 +21,7 @@ client.load_extension("cogs.games")
client.load_extension("cogs.fun") client.load_extension("cogs.fun")
client.load_extension("cogs.school") client.load_extension("cogs.school")
client.load_extension("cogs.confreriedukassoulait") # you can remove this cogs, only for my private guild client.load_extension("cogs.confreriedukassoulait") # you can remove this cogs, only for my private guild
Reminder().creationTable()
print("Terminé !") print("Terminé !")
@client.event @client.event