message lors de la deconnexion
This commit is contained in:
parent
1e27e1a5e9
commit
7306ab84ab
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
|
|
Reference in a new issue