making elements in line so the embed is smaller
This commit is contained in:
parent
13cb7890c6
commit
8b41f8637c
@ -50,12 +50,10 @@ def get_player(player):
|
|||||||
]
|
]
|
||||||
|
|
||||||
for stat in gameplay_stats:
|
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='Raw value', value=stats_overview[stat]['displayValue'], inline=True)
|
||||||
# embed.add_field(name='Global Percentile', value=stats_overview[stat]['percentile'], inline=True)
|
# embed.add_field(name='Global Percentile', value=stats_overview[stat]['percentile'], inline=True)
|
||||||
return embed
|
return embed
|
||||||
# except Exception:
|
|
||||||
# return 'nope'
|
|
||||||
|
|
||||||
# assault_stats = base_stat_blob['segments'][9]
|
# assault_stats = base_stat_blob['segments'][9]
|
||||||
# medic_stats = base_stat_blob['segments'][10]
|
# medic_stats = base_stat_blob['segments'][10]
|
Loading…
x
Reference in New Issue
Block a user