Capabilities
Setup
1
Create a Discord Application
Go to discord.com/developers and create a new application.
2
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)
3
Register Slash Commands
Under OAuth2 > URL Generator, select scopes:
botapplications.commands
- Send Messages
- Read Message History
- Use Slash Commands
- Add Reactions
4
Invite the bot
Use the generated OAuth2 URL to invite the bot to your server.
5
Configure profClaw
Environment Variables
string
required
Your Discord bot token from the Developer Portal.
string
required
Your Discord application ID.
string
Application public key for webhook verification (required for HTTP interaction mode).
string
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