only print one boss per map on the spawn change embed
This commit is contained in:
parent
e9fe929402
commit
34a94de20d
@ -46,10 +46,13 @@ class Tarkov(commands.Cog):
|
|||||||
changes_dict = tarkov.compare_boss_spawns(known_spawns, spawns_from_api)
|
changes_dict = tarkov.compare_boss_spawns(known_spawns, spawns_from_api)
|
||||||
|
|
||||||
for level, boss in changes_dict.items():
|
for level, boss in changes_dict.items():
|
||||||
for boss_name, change in boss.items():
|
if boss:
|
||||||
embed.add_field(
|
embed.add_field(
|
||||||
name=level,
|
name=level,
|
||||||
value=f"{boss_name}: {change}",
|
value="\n".join(
|
||||||
|
f"{boss_name}: {change}"
|
||||||
|
for boss_name, change in boss.items()
|
||||||
|
),
|
||||||
inline=False,
|
inline=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user