Skip to content

Commit 5704570

Browse files
Merge pull request #54 from spacebarchat/feat/researchdocs
Reverse engineering docs
2 parents 57b092a + d090d62 commit 5704570

3 files changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Client reverse engineering
2+
3+
## [Enums](enums.md)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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

0 commit comments

Comments
 (0)