fixed static cast?

This commit is contained in:
Kevin Rode 2021-01-03 22:59:25 -05:00
parent 0db17ce838
commit aff8f71130

View File

@ -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