Discord
AI assistance for your Discord community
Discord is where communities gather. Whether you're running a team, a gaming group, or a community, adding an AI assistant brings powerful capabilities to your server. Answer questions, moderate content, track tasks, and more.
Features
Server and DM support
Works in server channels and direct messages. Choose where your assistant lives.
Role-based access
Control who can use the assistant based on Discord roles.
Thread support
Keep conversations organized with Discord threads.
Rich embeds
Responses can include formatted embeds with images, links, and structured data.
Slash commands
Optional slash command support for specific actions.
Use Cases
Team assistant
Shared AI for your work team. Task tracking, meeting notes, quick answers.
Community helper
Answer frequently asked questions and help moderate your community.
Gaming companion
Game info lookup, strategy discussions, and session scheduling.
Developer productivity
Code help, documentation search, and debugging assistance in your dev server.
Setup Guide
Requirements
- ✓Discord account
- ✓Discord server (for server bots) or just DMs
- ✓Clawdbot running on a server or Mac
Create a Discord application
Go to discord.com/developers/applications and create a new application.
Create a bot
In your application settings, go to Bot and click 'Add Bot'. Save the token.
Enable Message Content Intent
Under Privileged Gateway Intents, enable 'Message Content Intent'. Required for reading messages.
Invite to your server
Generate an invite link under OAuth2 > URL Generator. Select 'bot' scope and needed permissions.
Configure Clawdbot
Add the discord section to your config with botToken and allowedUsers.
Configuration Example
discord:
botToken: \"your-discord-bot-token\"
allowedUsers:
- \"discord-user-id\"Limitations
- ⚠️Message Content Intent must be enabled for full functionality
- ⚠️2000 character limit per message (auto-split for longer responses)
Frequently Asked Questions
Can the bot work in multiple servers?
Yes, one bot can be invited to multiple servers. Use allowedUsers to control who can interact.
What permissions does the bot need?
At minimum: Read Messages, Send Messages, Read Message History. Add more for features like reactions or file attachments.
Can I make the bot private?
Yes, don't enable 'Public Bot' in the developer portal. Only you can add it to servers.
Does it work with Discord Nitro features?
The bot can send standard emoji and some formatting. Custom server emoji depends on bot permissions.