Skip to main content
profClaw’s Discord integration registers as a bot on your server and responds to slash commands, direct messages, and @mentions.

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:
  • bot
  • applications.commands
Select bot permissions:
  • 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

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_ID to 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.