Capabilities
| Feature | Supported |
|---|---|
| Direct messages | Yes |
| Server channels | Yes (on mention/command) |
| Slash commands | Yes |
| Interactive buttons | Yes |
| File attachments | Yes |
| Threads | Yes |
| Reactions | Yes |
| OAuth app install | Yes |
Setup
Create a Discord Application
Go to discord.com/developers and create a new application.
Create a Bot
Under Bot, click Add Bot. Copy the bot token.Enable these Privileged Gateway Intents:
- Message Content Intent (required to read messages)
- Server Members Intent (optional, for member lookup)
Register Slash Commands
Under OAuth2 > URL Generator, select scopes:
botapplications.commands
- Send Messages
- Read Message History
- Use Slash Commands
- Add Reactions
Environment Variables
Your Discord bot token from the Developer Portal.
Your Discord application ID.
Application public key for webhook verification (required for HTTP interaction mode).
Restrict to a single guild/server. Leave empty for multi-server support.
Configuration Example
- .env
- settings.yml
Slash Commands
profClaw registers these slash commands automatically:Usage Examples
Notes
- Bot connects via Discord’s Gateway (WebSocket) for real-time events - no public webhook URL needed.
- For large servers, use
DISCORD_GUILD_IDto scope the bot to one server for faster slash command registration. - Global slash command registration can take up to 1 hour to propagate; guild-scoped commands are instant.
- Multi-server support works without additional configuration.
Related
- Chat Providers Overview - Compare all 27 supported channels
- Slack - Workspace messaging with Socket Mode
- Notifications Tool - Send proactive messages to Discord channels from agents
- profclaw channels - Enable and test the Discord connection from the CLI