discord-flags icon indicating copy to clipboard operation
discord-flags copied to clipboard

Premium usage flags

Open addi00000 opened this issue 1 year ago • 8 comments

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.

addi00000 avatar Dec 21 '22 13:12 addi00000

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

Peter-Maguire avatar Dec 21 '22 13:12 Peter-Maguire

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?

lewisakura avatar Dec 21 '22 17:12 lewisakura

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 avatar Dec 21 '22 21:12 addi00000

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

lewisakura avatar Dec 21 '22 23:12 lewisakura

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 avatar Dec 21 '22 23:12 addi00000

I was using the normal user endpoint though

addi00000 avatar Dec 21 '22 23:12 addi00000

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)

MeguminSama avatar Dec 22 '22 00:12 MeguminSama

image

aiko-chan-ai avatar Mar 02 '23 11:03 aiko-chan-ai