Discord
Send messages to Discord via webhook or bot API. You configure your own webhook URL or bot token โ we don't bundle any.
Setup options
Option A: Webhook (simplest)
- Open your Discord server โ channel settings โ Integrations โ Webhooks โ "New Webhook"
- Copy the webhook URL
- Set
DISCORD_WEBHOOK_URLin your environment
Option B: Bot (more powerful)
- Create an application at discord.com/developers
- Add a bot, copy the token
- Invite the bot to your server (OAuth2 URL generator with
botscope +Send Messagespermission) - Set
DISCORD_BOT_TOKENin your environment
Tools provided
| Tool | Requires | Purpose |
|---|---|---|
discord_send | DISCORD_WEBHOOK_URL | Plain text to webhook |
discord_send_embed | DISCORD_WEBHOOK_URL | Rich embed (title + description + url) |
discord_send_bot | DISCORD_BOT_TOKEN | Message to specific channel ID via bot |
All tools are mutation
Each Discord send is marked permission: "mutation". By default the gateway prompts via approvals. Add an auto-allow rule if you trust the tool:
curl -X POST http://127.0.0.1:18789/approvals/rules \
-d '{
"toolPattern": "discord_*",
"agent": "*",
"policy": "auto-allow",
"reason": "trusted Discord channel"
}'Privacy
Messages go directly from your gateway to Discord's API. No OpenVesper servers involved.
Source
Implementation: packages/plugins/discord/