Production
Typed errors, testing with MockContext, capabilities, the sandbox guarantees, pool mode, publishing, review and selling.
Error handling
The SDK raises typed exceptions instead of returning error dicts. All inherit from SdkError so you can catch broadly or narrowly. from yourbot_sdk import ( SdkError,…
Testing
Plugins test like any other Python code — no Docker, no platform connection, no Discord mocks. Import from yourbot_sdk.testing : from yourbot_sdk.testing import MockContext,…
Capabilities
Every API your plugin uses corresponds to a capability. Declare them in capabilities_required ; server admins choose which to grant at install time. The full table of…
Sandbox — what it guarantees
Marketplace plugins run in isolated Docker containers. The sandbox isn't a limitation placed on you — it's a set of guarantees made on your behalf. What the sandbox guarantees you…
Pool mode
Plugins share a container to cut overhead: pooling is how the marketplace runtime is deployed today, so assume your plugin runs pooled (what varies per plugin is pool size, which…
Publish & review
Upload your zip on the Dev Portal (or link a GitHub repo and pull versions from it). Run yourbot validate first — it applies the same checks locally. The reviewer checks: Manifest…
Selling your plugin
A price is optional: free plugins are welcome and many of the most-installed ones are free. When you do charge, the platform handles checkout, invoicing, refunds and payouts.…