JustTemmie / steam-presence

A script that takes the game you're playing on steam and displays it on discord
MIT License
216 stars 15 forks source link

Syntax error in script #61

Open Splatube opened 2 weeks ago

Splatube commented 2 weeks ago

On lines 703 and 704 in main.py there are double quotes inside of an f-string which causes a syntax error. "icon" and "name" need to be replaced with 'icon' and 'name'.

From

coverImage = f"https://cdn.discordapp.com/app-icons/{appID}/{respone["icon"]}.webp" coverImageText = f"{respone["name"]}"

To

coverImage = f"https://cdn.discordapp.com/app-icons/{appID}/{respone['icon']}.webp" coverImageText = f"{respone['name']}"

erenfro commented 1 week ago

I put in a PR on this exact issue, actually. #62