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

Fix avatar URLs for guild/member avatars #33

Merged
merged 1 commit into from Dec 24, 2022
Merged

Conversation

TheEssem
Copy link
Contributor

As of right now, when trying to use avatarURL() on a Member object with a non-null avatar, it returns a malformed URL like this:

https://cdn.discordapp.coma_ff23ddf64e0930ac1ac67f7ab6eeb84e.png?size=4096

Note the lack of a slash or path between the .com and the a_. This should fix it to return the proper guild avatar URL.

@Nuckyz Nuckyz merged commit 3578b20 into OceanicJS:dev Dec 24, 2022
@DonovanDMC DonovanDMC added bug Something isn't working fixed labels Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants