Documentation Index
Fetch the complete documentation index at: https://docs.mavera.io/llms.txt
Use this file to discover all available pages before exploring further.
Scenario
Your Discord community’s mood shifts week to week — a buggy release tanks sentiment, a popular feature launch creates excitement. This job pulls messages from key channels (general, support, feedback), analyzes sentiment via Mave, and produces a weekly sentiment report with trend comparisons, topic breakdown, and recommended community actions. Flow: DiscordGET /channels/{id}/messages (multiple channels) → Aggregate → Mavera POST /mave/chat → Weekly sentiment report
Code
Example Output
Error Handling
Message Content Intent
Message Content Intent
Without
MESSAGE_CONTENT intent enabled, bot receives empty content for messages in guilds with 100+ members. Enable it in Developer Portal → Bot settings.Rate limits
Rate limits
Discord returns
429 with retry_after in seconds. The code handles this automatically. Global limit is 50 req/sec but per-route limits are lower.Snowflake pagination
Snowflake pagination
Discord uses snowflake IDs for pagination. The
after parameter fetches messages newer than a given ID. Convert timestamps to snowflakes for date-based filtering.