ClawCloudClawCloud.sh
How it worksModelsPricingCompareGuidesBlog
Log in
DeployDeploy Now
ClawCloud logoClawCloud

Managed OpenClaw AI assistant hosting on dedicated cloud servers.

Deploy now →
Product
ModelsPricingCompare PlansOpenClaw HostingOpenClaw VPSOpenClaw CloudTelegram BotDiscord BotFeishu BotUse CasesFAQ
Resources
GuidesBlogTopicsOpenClawGitHub
Company
ContactTerms of ServicePrivacy Policy
© 2026 ClawCloud. All rights reserved.
All guides

OpenClaw Discord Bot Setup Guide (Developer Portal Token)

Published February 11, 2026

You need a Discord bot token to deploy an OpenClaw assistant on Discord. This OpenClaw setup guide walks through the full process: creating an application, adding a bot, getting the token, and inviting it to your server.

If you want the full Discord bot hosting overview before setup, see OpenClaw Discord Bot Hosting.

For practical deployment patterns and post-deploy behavior tips, see Run an AI Discord Bot with OpenClaw.

OpenClaw Discord Bot Setup (Support Terms)

If you searched for openclaw discord bot token, openclaw discord bot setup, or openclaw add discord channel, this page is the canonical setup flow for ClawCloud deployments.

Already have your Discord bot token? Jump to Step 5: Deploy on ClawCloud.

What you need before starting

  • A Discord account
  • Access to the Discord Developer Portal
  • Permission to invite apps to your Discord server
  • About 5 minutes to complete setup

Step 1: Create a Discord application

Go to the Discord Developer Portal and sign in with your Discord account.

Click "New Application" in the top right. Give it a name (this is internal — your bot's display name is set separately). Click Create.

Discord Developer Portal with New Application button and name dialog

Step 2: Add a bot

In your new application, click "Bot" in the left sidebar.

Discord Developer Portal Bot page with Reset Token button

Click "Reset Token" to generate a bot token. Discord will show the token once — copy it now.

Discord Developer Portal Bot page with revealed token

MTE5MDg3NjQ0NjY4NTk2NTQwMA.GBjPJt.example_token_here

Save this token somewhere safe. You'll paste it into the ClawCloud deploy wizard.

Step 3: Configure bot permissions

While you're on the Bot page, scroll down to "Privileged Gateway Intents" and enable:

  • Message Content Intent — Required so the bot can read and respond to messages.
  • Server Members Intent — Recommended for role-based allowlists and user matching.
  • Presence Intent — Optional.

Click Save Changes.

Discord Bot settings with Message Content Intent toggle enabled

Step 4: Invite the bot to your server

Go to "OAuth2" in the left sidebar, then click "URL Generator".

Under Scopes, select:

  • bot
  • applications.commands

Under Bot Permissions, select:

  • View Channels
  • Send Messages
  • Read Message History
  • Embed Links
  • Attach Files
  • Add Reactions (optional)

Bot scope:

Discord OAuth2 URL Generator with bot scope selected

Message permissions:

Discord OAuth2 URL Generator with bot scope and message permissions selected

Generate the URL:

Discord OAuth2 URL Generator showing generated invite URL with copy button

Copy the generated URL at the bottom and open it in your browser. Discord will ask you to authorize the bot.

Complete the authorization flow: select your server, click Continue, review permissions, click Authorise, and confirm the success message.

Discord bot authorization flow showing server selection, permission confirmation, and success message left to right

Step 5: Deploy on ClawCloud

Go to the ClawCloud deploy wizard, Discord will be preselected, and paste the bot token. Your bot will be live in under a minute.

Step 6: Verify and tune your bot

  1. Send a DM to your bot and confirm it replies.
  2. Send a message in your server and confirm the bot can respond.
  3. Tune behavior after first deploy with these guides.
  • How to Configure OpenClaw Group Chat Behavior
  • How to Change the OpenClaw DM Policy
  • How to Switch AI Models on Your OpenClaw Bot
  • How to Unlock DM Access on Your OpenClaw Bot

Troubleshooting

Bot is online but not responding

Make sure you enabled Message Content Intent in Step 3. Without it, the bot cannot read regular message content.

Also confirm the bot was invited to the correct server in Step 4.

Bot token invalid error

Tokens can only be viewed once when generated. If you lost it, return to the Bot page and click Reset Token to generate a new one.

Slash commands missing

Make sure you included applications.commands in OAuth scopes during Step 4. If needed, regenerate the invite URL and re-authorize the bot.

Bot not appearing in server

Make sure you completed Step 4 and authorized the bot for the correct server. The bot must be invited before it can respond.

What to read next

  • Deploy an OpenClaw Discord Bot (use case)
  • Run an AI Discord Bot with OpenClaw (blog)
  • OpenClaw CLI Commands: The Complete Reference
  • Getting Started with OpenClaw on ClawCloud
  • OpenClaw Discord Bot Hosting

For more details on Discord channel configuration, see the OpenClaw Discord documentation.

Ready to deploy?

Skip the setup — your OpenClaw assistant runs on a dedicated server in under a minute.

Deploy Your OpenClaw

Keep reading

OpenClaw Discord BotsGetting Started with OpenClawAll topics →
Post

What Is the OpenClaw Agent (And How It Differs from a Chatbot)

OpenClaw is an AI agent, not just a chatbot. Here's what that distinction means in practice, what tools it has, and why it needs a persistent server.

Post

Run an AI Feishu Bot with OpenClaw

Run an OpenClaw AI Feishu bot on ClawCloud with dedicated server hosting, App ID/App Secret setup, and streaming replies in chat.

Post

OpenClaw 101: What It Is and How to Get Started

A plain-language intro to OpenClaw — what it does, what you need, and two paths to get your own AI bot running on Telegram or Discord.

Post

How to Install Custom OpenClaw Skills via Chat

Learn how to create and install custom OpenClaw skills by dropping a zip file into Telegram, Discord, or Feishu. No SSH or server access required.

Post

Why OpenClaw npm install Fails (and How to Actually Fix It)

Fix npm install failed for openclaw@latest, sharp/libvips, PATH, permission, and openclaw onboard command not found on macOS and Linux.

Post

Run an AI Discord Bot with OpenClaw

Run an OpenClaw AI Discord bot on ClawCloud with a dedicated server, Discord token setup, and model switching directly in chat.