Bold and truncate the boss spawn percents
Some checks failed
Some checks failed
This commit is contained in:
parent
0b457ab7f2
commit
23a2daecfa
@ -208,9 +208,9 @@ class Tarkov(commands.Cog):
|
||||
for key, value in levels.items():
|
||||
embed.add_field(
|
||||
name=key,
|
||||
value="\n".join(f"{k}: `{v*100}%`" for k, v in value.items()).replace(
|
||||
"boss", ""
|
||||
),
|
||||
value="\n".join(
|
||||
f"{k}: **{str(round(v*100, 2))}%**" for k, v in value.items()
|
||||
).replace("boss", ""),
|
||||
inline=False,
|
||||
)
|
||||
|
||||
@ -271,7 +271,7 @@ class Tarkov(commands.Cog):
|
||||
.text.split("%")
|
||||
)
|
||||
|
||||
embed.add_field(name="Spawn Chance", value=spawn_chance, inline=False)
|
||||
embed.add_field(name="Spawn Chance", value=f"**{spawn_chance}**, inline=False)
|
||||
|
||||
await ctx.send_followup(embed=embed)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user