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

[Bug?] Cannot catch all badges #560

Closed
harshfeudal opened this issue Nov 25, 2022 · 5 comments
Closed

[Bug?] Cannot catch all badges #560

harshfeudal opened this issue Nov 25, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@harshfeudal
Copy link
Contributor

Describe the bug
The Dpp library seems like cannot get all the user badge

Expected behavior
It will show all user badges, while the actual result only show the HypeSquad only

System Details:

  • OS: Windows 10
  • Discord Client used for testing [mobile, desktop, web]: both trio

Additional context

  • This bug was found and tested by me and @luk

Code
https://github.com/Harshfeudal-Projects/Raiden-Shogun/blob/main/src/information/userInfo.cpp

Screenshot
My friend's account:
image

Mine account:
image

@harshfeudal harshfeudal added the bug Something isn't working label Nov 25, 2022
@braindigitalis
Copy link
Contributor

can't duplicate, please share code.

@braindigitalis
Copy link
Contributor

by code I mean a standalone test case demonstrating just the issue not an entire bot.

@braindigitalis
Copy link
Contributor

can you please confirm if #561 fixes this?

@Commandserver
Copy link
Member

Your problem probably is that you're using dpp::find_user. as this gives you only what is cached, the flags may be not all set. Try using cluster::user_get

@harshfeudal
Copy link
Contributor Author

Solved until Dpp version 10.0.22 ayy

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
None yet
Development

No branches or pull requests

3 participants