adding message when bot reconnect

This commit is contained in:
Mylloon 2021-06-24 22:48:10 +02:00
parent 21916b9935
commit 79d8141166

View file

@ -23,6 +23,10 @@ async def on_connect():
async def on_disconnect():
print(f"Déconnecté.")
@client.event
async def on_resumed():
print(f"Reconnecté !")
@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))