ClawLink

How to connect Discord Bot to OpenClaw

Connect Discord Bot to OpenClaw with ClawLink in one click — 165 tools your AI agent can call from chat via hosted OAuth. No API keys, no manual setup.

Get started for free
OpenClaw
OpenClaw
ClawLink
ClawLink
Discord Bot
Discord Bot
Discord BotOAUTH2MCP

Automate Discord server actions with bot-specific permissions. Once connected, OpenClaw can read and act on Discord Bot from chat — pairing, token refresh, and tool wiring handled for you.

165 tools

The usual route to Discord Bot access for OpenClaw is an MCP server you configure and keep running, plus your own OAuth app or API keys. ClawLink gives OpenClaw a more practical Discord Bot setup: install one ClawHub skill, connect Discord Bot in the browser, and OpenClaw can call real Discord Bot actions from any chat surface with no auth, token refresh, or tool wiring to build yourself.

Copy this prompt into OpenClaw, or open the Discord Bot skill on ClawHub.

Prompt for OpenClaw
Before installing anything, inspect the ClawHub skill metadata and setup requirements.
If the skill asks you to install a third-party package or CLI, verify its source, maintainer, and package contents before running the install command.
Install the skill "Discord Bot" (hith3sh/discord-bot) from ClawHub only after those checks pass.
Skill page: https://clawhub.ai/hith3sh/discord-bot
Keep the work scoped to this skill only.
After install, help me finish setup from verified skill metadata.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Setup

It takes three steps to connect OpenClaw to Discord Bot.

  1. 1

    Install the plugin

    Paste the setup prompt into OpenClaw, or install from the terminal and ask OpenClaw to pair:

    openclaw plugins install clawhub:clawlink-plugin
  2. 2

    Connect Discord Bot

    One-click OAuth in the dashboard.

  3. 3

    Use it from chat

    Ask OpenClaw: "What can you do with Discord Bot?"

Install by command

The setup prompt above does all of this in one paste. By hand, it is one install command plus a browser approval:

openclaw plugins install clawhub:clawlink-plugin

Then ask OpenClaw to set up ClawLink. It starts browser pairing and prints an approval link — open it, approve the device, return to the chat, and say done. Finally, connect Discord Bot in the ClawLink dashboard — a one-click OAuth approval, no API keys.

Verify the connection by asking OpenClaw:

Use Discord Bot to discordbot get active guild threads and walk me through the result in plain English.

Using a different agent?

The OpenClaw plugin is one client of ClawLink's MCP server. Claude Code, Cursor, Codex, or any agent that can run a shell command pairs with the same ClawLink account through the CLI:

npx -y @useclawlink/cli login

login opens the same browser approval and stores a credential locally. Once Discord Bot is connected in the dashboard, that agent calls the same 165 Discord Bot tools over MCP. Full setup for MCP clients and shell agents: connect apps to any AI agent.

Discord Bot MCP for OpenClaw

Looking for a Discord Bot MCP server for OpenClaw? ClawLink connects Discord Bot to OpenClaw and exposes 165 Discord Bot tools your agent can call over MCP, with hosted auth and nothing to run or maintain yourself. Using Hermes instead? The Hermes Discord Bot integration works the same way.

What the OpenClaw Discord Bot integration can do

165 Discord Bot tools are ready for OpenClaw once the account is connected. The 30 below are the ones people reach for most; your agent can call all 165.

30 of 165 Discord Bot tools for OpenClaw

ToolWhat it does
Get active guild threads discordbot_get_active_guild_threadsRetrieves all active (non-archived) threads in a Discord guild that the bot can access
Get application discordbot_get_applicationRetrieves the full details of a Discord application by its application_id
Get application command discordbot_get_application_commandRetrieves a specific global application command by its application ID and command ID
Get application role connections metadata discordbot_get_application_role_connections_metadataRetrieves all role connection metadata records for a Discord application
Get application user role connection discordbot_get_application_user_role_connectionFetches the role connection object for the current user for a specified Discord application
Get auto moderation rule discordbot_get_auto_moderation_ruleRetrieves the complete configuration of a specific auto moderation rule within a Discord guild
Get bot gateway discordbot_get_bot_gatewayRetrieves the WSS URL, recommended shard count, and session start limits for connecting a bot
Get channel discordbot_get_channelRetrieves detailed metadata for a specific Discord channel by its channel_id
Get gateway discordbot_get_gatewayRetrieves the WebSocket URL to connect to Discord's Gateway for receiving real-time events
Get guild discordbot_get_guildRetrieves detailed information for a specified Discord guild (server) by its guild_id
Get guild application command discordbot_get_guild_application_commandRetrieves detailed information for a specific application command within a Discord guild
Get guild application command permissions discordbot_get_guild_application_command_permissionsRetrieves the permissions for a specific application command within a guild
Get guild ban discordbot_get_guild_banFetches the ban details for a specific user in a Discord guild, if that user is currently banned
Get guild emoji discordbot_get_guild_emojiRetrieves details for a specific custom emoji within a specified Discord guild, requiring valid
Get guild member discordbot_get_guild_memberRetrieves detailed information for a specific member of a Discord guild, provided the bot
Get guild preview discordbot_get_guild_previewFetches a public preview of a Discord guild by its ID, if the guild has the preview feature
Get guild scheduled event discordbot_get_guild_scheduled_eventRetrieves a specific scheduled event from a Discord guild by its ID, optionally including the
Get guild sticker discordbot_get_guild_stickerRetrieves a specific sticker from a Discord guild using the guild and sticker IDs; requires the
Get guild template discordbot_get_guild_templateRetrieves the complete structure and details of a Discord guild template using its unique code
Get guild vanity URL discordbot_get_guild_vanity_urlRetrieves the vanity URL invite code and usage count for a Discord guild
Get guild webhooks discordbot_get_guild_webhooksRetrieves all webhooks for a specified Discord guild, requiring MANAGE_WEBHOOKS permission
Get guild welcome screen discordbot_get_guild_welcome_screenRetrieves the welcome screen configuration for a Discord guild with the Community feature
Get guild widget discordbot_get_guild_widgetRetrieves the public JSON widget data for a Discord guild, if the widget is enabled for that
Get guild widget png discordbot_get_guild_widget_pngRetrieve a PNG image widget for a Discord guild
Get guild widget settings discordbot_get_guild_widget_settingsRetrieves the widget settings for a specified Discord guild, indicating if the widget is
Get guilds onboarding discordbot_get_guilds_onboardingRetrieves the onboarding settings for a specified Discord guild, including prompts, options
Get message discordbot_get_messageRetrieves a specific message from a Discord channel by channel and message ID
Get my application discordbot_get_my_applicationRetrieves detailed information about the current authenticated Discord application via
Get my oauth2 application discordbot_get_my_oauth2_applicationRetrieves detailed information about the OAuth2 application associated with the current
Get original webhook message discordbot_get_original_webhook_messageRetrieves the original (@original) message from a Discord webhook or interaction response

Try it: find the Discord Bot tool you need

Browse the 30 Discord Bot tools

Click any tool to see exactly what OpenClaw can do and copy a ready-to-use prompt.

Example prompts

Use Discord Bot to discordbot get active guild threads and walk me through the result in plain English.

Use Discord Bot to discordbot get application and walk me through the result in plain English.

Use Discord Bot to discordbot get application command and walk me through the result in plain English.

Use Discord Bot to discordbot get application role connections metadata and walk me through the result in plain English.

The alternative to ClawLink is usually manual OAuth app setup plus your own token handling, permission troubleshooting, and tool plumbing for OpenClaw. That is fine if you want to build and maintain the integration yourself. Most teams just want Discord Bot working from chat.

ManualClawLink
Connection flowRegister a Discord Bot app, configure redirect URLs, manage consent details, and reconnect users when auth settings drift.Users connect Discord Bot through the hosted browser flow and ClawLink keeps the token lifecycle out of your app code.
Ongoing maintenanceYou own refresh logic, permission debugging, environment config, and every provider-specific edge case for Discord Bot.ClawLink handles the repetitive integration plumbing so your team can focus on the workflow instead of the infrastructure.
Agent usabilityYou still need to expose the right Discord Bot actions to the runtime in a format your agent can reliably use.165 tools for Discord Bot are already exposed through ClawLink, so the agent can read and act from chat immediately.

Composio also exposes Discord Bot to AI agents. It is developer infrastructure: Python and TypeScript SDKs, an MCP server, and a catalog past 1,000 apps, aimed at teams shipping agent products. ClawLink is built for OpenClaw users instead. You install the plugin once, connect Discord Bot in the browser, and the 165 tools above work from chat. There is no SDK, no config file, and no API key handling. Choosing between them? Read the full Composio alternatives comparison.

Troubleshooting

OpenClaw installed the Discord Bot skill but can't call the tools

The ClawHub skill teaches OpenClaw about Discord Bot, but the calls run through the ClawLink plugin and your connected account. Make sure Discord Bot is connected in the dashboard, then start a fresh chat so OpenClaw reloads the tool catalog. If OpenClaw runs as a persistent gateway, restart it so the new tools register.

Connection succeeds but no tools appear

Reconnect Discord Bot from the dashboard, then start a fresh chat if the runtime still has the old tool catalog loaded.

"Tool schema not loaded yet" error when calling Discord Bot tools

Discord Bot tool schemas load on demand the first time a tool runs and are cached after that, so this error usually clears on its own: wait a few seconds and retry the same request. If every Discord Bot call keeps failing with it in a fresh chat, reconnect from the dashboard, and contact support if it still persists — that pattern points to a configuration problem on our side, not something you can fix by reconnecting again.

Discord Bot returns 403 or "permission denied" on one action while others work

Two usual causes. The connected account may not have access to the specific workspace, inbox, store, or project in the request — check that first. If access looks right, the agent may have sent a placeholder value (like "YOUR_ID" or an example id from documentation) instead of a real one: ask it to run a list or search tool first, then retry the action with a real id from those results. Most failures at this stage are one of these two, not ClawLink bugs.

OAuth finished in the browser but the account is still missing

Try reconnecting Discord Bot and complete the consent flow in the same browser session. Partial OAuth approvals or switching accounts mid-flow can leave the connection incomplete.

FAQ

Is there a OpenClaw Discord Bot integration?

Yes. ClawLink is the fastest way to connect OpenClaw to Discord Bot: link your Discord Bot account once in the browser and OpenClaw can call the Discord Bot API through 165 ready-made tools — no custom code or token handling.

How do I add Discord Bot to OpenClaw with ClawLink?

Paste the setup prompt from this page into OpenClaw. It installs the ClawLink Discord Bot skill from ClawHub, then you click Connect in the dashboard to authorize Discord Bot. OpenClaw calls the tools from the next message — no config files or API keys to manage.

How long does it take to connect Discord Bot to OpenClaw?

About two minutes. Sign in, click Connect next to Discord Bot in the dashboard, authenticate, and OpenClaw can use it from the next chat message.

Why use ClawLink instead of wiring Discord Bot up myself?

The alternative to ClawLink is usually manual OAuth app setup plus your own token handling, permission troubleshooting, and tool plumbing for OpenClaw. That is fine if you want to build and maintain the integration yourself. Most teams just want Discord Bot working from chat.

OpenClaw installed the Discord Bot skill but can't call the tools

The ClawHub skill teaches OpenClaw about Discord Bot, but the calls run through the ClawLink plugin and your connected account. Make sure Discord Bot is connected in the dashboard, then start a fresh chat so OpenClaw reloads the tool catalog. If OpenClaw runs as a persistent gateway, restart it so the new tools register.