Prerequisites
- A Discord application and bot token from the Discord Developer Portal
- MESSAGE CONTENT privileged intent enabled in the portal
- The bot invited to your server with
Send Messages,Read Message History, andView Channelspermissions
Invite URL
ReplaceCLIENT_ID with your application’s client ID:
Configuration
In~/.meepagateway/agents/<id>/agent.yaml:
Discord bot token from the Developer Portal.
Restrict the bot to specific guilds (servers). Empty means all guilds.Example:
["1234567890123456789"]Behavior
- Self-messages are filtered automatically (bot user ID from the
READYevent) - Long responses are chunked at Discord’s 2000-character limit
- Rate limit headers are respected with automatic retry (max 2 retries)
- Guild and channel metadata is tracked from
GUILD_CREATEevents
