diff --git a/src/main.py b/src/main.py index 1ef1d68..9eb647f 100644 --- a/src/main.py +++ b/src/main.py @@ -19,6 +19,10 @@ print("Terminé !") async def on_connect(): print(f"Connecté !") +@client.event +async def on_disconnect(): + print(f"Déconnecté.") + @client.event async def on_ready(): await client.change_presence(status = discord.Status.online, activity = discord.Activity(name = f"{customPrefix}help", type = discord.ActivityType.playing))