float not int

This commit is contained in:
Kevin Rode 2021-01-03 22:57:07 -05:00
parent 420f1a62ab
commit e73810024f

View File

@ -768,7 +768,7 @@ def build_star_embed(player_json):
embedstring += "⚪️" embedstring += "⚪️"
embed.add_field(name=starkeys[key], value=embedstring, inline=False) embed.add_field(name=starkeys[key], value=embedstring, inline=False)
vibes = str(player_json["current_vibe"]) vibes = str(player_json["current_vibe"])
vibes = int(vibes[0]) vibes = float(vibes[0])
vibe = vibe_check(vibes) vibe = vibe_check(vibes)
embed.add_field(name="Vibe", value=vibe, inline=False) embed.add_field(name="Vibe", value=vibe, inline=False)
return embed return embed