{"repo":"discord-userdoccers/discord-protos","free":true,"listed":false,"github":"https://github.com/discord-userdoccers/discord-protos","clone":"git clone https://github.com/discord-userdoccers/discord-protos.git","description":"Reverse-engineering Discord's user settings (and other!) protobufs","language":"TypeScript","stars":148,"topics":["discord","discord-api","discord-bot","discordapp"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Discord Protocol Buffers Reverse-engineering Discord's protobufs. This repository provides protocol buffer files for all protobufs found in Discord's client source, automatically generated and automatically updated. The protobufs are provided as .proto files in the out/ directory. These protobufs are used by Discord clients for transmitting data like user settings and premium marketing. Usage Installation Note: These packages are automatically updated when changes are detected in the protobufs. As Discord often updates their protobufs, pinning to a specific version may be advisable. Example JavaScript: Python: The following table shows which protobuf user settings correspond to which .proto file (the Python package also provides a UserSettingsType enum for convenience). Type Value File Use ---- --------------------------------- --------------------------- -------------------------------------------------- 1 PRELOADED USER SETTINGS PreloadedUserSettings.proto General Discord user settings. 2 FRECENCY AND FAVORITES SETTINGS FrecencyUserSettings.proto Frecency and favorites storage for various things. 3 TEST SETTINGS - Unknown. See Userdoccers for more information. Development Running pnpm load will extract and save the latest protobufs to the discord protos/ directory.","default_branch":null,"files":null,"tree":[],"storefront":"/r/discord-userdoccers","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/discord-userdoccers/discord-protos/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}