This commit is contained in:
parent
66c979c624
commit
20efc9f3f6
4
V4.py
4
V4.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue