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

Premium usage flags #27

Open
addi00000 opened this issue Dec 21, 2022 · 8 comments
Open

Premium usage flags #27

addi00000 opened this issue Dec 21, 2022 · 8 comments
Labels

Comments

@addi00000
Copy link

I was interested in the premium flags object pertaining to what the values were and how to decode it. Does anyone have a table for premium flags or is there some prior documentation?

Thanks.

@Peter-Maguire
Copy link
Contributor

Do you mean premium types, or a different object? https://discord.com/developers/docs/resources/user#user-object-premium-types

@lewisakura
Copy link
Owner

I'm unsure what you mean by premium flags, unless you mean premium types which Peter has linked for you there. If not, can you elaborate and give an example?

@addi00000
Copy link
Author

Sorry. I should've been more clear but i was referencing premium usage flags as shown below

image

Also maybe info on the purchased flags if someone knows.

@addi00000 addi00000 changed the title Premium flags Premium usage flags Dec 21, 2022
@lewisakura
Copy link
Owner

Where did you find those? I can't seem to find them on my own user object.

@addi00000
Copy link
Author

Where did you find those? I can't seem to find them on my own user object.

I believe they have to do with server boost status 1mo, 3mo, etc. They only show up on nitro boosted accounts with server boosting badges so thats all i can think of.

@addi00000
Copy link
Author

I was using the normal user endpoint though

@MeguminSama
Copy link
Collaborator

I believe its a bitfield of nitro features you've used (e.g. animated avatar, custom discrim, banner, etc.)

it's probably used to help discord decide what NUXes to show. (e.g. if you haven't set a banner yet, a popup might appear letting you know about it)

@aiko-chan-ai
Copy link
Contributor

image

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

No branches or pull requests

5 participants