From d579d0e1e3dd1430821375c0c7a91194fbf1b72e Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 16 Dec 2020 19:26:51 +0100 Subject: [PATCH] =?UTF-8?q?d=C3=A9placement=20du=20chargement=20des=20exte?= =?UTF-8?q?nsions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/main.py b/main.py index 108fe4e..0126ad6 100644 --- a/main.py +++ b/main.py @@ -9,17 +9,18 @@ from tokens import token_discord as token client = commands.Bot(command_prefix = ".", case_insensitive = True, intents = discord.Intents.all()) +print("Chargement des extensions & librairie...") +client.load_extension("cogs.help") +client.load_extension("cogs.utils") +client.load_extension("cogs.internet") +client.load_extension("cogs.music") +client.load_extension("cogs.games") +client.load_extension("cogs.fun") +client.load_extension("cogs.autopublish") + @client.event async def on_connect(): print(f"Connecté avec le token : {token}.") - print("Chargement des extensions & librairie...") - client.load_extension("cogs.help") - client.load_extension("cogs.utils") - client.load_extension("cogs.internet") - client.load_extension("cogs.music") - client.load_extension("cogs.games") - client.load_extension("cogs.fun") - client.load_extension("cogs.autopublish") @client.event async def on_ready():