Fixing weird json things
This commit is contained in:
		
							parent
							
								
									779e6058f0
								
							
						
					
					
						commit
						cbb30cb2e9
					
				| @ -768,7 +768,8 @@ def build_star_embed(player_json): | ||||
|             embedstring += "⚪️" | ||||
|         embed.add_field(name=starkeys[key], value=embedstring, inline=False) | ||||
|     print(player_json) | ||||
|     vibes = int(player_json["current_vibe"]) | ||||
|     vibes = str(player_json["current_vibe"]) | ||||
|     vibes = int(vibes[0]) | ||||
|     vibe = vibe_check(vibes) | ||||
|     embed.add_field(name="Vibe", value=vibe, inline=False) | ||||
|     return embed | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user