making elements in line so the embed is smaller

This commit is contained in:
Luke Robles 2021-08-09 13:21:05 -07:00
parent 28b5a3876f
commit 30ec7d8dda

View File

@ -50,12 +50,10 @@ def get_player(player):
]
for stat in gameplay_stats:
embed.add_field(name="**%s**" % stats_overview[stat]['displayName'], value=stats_overview[stat]['displayValue'], inline=False)
embed.add_field(name="**%s**" % stats_overview[stat]['displayName'], value=stats_overview[stat]['displayValue'], inline=True)
# embed.add_field(name='Raw value', value=stats_overview[stat]['displayValue'], inline=True)
# embed.add_field(name='Global Percentile', value=stats_overview[stat]['percentile'], inline=True)
return embed
# except Exception:
# return 'nope'
# assault_stats = base_stat_blob['segments'][9]
# medic_stats = base_stat_blob['segments'][10]