Discord
Run Ryvos as a Discord bot. Send messages in DMs, receive rich embed responses, and approve tool calls with buttons.
Setup
1. Create a Bot
- Go to the Discord Developer Portal
- Create a new application
- Go to Bot tab, create a bot
- Copy the bot token
- Enable Message Content Intent under Privileged Gateway Intents
- Invite the bot to your server with appropriate permissions
2. Get Your User ID
Enable Developer Mode in Discord settings, then right-click your username and copy your user ID.
3. Configure Ryvos
[channels.discord]
bot_token = "${DISCORD_BOT_TOKEN}"
dm_policy = "allowlist"
allowed_users = [123456789012345678] # Your Discord user ID (u64)4. Start
export DISCORD_BOT_TOKEN="your-token"
ryvos daemonDM Policy
| Policy | Behavior |
|---|---|
allowlist | Only users in allowed_users can interact |
open | Anyone can DM the bot |
disabled | Discord adapter doesn't start |
Rich Embeds
Ryvos formats responses as Discord embeds with:
- Code blocks with syntax highlighting
- Tool call results in collapsed sections
- Approval requests as button components
Approval Flow
Approval requests appear as embeds with interactive buttons:
⚠ Approval Required
Tool: bash
Tier: T3
Input: git push origin main
[Approve] [Deny]
Click the button to respond.