discord-protos
Discord user settings protobufs.
Decision gist · record as of 2026-08-14
Yes, if you are building custom Discord clients or tools that need to work with Discord's internal protobuf formats. The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known security vulnerabilities. However, be aware that reverse-engineered protobufs may change without notice as Discord updates its client, and you should verify compatibility with your use case before relying on it in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; protobuf library must be installed as a runtime dependency.
- Low install friction with a pure-wheel distribution.
- Active maintenance with a release on 2026-08-14 and regular updates tied to Discord client changes.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making this suitable for both open-source and commercial projects.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 148 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 110,523 downloads/mo, #12,454 on PyPI
Alternatives
Verify before relying
pip install discord-protos
import base64
from discord_protos import PreloadedUserSettings
settings = PreloadedUserSettings()
payload = settings.SerializeToString()
encoded = base64.b64encode(payload).decode('ascii')- Whether the automatically-generated protobufs remain compatible across Discord client versions without breaking changes.
- Performance characteristics when handling large or deeply-nested protobuf messages.
- Whether reverse-engineered protobufs are subject to Discord's terms of service or legal constraints.
What it is and what it does
discord-protos is a Python package containing automatically-generated protocol buffer definitions extracted from Discord's client source code. It provides ready-to-use message classes for encoding and decoding Discord's internal data formats, particularly user settings like PreloadedUserSettings and FrecencyUserSettings. The package is maintained by tracking changes in Discord's protobufs and releasing updates automatically when new definitions are detected.
The package depends on protobuf and mypy-protobuf for runtime support. It is designed for developers who need to work with Discord's wire protocol or settings data outside the official Discord API—for example, building custom clients, analyzing settings structures, or integrating with Discord's internal message formats. The protobufs are provided as compiled Python modules ready for import and use.
Use it for
- Serialize and deserialize Discord user settings (status, custom status, preferences) for custom Discord client implementations.
- Encode user settings data to base64 for transmission or storage in a format compatible with Discord's protocol.
- Parse and inspect Discord's internal protobuf messages when reverse-engineering or analyzing Discord client behavior.
- Build Discord bots or tools that need to work with user settings data at the protocol level.
- Test or validate Discord protocol changes by comparing generated protobufs against known message structures.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building custom Discord clients or tools that need to work with Discord's internal protobuf formats.
The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known security vulnerabilities. However, be aware that reverse-engineered protobufs may change without notice as Discord updates its client, and you should verify compatibility with your use case before relying on it in production.
Install
discord-protos on PyPI
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a release on 2026-08-14 and regular updates tied to Discord client changes. Depends on protobuf and mypy-protobuf, both standard tooling.
Requires Python 3.8 or later; protobuf library must be installed as a runtime dependency.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making this suitable for both open-source and commercial projects.
Quickstart
pip install discord-protos
import base64
from discord_protos import PreloadedUserSettings
settings = PreloadedUserSettings()
payload = settings.SerializeToString()
encoded = base64.b64encode(payload).decode('ascii')
Verify before relying
- Whether the automatically-generated protobufs remain compatible across Discord client versions without breaking changes.
- Performance characteristics when handling large or deeply-nested protobuf messages.
- Whether reverse-engineered protobufs are subject to Discord's terms of service or legal constraints.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesprotobufmypy-protobuf |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 110,523 / month, #12,454 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: InternetTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: discord_protos-1.2.296-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “discord protocol buffers python”
- discord-protosProvides Python bindings for Discord's protocol buffer definitions,…
- daveyImplements the Discord Audio & Video End-to-End Encryption (DAVE)…
- proto-plusProto Plus wraps protocol buffers to provide Python classes that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also dbt-protos · opensearch-protobufs · gtfs-realtime-bindings · bbpb · pure-protobuf · proto-plus · substrait-protobuf · pbtools · proto-google-cloud-datastore-v1 · mcap-protobuf-support