adding the right prefix in the rich presence
This commit is contained in:
parent
099cf2cc06
commit
05d8c40cb7
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ async def on_connect():
|
||||||
|
|
||||||
@client.event
|
@client.event
|
||||||
async def on_ready():
|
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.")
|
print("Bot prêt.")
|
||||||
channel = client.get_channel(742564480050790512)
|
channel = client.get_channel(742564480050790512)
|
||||||
await channel.send("Le bot a bien démarré.")
|
await channel.send("Le bot a bien démarré.")
|
||||||
|
|
Reference in a new issue