From aff8f71130325c14d28ec6dcf467deea0b175d87 Mon Sep 17 00:00:00 2001 From: Kevin Rode Date: Sun, 3 Jan 2021 22:59:25 -0500 Subject: [PATCH] fixed static cast? --- the_prestige.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/the_prestige.py b/the_prestige.py index 6dd627a..be4b9f4 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -767,8 +767,7 @@ def build_star_embed(player_json): elif starnum == 0: # why check addhalf twice, amirite embedstring += "⚪️" embed.add_field(name=starkeys[key], value=embedstring, inline=False) - vibes = str(player_json["current_vibe"]) - print(vibes) + vibes = float(player_json["current_vibe"]) vibe = vibe_check(vibes) embed.add_field(name="Vibe", value=vibe, inline=False) return embed