This commit is contained in:
piair 2022-05-24 22:43:01 +02:00
parent 66c979c624
commit 20efc9f3f6
1 changed files with 2 additions and 2 deletions

4
V4.py
View File

@ -826,12 +826,12 @@ def LogPoint(account="unknown"): # log des points sur discord
if embeds: if embeds:
embed = discord.Embed( embed = discord.Embed(
title=f"{account} actuellement à {str(point)} points", colour=Colour.green() title=f"{account} actuellement à {str(points)} points", colour=Colour.green()
) )
embed.set_footer(text=account) embed.set_footer(text=account)
webhookSuccess.send(embed=embed) webhookSuccess.send(embed=embed)
else: else:
webhookSuccess.send(f"{account} actuellement à {str(point)} points") webhookSuccess.send(f"{account} actuellement à {str(points)} points")
if sql_enabled : if sql_enabled :
add_to_database(account, points) add_to_database(account, points)