Skip to main content
Share
Guides

Connecting OpenClaw to Telegram, Discord and Slack: Tokens, Intents, Scopes and the Errors You'll Hit

OpenClaw connects to Telegram, Discord and Slack with ordinary bot tokens, so most setup failures are platform errors you can check in seconds. Config keys, pairing, privacy mode, intents, Slack tokens and scopes, and a symptom-by-symptom fix table, verified against OpenClaw's own docs.

Content & Engineering
Nov 23, 2026
10 min read
Last verified October 2026
openclaw telegram setupopenclaw telegram bot not respondingopenclaw discord bot setupdiscord bot permissions openclawopenclaw slack missing_scope
TL;DR

OpenClaw connects to Telegram, Discord and Slack with ordinary bot tokens, so most setup failures are platform errors you can check in seconds. Config keys, pairing, privacy mode, intents, Slack tokens and scopes, and a symptom-by-symptom fix table, verified against OpenClaw's own docs.

Key Takeaways
  • OpenClaw talks to Telegram, Discord and Slack through ordinary bot tokens, so most setup failures are platform errors you can check in seconds: a revoked Telegram token, a Discord bot without the Message Content intent, or a Slack app missing scopes.
  • Last verified: 25 October 2026 against OpenClaw's documentation at docs.openclaw.ai and its GitHub repository (latest release at the time: 2026.10.7).
  • Conferbot is not affiliated with OpenClaw; this is an independent guide.
  • OpenClaw changes quickly, so check the linked pages if a key name below does not match your version.

The short answer

OpenClaw talks to Telegram, Discord and Slack through ordinary bot tokens, so most setup failures are platform errors you can check in seconds: a revoked Telegram token, a Discord bot without the Message Content intent, or a Slack app missing scopes.

Last verified: 25 October 2026 against OpenClaw's documentation at docs.openclaw.ai and its GitHub repository (latest release at the time: 2026.10.7). Conferbot is not affiliated with OpenClaw; this is an independent guide. OpenClaw changes quickly, so check the linked pages if a key name below does not match your version.

OpenClaw describes itself as "an AI assistant you run on your own infrastructure - for yourself, or shared with your team." It is MIT-licensed and stewarded by the OpenClaw Foundation. Its always-on process, the Gateway, connects to chat apps as a normal bot. That is the useful insight for debugging: when OpenClaw is silent on a channel, the cause is usually either the platform rejecting the bot (token, intent, scope) or OpenClaw's own access rules (pairing, allowlists, mention gating) deliberately ignoring the message. This guide separates the two.

ChannelHow it shipsCredentialConfig key
TelegramIncluded with OpenClawBotFather tokenchannels.telegram.botToken (or TELEGRAM_BOT_TOKEN)
DiscordPlugin: openclaw plugins install @openclaw/discordBot token from the Developer Portalchannels.discord.token
SlackPlugin: openclaw plugins install @openclaw/slackApp-level token + bot tokenchannels.slack.appToken, channels.slack.botToken

Config lives in ~/.openclaw/openclaw.json (JSON5). OpenClaw validates it strictly, so a misspelled key stops the Gateway from starting rather than being ignored; openclaw doctor --fix repairs legacy keys.

Run these five commands first

OpenClaw's channel troubleshooting page gives a fixed order. It is worth following literally, because each step rules out a whole class of problems:

openclaw statusopenclaw gateway statusopenclaw logs --followopenclaw doctoropenclaw channels status --probe

The healthy baseline it describes: Runtime: running, a successful connectivity check, and a channel check that "shows transport connected and, where supported, works or audit ok." If the transport is not connected, the problem is the token or the platform side. If the transport is connected and the bot still ignores you, the problem is almost always OpenClaw's access policy, not the platform.

Keep openclaw logs --follow open in a second terminal while you test. OpenClaw logs skip reasons when it deliberately drops a message (not paired, not allowlisted, no mention), and that one line usually ends the investigation.

Telegram: token, pairing, privacy mode

Setup

Per OpenClaw's Telegram setup page: chat with @BotFather (check the handle is exactly @BotFather), run /newbot, and save the token. Then either let the CLI write it, openclaw channels add --channel telegram --token <bot-token>, or add it by hand:

{channels: {telegram: {enabled: true,botToken: "123:abc",dmPolicy: "pairing",groups: { "*": { requireMention: true } },},},}

Token precedence matters when you rotate: "tokenFile beats botToken, and botToken beats env." If you updated TELEGRAM_BOT_TOKEN and nothing changed, a token in the config file is still winning.

Pairing: why your first DM gets a code, not an answer

"Default DM policy for Telegram is pairing." Your first message to the bot creates a pairing request; approve it with:

openclaw pairing list telegramopenclaw pairing approve telegram <CODE>

Pairing codes expire after 1 hour. The other dmPolicy values are allowlist, open and disabled. OpenClaw's docs warn that open with "*" "lets any Telegram account that finds or guesses the bot username command the bot", which for an assistant with tools on your machine is a real risk.

Groups and privacy mode

Two separate filters decide whether OpenClaw answers in a group, and people usually fix only one:

  1. Telegram's privacy mode. Telegram bots start in privacy mode, so in groups they receive only commands, replies and mentions. OpenClaw's docs: disable it with /setprivacy in BotFather or make the bot an admin, then "remove and re-add the bot in each group so Telegram applies the change."
  2. OpenClaw's group allowlist. The group's chat ID (supergroups start with -100) must be a key under channels.telegram.groups, or "*" must be. The docs are blunt: "groupAllowFrom is not a group allowlist"; it lists people, not groups. Group replies also need a mention by default.

Our Telegram chat ID finder gets the -100... ID if you do not want to dig it out of getUpdates.

Try it yourself
Build your first chatbot free
Free plan, no credit card required. Live on your site in about 10 minutes.
Start building free

Telegram errors and what they mean here

What you seeCauseFix
getMe returned 401 or deleteWebhook 401 Unauthorized at startupToken wrong, revoked or regenerated in BotFatherPaste the current token; check it with the token checker. See 401 Unauthorized
A getUpdates conflict in logsA webhook is still set, or another process polls the same tokenRun one consumer per token. See 409 terminated by other getUpdates and 409 webhook is active
Bot answers mentions but not other group messagesPrivacy mode still on, or requireMention true/setprivacy → Disable, then remove and re-add the bot
Bot sees nothing in a groupGroup not listed under channels.telegram.groupsAdd the -100... ID or "*"
setMyCommands failed with BOT_COMMANDS_TOO_MUCHToo many native menu entriesReduce commands or disable native menus
Polling stall detectedNo long-poll completed within 120 seconds; often broken IPv6Set channels.telegram.network.dnsResultOrder: "ipv4first"

The 409 row is the one to watch if you ever ran the same bot token in another framework. Telegram allows exactly one consumer per token, so a forgotten test script on another machine will keep knocking OpenClaw off. Long polling is OpenClaw's default; webhook mode (webhookUrl, webhookSecret) is an option when you have HTTPS ingress, and the two must never be active at once.

Discord: intents, invite scopes and guild allowlists

Setup

Install the plugin, then follow OpenClaw's Discord setup page:

  1. In the Discord Developer Portal, click New Application, then open Bot.
  2. Under Privileged Gateway Intents, enable Message Content Intent ("required for normal guild messages") and Server Members Intent (recommended; needed for role allowlists and name-to-ID matching). Presence is optional.
  3. Click Reset Token and copy it. "Despite the name, this generates your first token — nothing is being 'reset.'"
  4. In OAuth2 → URL Generator, select the bot and applications.commands scopes and at least View Channels, Send Messages, Read Message History, Embed Links and Attach Files (plus Send Messages in Threads for threads). Open the URL and add the bot to your server.
  5. Turn on Developer Mode in Discord to copy your server and user IDs, and allow DMs from server members so the bot can send you a pairing code.
export DISCORD_BOT_TOKEN="..."# in ~/.openclaw/openclaw.json{channels: {discord: {enabled: true,token: { source: "env", provider: "default", id: "DISCORD_BOT_TOKEN" },},},}

Note the trap in the docs: without a channels.discord block, the Gateway does not start Discord just because DISCORD_BOT_TOKEN is set. Pairing works as on Telegram: openclaw pairing approve discord <CODE>.

Paste your invite link into our Discord permissions calculator to confirm which permissions it actually grants before you blame OpenClaw.

Why the bot is online but silent in a server

Once channels.discord exists, guild access defaults to an allowlist ("Secure baseline when channels.discord exists is allowlist"). If your server ID is not under channels.discord.guilds, OpenClaw ignores the server, and openclaw channels status warns when the policy is allowlist with no guilds configured. If a guild entry lists channels, unlisted channels are denied, and guild messages need a mention by default.

Telegram Bot Commands Generator
Free tool - no signup, runs in your browser.
Open free tool

Discord errors and what they mean here

What you seeCauseFix
Gateway closes with 4014 Disallowed intent(s)Message Content or Server Members intent requested but not enabled in the portalEnable the intent on the Bot page, then restart the gateway
Gateway closes with 4004 Authentication failedToken wrong or regeneratedReset the token and update DISCORD_BOT_TOKEN
50001 Missing AccessBot cannot view the channelGrant View Channels on the channel or its category
50013 Missing PermissionsBot can see but not send, embed or attachAdd the permission to the bot's role or channel overwrite
Online, ignores guild messages, no errorGuild not allowlisted, or no mentionAdd the guild under channels.discord.guilds, @mention the bot
DMs ignoreddmPolicy disabled or pairing pendingopenclaw pairing list discord

If you cannot use the Message Content intent (it is privileged, and larger bots need Discord's approval to keep it), OpenClaw documents a fallback: set channels.discord.intents.messageContent: false and keep requireMention: true, so the bot works in DMs and when explicitly mentioned. For loops between two bots, channels.discord.allowBots can be false or "mentions". The broader Discord causes, from permission overwrites to rate limits, are in our Discord bot not responding guide.

Slack: two tokens, a manifest, and channel IDs

Setup

OpenClaw's Slack setup page defaults to Socket Mode, so no public URL is needed:

  1. openclaw plugins install @openclaw/slack.
  2. At api.slack.com/apps: Create New App → From a manifest, pick the workspace and paste the manifest from OpenClaw's docs. It offers a Recommended and a Minimal version.
  3. Basic Information → App-Level Tokens → Generate Token and Scopes: add connections:write and copy the app-level token (Slack's format: xapp-).
  4. Install App → Install to Workspace: copy the Bot User OAuth Token (xoxb-).
  5. Point channels.slack.appToken and channels.slack.botToken at them (or SLACK_APP_TOKEN and SLACK_BOT_TOKEN), then run openclaw gateway.

HTTP mode (mode: "http") uses a signing secret and a Request URL whose path must match webhookPath (default /slack/events).

Scopes: why missing_scope happens

OpenClaw's Recommended manifest requests a long list of bot scopes, including app_mentions:read, chat:write, channels:history, groups:history, im:history, files:write, reactions:write and users:read, plus assistant:write for Slack's Agent View. The Minimal manifest drops files, reactions, pins, group DMs, emoji:read and usergroups:read for workspaces that restrict scopes. If your admin trimmed scopes, or you edited the manifest after installing and did not reinstall, any feature that needs a missing scope fails with missing_scope, and Slack's response names the scope it needed. OpenClaw's troubleshooting page notes that "Missing scopes, revoked tokens, and invalid auth fail fast," so look for them at startup.

The channel-name trap

Keys under channels.slack.channels must be channel IDs like C12345678, not names. The docs warn that "Name-based keys silently fail" under the default allowlist policy. To get an ID, right-click the channel, choose Copy link, and take the C... value from the end. Channel messages are also mention-gated by default.

Slack errors and what they mean here

What you seeCauseFix
missing_scopeToken lacks a scope a feature needsAdd the scope, then reinstall the app so the token carries it
invalid_auth or token_revokedBot token wrong, revoked or from another appCopy the current Bot User OAuth Token
slack token mismatch ... in logsApp token and bot token belong to different Slack appsGenerate both tokens from the same app
Socket Mode never connectsApp-level token lacks connections:write, or Socket Mode is offRegenerate the app token with that scope
not_in_channelBot is not a member of the channel/invite @YourApp in the channel
No replies in channels, no errorChannel keyed by name, not ID, or no mentionUse C... IDs, mention the app
Slash command does nothingCommand not created in the Slack appAdd it under Slash Commands; use /agentstatus, since /status is reserved

One Slack-side change to know if you run OpenClaw in Slack long term: Slack announced that the older Assistant experience (assistant_view) will be deprecated in February 2027 in favour of Agent View. OpenClaw's current manifests already use features.agent_view, and Slack does not let an app switch back once it has moved. For every Slack error string with its fix, see the Slack API error reference.

Security defaults worth keeping

Because OpenClaw can act on your machine, its defaults are deliberately strict, and most "it ignores me" reports are these defaults working:

  • Pairing by default. On most channels an unknown DM sender gets a pairing code "instead of processing the message." Codes are 8 characters and expire after an hour, with at most 3 pending requests per channel account.
  • Allowlists for groups. Discord and Slack default groupPolicy to allowlist; Telegram blocks groups not listed under groups.
  • Loopback binding. On regular hosts the Gateway binds to loopback (default port 18789), and any non-loopback bind refuses to start without configured auth. Container images default to an exposed bind. OpenClaw's advice: prefer Tailscale Serve over LAN binds, and never expose the Gateway unauthenticated on 0.0.0.0.
  • Audit. openclaw security audit checks your configuration.

Resist the temptation to fix a silent bot with dmPolicy: "open" and "*". Approve the pairing code instead. It takes ten seconds and keeps strangers away from an assistant that may hold tools and credentials.

A note on scope: OpenClaw is a personal or team assistant you run yourself. If what you actually need is a customer-facing bot on these same channels (support flows, lead capture, human handover in a shared inbox), that is a different kind of tool; a hosted builder such as Conferbot for Telegram, Discord or Slack covers that use case. The token, intent and scope checks above apply either way.

Share this article:

Was this article helpful?

Ready to build your chatbot?

Join the businesses. Deploy on website, WhatsApp, and 11 more channels in minutes. Free forever plan available.

No credit cardNo coding13+ channels
Start Building Free

Get chatbot insights delivered weekly

Join 5,000+ professionals getting actionable AI chatbot strategies, industry benchmarks, and product updates.

🎯Automate this with a free chatbot

Build and deploy in 10 minutes. No coding needed.

❓FAQ

Connecting OpenClaw to Telegram, Discord and Slack FAQ

Everything you need to know about chatbots for connecting openclaw to telegram, discord and slack.

🔍
Popular:

Check three things in order. Run openclaw channels status --probe: if the transport is not connected, the token is wrong (getMe returned 401). If it is connected, check whether your DM is waiting for pairing (openclaw pairing list telegram). In groups, the group ID must be listed under channels.telegram.groups and Telegram's privacy mode must be off, after which you remove and re-add the bot.

Send the bot a direct message so it creates a pairing request, then run openclaw pairing list <channel> and openclaw pairing approve <channel> <CODE>, for example openclaw pairing approve telegram ABCD2345. Pairing codes expire after one hour.

Message Content Intent is required for normal guild messages, and Server Members Intent is recommended (and needed for role allowlists and name matching). Presence Intent is optional. If an intent is requested but not enabled in the Developer Portal, Discord closes the gateway with 4014 Disallowed intent(s).

Invite it with the bot and applications.commands scopes and at least View Channels, Send Messages, Read Message History, Embed Links and Attach Files. Add Send Messages in Threads if it will post in threads or forum channels.

The bot token lacks a scope the feature needs, usually because the app was installed with the Minimal manifest, an admin removed scopes, or the manifest changed after install. Add the scope and reinstall the app so the new token includes it. The Slack error response names the missing scope.

No. Its default is Socket Mode, which uses an app-level token with the connections:write scope and opens an outbound WebSocket. HTTP mode is optional and needs a public Request URL whose path matches webhookPath (default /slack/events).

No. Conferbot is not affiliated with OpenClaw or the OpenClaw Foundation. This guide is independent and based on OpenClaw's public documentation and repository as of October 2026.

About the Author

Content & Engineering

The Conferbot team writes about building, deploying, and improving AI chatbots.

View all articles
Skip the blank canvas
Start from one of 250+ free chatbot templates for lead generation, support, e-commerce, and 20+ industries - customize and launch in minutes.
Browse free templates

Related Articles

From the reference shelf

Fact-checked reference pages and free tools for the platform this article covers.

Omnichannel Platform

One Chatbot,
Every Channel

Your chatbot works seamlessly across WhatsApp, Messenger, Slack, and 6 more platforms. Build once, deploy everywhere.

View All Channels
Conferbot
online
Hi! How can I help you today?
I need pricing info
Conferbot
Active now
Welcome! What are you looking for?
Book a demo
Sure! Pick a time slot:
#support
Conferbot
New ticket from Sarah: "Can't access dashboard"
Auto-resolved. Password reset link sent.