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

Invalid avatar url in guild member #1230

Closed
underflowerror opened this issue Aug 29, 2024 · 2 comments
Closed

Invalid avatar url in guild member #1230

underflowerror opened this issue Aug 29, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@underflowerror
Copy link

Git commit reference
#1148 (actually happens on 10.0.28-10.0.30 afaik)

Describe the bug
dpp::guild_member class returns invalid avatar url.

To Reproduce
Steps to reproduce the behavior:

  1. Get guild member class.
  2. Call get_avatar_url()

Expected behavior
Valid user avatar from guild.

Screenshots
Not needed.

System Details:

  • OS: Windows.
  • Discord Web Client.

Additional context
Here is some examples, here is what DPP returns: cdn.discordapp.com/guilds/{server_id}/{user_id}/{avatar_hash}.png
And here is what discord uses: cdn.discordapp.com/guilds/{server_id}/users/{user_id}/avatars/{avatar_hash}.png

@underflowerror underflowerror added the bug Something isn't working label Aug 29, 2024
@Jaskowicz1
Copy link
Contributor

Jaskowicz1 commented Aug 29, 2024

Can confirm the url is incorrect (see this link)! I can get a fix out in ~30 minutes maybe an hour.

Edit: Will take longer, bit busy.

@Jaskowicz1
Copy link
Contributor

The fix for this has been merged! This issue is now closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants