File tree Expand file tree Collapse file tree
docs/contributing/reverse-engineering Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Enums and bitfields and such
2+
3+ Various interesting enums/bitfields/etc found by inspecting the client source
4+
5+ ## ` usage_flags `
6+
7+ Bitfield which tracks which premium features you have used in order
8+ to convince you out of unsubscribing from premium features.
9+
10+ | name | value |
11+ | --------------------- | ----- |
12+ | PREMIUM_DISCRIMINATOR | 1 |
13+ | ANIMATED_AVATAR | 2 |
14+ | PROFILE_BANNER | 4 |
15+
16+ ## ` purchased_flags `
17+
18+ Bitfield which may track which premium features have ever been bought on this account.
19+ Uses the values of each [ premium type] ( https://discord.com/developers/docs/resources/user#user-object-premium-types )
Original file line number Diff line number Diff line change 1+ # Client reverse engineering
2+
3+ ## [ Enums] ( enums.md )
Original file line number Diff line number Diff line change 1+ # Reverse Engineering
2+
3+ This section contains various articles relating to the reverse engineering of Discord and it's client.
4+
5+ There are various other resources that have been incredibly helpful in our endevours, such as:
6+
7+ - [ Discord user docs] ( https://docs.discord.food )
8+ - [ Luna's unofficial Discord docs] ( https://luna.gitlab.io/discord-unofficial-docs/ )
9+ - [ Litecord] ( https://gitlab.com/litecord/litecord )
10+ - [ DiscordLists] ( https://github.com/Delitefully/DiscordLists )
11+ - [ Discord Datamining] ( https://github.com/Discord-Datamining/Discord-Datamining )
12+ - [ Discord.js] ( https://discord.js.org ) and other bot implementations
You can’t perform that action at this time.
0 commit comments