Changing knight to the goons in the boss spawns dict

This commit is contained in:
Luke Robles 2025-01-18 19:42:08 -08:00
parent 79701824a1
commit c85f0c6bb2
2 changed files with 5 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Tarkov(commands.Cog):
@tarkov.command(
guild_ids=core_utils.my_guilds,
name="spawns",
description="Boss Boss Spawn Rates",
description="Boss Spawn Rates",
)
async def boss_spawns(
self,

View File

@ -51,6 +51,10 @@ def get_tarkov_boss_info():
"USEC",
]
response = query_tarkov_api(query)["maps"]
for map_data in response:
for boss in map_data["bosses"]:
if boss["boss"]["name"] == "Knight":
boss["boss"]["name"] = "The Goons"
# Wasteful, but make a new dict to hold the info we care about
levels = {}