UnderstandSDK 0.10.1

Find it fast

These docs are public. To publish a plugin you need a YourBot account: sign in to open the Dev Portal.

Jump straight to the section that answers your question. The filter box above only searches the tab you are on.

I want to…Go to
React when someone joins, posts or clicksBuild: Events
Add a slash commandBuild: Slash commands
Read the text of messagesevents:message_content
Store per-server settings or countersStorage & I/O: Key-value store
Keep an API key without hardcoding itStorage & I/O: Encrypted secrets
Run real SQL queriesStorage & I/O: Sandboxed SQL
Call an external APIStorage & I/O: Outbound HTTP
Hold a live connection to a game serverStorage & I/O: WebSockets
Do something on a scheduleBuild: Cron schedules
Open a pop-up form (modal)Build: Modal dialogs
Update a message when a button is clickedBuild: Buttons & menus
Add a cooldown or rate-limit to a commandStorage & I/O: Ephemeral state
Give admins a settings pageDashboards: Manifest mode
Build a fully custom dashboard UIDashboards: Iframe mode
Test my plugin before uploadingGetting started: The yourbot CLI
Write unit tests for my handlersProduction: Testing
Handle SDK errors without crashingProduction: Error handling
Understand why module globals resetProduction: Pool mode
See what my plugin is allowed to touchReference: Capability catalog
Check every size and rate limitReference: Limits and quotas
Charge money for my pluginProduction: Selling your plugin
Publish and get reviewedProduction: Publish & review
See what changed in each SDK releaseReference: SDK changelog
YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction