Changing knight to the goons in the boss spawns dict
This commit is contained in:
parent
79701824a1
commit
c85f0c6bb2
@ -128,7 +128,7 @@ class Tarkov(commands.Cog):
|
|||||||
@tarkov.command(
|
@tarkov.command(
|
||||||
guild_ids=core_utils.my_guilds,
|
guild_ids=core_utils.my_guilds,
|
||||||
name="spawns",
|
name="spawns",
|
||||||
description="Boss Boss Spawn Rates",
|
description="Boss Spawn Rates",
|
||||||
)
|
)
|
||||||
async def boss_spawns(
|
async def boss_spawns(
|
||||||
self,
|
self,
|
||||||
|
@ -51,6 +51,10 @@ def get_tarkov_boss_info():
|
|||||||
"USEC",
|
"USEC",
|
||||||
]
|
]
|
||||||
response = query_tarkov_api(query)["maps"]
|
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
|
# Wasteful, but make a new dict to hold the info we care about
|
||||||
levels = {}
|
levels = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user