Docs
Discord Setup

Discord Setup

How to create a Discord bot and connect it to your ClawCloud assistant.

This guide walks you through creating a Discord bot and connecting it to your ClawCloud assistant.

Create a Discord bot

Go to the Developer Portal

Open the Discord Developer Portal and sign in with your Discord account.

Create an application

Click New Application, give it a name (e.g. "My AI Assistant"), and click Create.

Create a bot

In the left sidebar, click Bot. Then click Add Bot and confirm.

Enable Message Content Intent

Under the Privileged Gateway Intents section, enable Message Content Intent. This allows your bot to read message content in servers.

Without Message Content Intent enabled, your bot won't be able to read messages. This is required for your assistant to work.

Copy the bot token

Click Reset Token (or Copy if visible) to get your bot token. It looks something like:

<YOUR_DISCORD_BOT_TOKEN>

Copy this token — you'll need it in the next step.

Invite the bot to your server

  1. Go to OAuth2 > URL Generator in the sidebar
  2. Under Scopes, check bot
  3. Under Bot Permissions, check: Send Messages, Read Message History, Attach Files, Embed Links
  4. Copy the generated URL at the bottom and open it in your browser
  5. Select the server you want to add the bot to and click Authorize

Connect to ClawCloud

  1. Go to the ClawCloud setup wizard
  2. Select Discord as your channel
  3. Paste your bot token into the field
  4. Click Deploy

After deployment completes and you connect your Claude account, your bot will be live. Go to your Discord server and send a message in any channel the bot has access to.

Tips

  • Channel access: The bot can only see channels it has permission to read. Check your server's role settings if the bot isn't responding
  • Direct messages: Users can also DM the bot directly
  • Mentions: In servers, mention the bot with @BotName to get its attention, or it will respond to all messages in channels it has access to depending on your configuration