From 7caa86075335c564a69e9abdcc9ee5c1c3c9e721 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 28 May 2021 13:52:37 +0200 Subject: [PATCH] =?UTF-8?q?r=C3=A9organisation=20des=20prints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index 3a3d607..4db72ee 100644 --- a/src/main.py +++ b/src/main.py @@ -1,4 +1,4 @@ -print("Connexion à Discord...") +print("Chargement des extensions & librairie...", end = " ") import discord, re, pytz, os from discord.ext import commands @@ -10,7 +10,6 @@ customTimezone = os.environ['TIMEZONE'] client = commands.Bot(command_prefix = customPrefix, 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") @@ -19,10 +18,11 @@ client.load_extension("cogs.games") client.load_extension("cogs.fun") client.load_extension("cogs.autopublish") client.load_extension("cogs.school") +print("Terminé !") @client.event async def on_connect(): - print(f"Connecté.") + print(f"Connecté !") @client.event async def on_ready(): @@ -219,4 +219,5 @@ def goodTimezone(date, type): elif type == 1: return str(pytz.timezone(customTimezone).fromutc(date))[:-13].replace('-', '/').replace(' ', ' à ') +print("Connexion à Discord...", end = " ") client.run(os.environ['TOKEN_DISCORD'])