Docs/Apps & Integrations/Discord Integration

Discord Integration

Connect your Discord server to grant roles on purchase and post sale announcements.

The storra.discord app handles two main flows: granting Discord roles to customers when they buy specific packages, and posting purchase notifications to a Discord channel.

Connect your Discord server

  1. Go to Discord.
  2. Click Add bot to server. You'll be redirected to Discord's OAuth flow.
  3. Pick the server you want Storra to manage. The bot needs Manage Roles permission and the role must be below the bot's own role in your server settings.
  4. After authorizing, you're redirected back. The Discord card now shows your server name and channel list.

Role grants on purchase

For each package, in the deliverables editor, add a Discord role deliverable and pick the role to grant. The customer needs to link their Discord account at checkout (Storra prompts them with a one-click OAuth popup).

When the order completes, Storra calls Discord's API to add the role. Refunds don't auto-revoke roles by default — toggle "Revoke role on refund" in the package settings if you want that behavior.

Purchase announcements

Pick a Discord channel where Storra should post a message every time someone buys (or a subset — only purchases above $X, only specific packages, etc.). The message format is configurable.

Linked accounts

The dashboard's Linked Discord accounts table shows every customer who's connected their Discord, with their Minecraft username + Discord user ID. Useful for moderation cross-reference.

Was this page helpful?Suggest an edit →

Updated recently