adding message when bot reconnect
This commit is contained in:
parent
21916b9935
commit
79d8141166
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
|
|
Reference in a new issue