Skip to main content
Discord communities are where your most engaged users live — sharing feedback, asking questions, reporting bugs, and requesting features in real time. These four jobs pull messages from Discord’s REST API into Mavera’s surfaces (Mave Agent, Brand Voice, Generate, Focus Groups) to analyze community sentiment, extract persona-authentic language from voice transcripts, auto-generate FAQs from community questions, and mine feature requests for product focus groups.

API Reference Card

All examples use DISCORD_BOT_TOKEN (a bot token with MESSAGE_CONTENT intent enabled) and MAVERA_API_KEY. Bot must be added to the guild with Read Message History and Read Messages/View Channels permissions. Enable the Message Content Intent in your app’s settings at discord.com/developers.

Prerequisites

1

Discord bot application

Create a bot at discord.com/developers/applications. Under “Bot”, enable MESSAGE CONTENT INTENT and copy the bot token.
2

Bot permissions

When generating the invite URL, select: Read Messages/View Channels, Read Message History. For voice transcripts (Job 2), you’ll need a separate transcription service.
3

Guild and Channel IDs

Enable Developer Mode in Discord (Settings → Advanced → Developer Mode). Right-click channels/guilds to copy IDs.
4

Mavera API key

Get your key from Mavera dashboard.
5

Environment variables


Jobs


Rate Limits & Production Notes

Discord enforces rate limits per-route with global cap of 50 req/sec. Always check for 429 responses and respect retry_after. The MESSAGE_CONTENT intent is required for reading message content in guilds with 100+ members — enable it in the Developer Portal or you’ll get empty strings. Bot must be a guild member with Read Message History permission. Store bot tokens in env vars. Monitor Mavera credits at Dashboard.

All Integrations

Discord API Docs

Brand Voice

Focus Groups

Mave Agent

Generate