Discord Integration
Manage AI agent approvals directly from your Discord server.
Features
- Approval notifications with interactive buttons
- Role-based approval permissions
- Threaded discussions for team decisions
- Slash commands for quick actions
Setup
1. Add the Bot
- Go to Settings > Integrations in the dashboard
- Click "Add to Discord"
- Select your server and authorize
2. Configure Channels
Set up which channels receive notifications:
JSON
{
"channels": {
"approvals": "1234567890123456789",
"alerts": "1234567890123456790"
},
"roles": {
"approvers": "1234567890123456791"
}
}3. Set Permissions
Configure which Discord roles can approve actions:
- @Admins - Can approve all actions
- @Security - Can approve security-related actions
- @Developers - Can approve dev environment actions
Slash Commands
TEXT
/firewall pending - List pending approvals
/firewall approve - Approve an action
/firewall deny - Deny an action
/firewall details - View action details
/firewall status - Check integration statusApproval Messages
When an action requires approval, an embed message is posted:
TEXT
š Approval Required
āāāāāāāāāāāāāāāāāāāā
Agent: customer-service-agent
Tool: http_proxy ā POST
š Target: api.company.com/customers
ā ļø Risk: Medium
[Approve] [Deny] [Details]Configuration
| Option | Description |
|---|---|
mention_role | Role to mention for new approvals |
use_threads | Create threads for discussions |
auto_delete | Delete resolved approval messages |
dm_approvers | DM assigned approvers directly |
Troubleshooting
- Ensure the bot has "Send Messages" and "Use Slash Commands" permissions
- Check that the bot can see the configured channels
- Verify your user has the approver role