Skip to content

Discord Setup

Last updated: March 2026

Connecting your AI agent to Discord lets it participate in any text channel on your server. You create a bot application in Discord's Developer Portal, set the right permissions, invite the bot to your server, and enter the credentials in your OneClickClaw dashboard.

Step-by-step setup

1

Go to discord.com/developers/applications

Open discord.com/developers/applications and sign in with your Discord account.

2

Create a new application

Click New Application in the top right. Give it a name (for example, "OneClickClaw Agent") and accept the terms of service. Click Create.

3

Go to Bot section and create a bot

In the left sidebar, click Bot. If the bot has not been created automatically, click Add Bot and confirm. Scroll down to Privileged Gateway Intents and enable Message Content Intent. This allows your bot to read the contents of messages.

4

Copy the bot token

Under the bot's username, click Reset Token (or Copy if visible). Save this token somewhere safe. Discord only shows the token once, so copy it before navigating away.

5

Generate the invite URL with permissions

In the left sidebar, go to OAuth2 > URL Generator. Under scopes, check bot. In the permissions section below, check Send Messages and Read Message History. Copy the generated URL at the bottom of the page.

6

Invite the bot to your server

Open the generated URL in your browser. Select the server you want to add the bot to from the dropdown, then click Authorize. The bot appears in your server's member list.

7

Open the Channels page in OneClickClaw

Log in to your OneClickClaw dashboard. Navigate to your agent, then go to Channels and click Add Discord.

8

Paste the bot token and save

Paste your bot token into the "Bot Token" field and click Save. OneClickClaw validates the token, pushes the configuration to your server, and starts the Discord integration. The status indicator turns green when the bot is online.

Agent Panel — Channels — Add Discord

Channel Type

Discord (selected)

Bot Token

Your Discord bot token from the Developer Portal

Save Button

Click to validate and activate the channel

Test the connection

Go to a text channel in your Discord server where the bot has permission and send a message like "Hello, are you there?". Your agent should respond within a few seconds.

Note

Discord bots respond in channels where they have permission. Add the bot to specific channels you want it to monitor through Discord's channel permission settings.

Tip

If your bot appears offline in the member list but still responds to messages, that is normal. The bot's online status depends on how OpenClaw manages the Discord gateway connection. What matters is that it reads and replies to messages.

For information on viewing channel status and connecting additional platforms, see Managing Channels.