only print one boss per map on the spawn change embed

This commit is contained in:
Luke Robles 2024-11-11 09:14:18 -08:00
parent e9fe929402
commit 34a94de20d

View File

@ -46,10 +46,13 @@ class Tarkov(commands.Cog):
changes_dict = tarkov.compare_boss_spawns(known_spawns, spawns_from_api)
for level, boss in changes_dict.items():
for boss_name, change in boss.items():
if boss:
embed.add_field(
name=level,
value=f"{boss_name}: {change}",
value="\n".join(
f"{boss_name}: {change}"
for boss_name, change in boss.items()
),
inline=False,
)