From 05d8c40cb7ad4e5df88cf4a3c34572e490d4d769 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 7 May 2021 16:48:40 +0200 Subject: [PATCH] adding the right prefix in the rich presence --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 9098819..45b0c5a 100644 --- a/src/main.py +++ b/src/main.py @@ -24,7 +24,7 @@ async def on_connect(): @client.event async def on_ready(): - await client.change_presence(status = discord.Status.online, activity = discord.Activity(name = ".help", type = discord.ActivityType.playing)) + await client.change_presence(status = discord.Status.online, activity = discord.Activity(name = f"{customPrefix}help", type = discord.ActivityType.playing)) print("Bot prêt.") channel = client.get_channel(742564480050790512) await channel.send("Le bot a bien démarré.")