From 4b1a795d89994ec3441efe2e9c25bd16d15d45a8 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Wed, 1 Feb 2023 13:51:46 +1100 Subject: [PATCH 1/4] some enums puyo and I talked about --- .../Reverse Engineering/client/enums.md | 19 +++++++++++++++++++ .../Reverse Engineering/client/index.md | 3 +++ .../contributing/Reverse Engineering/index.md | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 docs/contributing/Reverse Engineering/client/enums.md create mode 100644 docs/contributing/Reverse Engineering/client/index.md create mode 100644 docs/contributing/Reverse Engineering/index.md diff --git a/docs/contributing/Reverse Engineering/client/enums.md b/docs/contributing/Reverse Engineering/client/enums.md new file mode 100644 index 00000000..65241e5d --- /dev/null +++ b/docs/contributing/Reverse Engineering/client/enums.md @@ -0,0 +1,19 @@ +# Enums and bitfields and such + +Various interesting enums/bitfields/etc found by inspecting the client source + +## `usage_flags` + +Bitfield which tracks which premium features you have used in order +Fto convince you out of unsubscribing from premium features. + +| name | value | +| --------------------- | ----- | +| PREMIUM_DISCRIMINATOR | 1 | +| ANIMATED_AVATAR | 2 | +| PROFILE_BANNER | 4 | + +## `purchased_flags` + +Bitfield which may track which premium features have ever been bought on this account. +Uses the values of each [premium type](https://discord.com/developers/docs/resources/user#user-object-premium-types) diff --git a/docs/contributing/Reverse Engineering/client/index.md b/docs/contributing/Reverse Engineering/client/index.md new file mode 100644 index 00000000..7b08afb5 --- /dev/null +++ b/docs/contributing/Reverse Engineering/client/index.md @@ -0,0 +1,3 @@ +# Client reverse engineering + +## [Enums](enums.md) diff --git a/docs/contributing/Reverse Engineering/index.md b/docs/contributing/Reverse Engineering/index.md new file mode 100644 index 00000000..d35ac8de --- /dev/null +++ b/docs/contributing/Reverse Engineering/index.md @@ -0,0 +1,11 @@ +# Reverse Engineering + +This section contains various articles relating to the reverse engineering of Discord and it's client. + +There are various other resources that have been incredibly helpful in our endevours, such as: + +- [Luna's unofficial Discord docs](https://luna.gitlab.io/discord-unofficial-docs/) +- [Litecord](https://gitlab.com/litecord/litecord) +- [DiscordLists](https://github.com/Delitefully/DiscordLists) +- [Discord Datamining](https://github.com/Discord-Datamining/Discord-Datamining) +- [Discord.js](https://discord.js.org) and other bot implementations From 38f43f4e68f30babb4e23ce3e7239ac5bb0c250c Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Tue, 28 Feb 2023 22:05:21 +1100 Subject: [PATCH 2/4] Update docs/contributing/Reverse Engineering/client/enums.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Erkin Alp Güney --- docs/contributing/Reverse Engineering/client/enums.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributing/Reverse Engineering/client/enums.md b/docs/contributing/Reverse Engineering/client/enums.md index 65241e5d..19d292c8 100644 --- a/docs/contributing/Reverse Engineering/client/enums.md +++ b/docs/contributing/Reverse Engineering/client/enums.md @@ -5,7 +5,7 @@ Various interesting enums/bitfields/etc found by inspecting the client source ## `usage_flags` Bitfield which tracks which premium features you have used in order -Fto convince you out of unsubscribing from premium features. +to convince you out of unsubscribing from premium features. | name | value | | --------------------- | ----- | From 25de85559751709e681d11bd0b4f2aeb18c2c87f Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Sun, 22 Sep 2024 19:13:43 -0400 Subject: [PATCH 3/4] add discord.sex to resources --- docs/contributing/Reverse Engineering/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/contributing/Reverse Engineering/index.md b/docs/contributing/Reverse Engineering/index.md index d35ac8de..4f5cbc20 100644 --- a/docs/contributing/Reverse Engineering/index.md +++ b/docs/contributing/Reverse Engineering/index.md @@ -4,6 +4,7 @@ This section contains various articles relating to the reverse engineering of Di There are various other resources that have been incredibly helpful in our endevours, such as: +- [Discord user docs](https://docs.discord.sex) - [Luna's unofficial Discord docs](https://luna.gitlab.io/discord-unofficial-docs/) - [Litecord](https://gitlab.com/litecord/litecord) - [DiscordLists](https://github.com/Delitefully/DiscordLists) From 88d64c281515e4f0ff795ce764910fbdaebb3e9c Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Thu, 3 Jul 2025 11:37:20 +1000 Subject: [PATCH 4/4] Update docs/contributing/Reverse Engineering/index.md Co-authored-by: dank074 --- docs/contributing/Reverse Engineering/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contributing/Reverse Engineering/index.md b/docs/contributing/Reverse Engineering/index.md index 4f5cbc20..0cc41e3c 100644 --- a/docs/contributing/Reverse Engineering/index.md +++ b/docs/contributing/Reverse Engineering/index.md @@ -4,7 +4,7 @@ This section contains various articles relating to the reverse engineering of Di There are various other resources that have been incredibly helpful in our endevours, such as: -- [Discord user docs](https://docs.discord.sex) +- [Discord user docs](https://docs.discord.food) - [Luna's unofficial Discord docs](https://luna.gitlab.io/discord-unofficial-docs/) - [Litecord](https://gitlab.com/litecord/litecord) - [DiscordLists](https://github.com/Delitefully/DiscordLists)