message lors de la deconnexion

This commit is contained in:
Mylloon 2021-06-24 13:17:20 +02:00
parent 1e27e1a5e9
commit 7306ab84ab

View file

@ -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))