Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error in script #61

Closed
Splatube opened this issue Jun 23, 2024 · 2 comments
Closed

Syntax error in script #61

Splatube opened this issue Jun 23, 2024 · 2 comments

Comments

@Splatube
Copy link

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
Copy link
Contributor

erenfro commented Jun 26, 2024

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

@JustTemmie
Copy link
Owner

merged #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants