From 87b8e2b307e685c271f7ebbef510d3d7b9b48173 Mon Sep 17 00:00:00 2001 From: ender <68495763+tookender@users.noreply.github.com> Date: Fri, 18 Oct 2024 20:48:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A5=AD=20Mango?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/dq/calculators.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/dq/calculators.py b/extensions/dq/calculators.py index b0ad416..7018343 100644 --- a/extensions/dq/calculators.py +++ b/extensions/dq/calculators.py @@ -123,12 +123,12 @@ async def calc_runs(self, ctx, current_level: int, goal_level: int, dungeon_name result = calculate_runs(current_level, goal_level, dungeon_name, event_active, booster_active, vip) embed = Embed(title="Dungeon Runs Calculator", - description=f"To go from **Level {result['current_level']}** to **Level {result['goal_level']}** in **{result['dungeon_name']}** you will need **{result['xp_needed']} XP**") + description=f"To go from **Level {result['current_level']}** to **Level {result['goal_level']}** in **{result['dungeon_name']}** you will need **{fn(result['xp_needed'])} XP**") embed.set_author(name="Dungeon Quest Helper", url="https://www.roblox.com/games/2414851778") runs = result["runs"] - for run in runs: - embed.add_field(name=f"{run} Runs", value=f"**{run}** runs", inline=False) + for run in runs.items(): + embed.add_field(name=f"{run[0]} Runs", value=f"**{fn(run[1])}** runs", inline=False) await ctx.send(embed=embed) \ No newline at end of file