Merge branch 'master' into master

This commit is contained in:
augustin64 2022-02-17 13:40:37 +01:00 committed by GitHub
commit b1951e2632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
V4.py
View File

@ -664,18 +664,18 @@ def LogPoint(account="unknown"): #log des points sur discord
CustomSleep(uniform(3,20)) CustomSleep(uniform(3,20))
account = account.split('@')[0] account = account.split('@')[0]
if embeds: if embeds:
embed = discord.Embed( embed = discord.Embed(
title=f"{account} actuellement à {str(point)} points", title=f"{account} actuellement à {str(point)} points",
colour = Colour.green() colour = Colour.green()
) )
embed.set_footer(text=_mail) 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(point)} points')
def Fidelité(): def Fidelité():
try : try :