format
This commit is contained in:
parent
495dc70b05
commit
113ef00626
@ -145,11 +145,11 @@ class WynncraftCog(commands.Cog):
|
|||||||
player_data = req["data"][0]
|
player_data = req["data"][0]
|
||||||
|
|
||||||
real_player_name = player_data["username"]
|
real_player_name = player_data["username"]
|
||||||
output = "**__%s__**" % real_player_name
|
output = "**__%s__**\n" % real_player_name
|
||||||
output += ":black_small_square: **Joueur depuis:** %s\n" % player_data["meta"]["firstJoin"]
|
output += ":black_square_button: **Joueur depuis:** %s\n" % player_data["meta"]["firstJoin"]
|
||||||
output += ":black_small_square: **Niveau total:** %s\n" % player_data["global"]["totalLevel"]["combat"]
|
output += ":black_square_button: **Niveau total:** %s\n" % player_data["global"]["totalLevel"]["combat"]
|
||||||
for c in player_data["classes"]:
|
for c in player_data["classes"]:
|
||||||
output += ":diamond_shape_with_a_dot_inside: **%s:** %s\n" % (c["name"], c["professions"]["combat"]["level"])
|
output += "\t:diamond_shape_with_a_dot_inside: **%s:** level %s\n" % (c["name"], c["professions"]["combat"]["level"])
|
||||||
|
|
||||||
await ctx.send(output)
|
await ctx.send(output)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user