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.
| Channel | How it ships | Credential | Config key |
|---|---|---|---|
| Telegram | Included with OpenClaw | BotFather token | channels.telegram.botToken (or TELEGRAM_BOT_TOKEN) |
| Discord | Plugin: openclaw plugins install @openclaw/discord | Bot token from the Developer Portal | channels.discord.token |
| Slack | Plugin: openclaw plugins install @openclaw/slack | App-level token + bot token | channels.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 --probeThe 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:
- 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
/setprivacyin BotFather or make the bot an admin, then "remove and re-add the bot in each group so Telegram applies the change." - OpenClaw's group allowlist. The group's chat ID (supergroups start with
-100) must be a key underchannels.telegram.groups, or"*"must be. The docs are blunt: "groupAllowFromis 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.
Telegram errors and what they mean here
| What you see | Cause | Fix |
|---|---|---|
getMe returned 401 or deleteWebhook 401 Unauthorized at startup | Token wrong, revoked or regenerated in BotFather | Paste the current token; check it with the token checker. See 401 Unauthorized |
A getUpdates conflict in logs | A webhook is still set, or another process polls the same token | Run one consumer per token. See 409 terminated by other getUpdates and 409 webhook is active |
| Bot answers mentions but not other group messages | Privacy mode still on, or requireMention true | /setprivacy → Disable, then remove and re-add the bot |
| Bot sees nothing in a group | Group not listed under channels.telegram.groups | Add the -100... ID or "*" |
setMyCommands failed with BOT_COMMANDS_TOO_MUCH | Too many native menu entries | Reduce commands or disable native menus |
Polling stall detected | No long-poll completed within 120 seconds; often broken IPv6 | Set 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:
- In the Discord Developer Portal, click New Application, then open Bot.
- 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.
- Click Reset Token and copy it. "Despite the name, this generates your first token — nothing is being 'reset.'"
- In OAuth2 → URL Generator, select the
botandapplications.commandsscopes 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. - 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.
Discord errors and what they mean here
| What you see | Cause | Fix |
|---|---|---|
| Gateway closes with 4014 Disallowed intent(s) | Message Content or Server Members intent requested but not enabled in the portal | Enable the intent on the Bot page, then restart the gateway |
| Gateway closes with 4004 Authentication failed | Token wrong or regenerated | Reset the token and update DISCORD_BOT_TOKEN |
| 50001 Missing Access | Bot cannot view the channel | Grant View Channels on the channel or its category |
| 50013 Missing Permissions | Bot can see but not send, embed or attach | Add the permission to the bot's role or channel overwrite |
| Online, ignores guild messages, no error | Guild not allowlisted, or no mention | Add the guild under channels.discord.guilds, @mention the bot |
| DMs ignored | dmPolicy disabled or pairing pending | openclaw 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:
openclaw plugins install @openclaw/slack.- 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.
- Basic Information → App-Level Tokens → Generate Token and Scopes: add
connections:writeand copy the app-level token (Slack's format:xapp-). - Install App → Install to Workspace: copy the Bot User OAuth Token (
xoxb-). - Point
channels.slack.appTokenandchannels.slack.botTokenat them (orSLACK_APP_TOKENandSLACK_BOT_TOKEN), then runopenclaw 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 see | Cause | Fix |
|---|---|---|
| missing_scope | Token lacks a scope a feature needs | Add the scope, then reinstall the app so the token carries it |
| invalid_auth or token_revoked | Bot token wrong, revoked or from another app | Copy the current Bot User OAuth Token |
slack token mismatch ... in logs | App token and bot token belong to different Slack apps | Generate both tokens from the same app |
| Socket Mode never connects | App-level token lacks connections:write, or Socket Mode is off | Regenerate the app token with that scope |
| not_in_channel | Bot is not a member of the channel | /invite @YourApp in the channel |
| No replies in channels, no error | Channel keyed by name, not ID, or no mention | Use C... IDs, mention the app |
| Slash command does nothing | Command not created in the Slack app | Add 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
groupPolicytoallowlist; Telegram blocks groups not listed undergroups. - 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 auditchecks 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.
Was this article helpful?
Build and deploy in 10 minutes. No coding needed.
Connecting OpenClaw to Telegram, Discord and Slack FAQ
Everything you need to know about chatbots for connecting openclaw to telegram, discord and slack.
About the Author
The Conferbot team writes about building, deploying, and improving AI chatbots.
View all articlesRelated Articles
From the reference shelf
Fact-checked reference pages and free tools for the platform this article covers.