🩹 - Nicknames that were too long caused problems to the damage dealt graph

This commit is contained in:
Florian SYLVAIN
2021-03-08 11:47:18 +01:00
parent e319cfeff4
commit b0f4a8ba83
+1 -1
View File
@@ -56,7 +56,7 @@ class LolCmds(commands.Cog, name='League of Legend commands'):
equals = int(round(float(pourcent)/3.3))
hyphen = 30 - equals
tab.append('[' + '='*equals + ' '*hyphen +']\n')
players.append(stat[0] + '\n')
players.append(stat[0][:15] + '\n')
kda.append(str(stat[2]) + '/' + str(stat[3]) + '/' + str(stat[4]) + '\n')
embed = discord.Embed(title=invocator_name, url='https://bit.ly/3biTekM',
description='Date: ' + lst[2] + '\nLength: ' + lst[3])