Configure a Discord bot so Roomote can start and continue tasks in DMs, channels, threads, and forums.
Discord is a deployment-owned communications provider. It is not a Roomote
sign-in provider.Roomote can receive direct messages and server mentions, work each task in a
thread on the message that requested it (or a forum post in forum channels),
accept follow-ups in that conversation, and deliver onboarding suggestions to
the default channel. Discord connects to Roomote through the Gateway, so it
does not require an inbound webhook or public callback URL.
Open Bot, create the bot if needed, and copy or reset its token.
Under Privileged Gateway Intents, enable Message Content Intent.
Roomote needs this to understand natural-language messages and follow-ups.
In Roomote, open Settings > Communications > Discord, paste the bot
token, and save.
Roomote reads the bot and application identity from the token and registers
the /new, /goal, /link, and /help commands automatically. You
do not need to copy an application ID or bot name into Roomote.
Treat the bot token like a password. Do not put it in a repository, task
prompt, or Discord message.
Add Roomote to a server
After you save the bot token, the Add to Discord button appears in Roomote.
Select it and choose the server. The generated installation link requests the
permissions Roomote needs; administrator access is not required.For tasks started in a server, the bot needs these permissions:
view channels
send messages
read message history
embed links
attach files
create public threads
send messages in threads
add reactions
manage threads (only when a required-tag forum has no unmoderated tags)
A task started from a normal text or announcement channel runs in a public
thread started on the message that requested it — like a threaded reply — so
the conversation stays anchored where it began. A task started in a forum gets
its own forum post, and /new starts a fresh, separate task thread. When a
forum requires a tag, Roomote applies an available unmoderated tag
automatically. If every tag is moderated, the bot needs Manage Threads to
apply one.
Unlike a Slack workspace, a Discord server can be public or shared with
people outside your team. Task threads are visible to everyone who can see
the channel, including repository names, task descriptions, and PR links.
Only add Roomote to servers whose members you trust with that context, and
use private channels for sensitive work.
When deployment Memory is enabled, Roomote also collects message history from
server channels visible to @everyone where the bot has View Channel and
Read Message History. Active public threads and forum posts are included;
private channels, private threads, and DMs are not. Removing public visibility
or the bot’s read access removes that channel’s collected pages after the next
successful permission scan.If Roomote cannot see the server or channel, confirm that the bot was added to
the server and that its role and channel overrides grant the permissions above.
Use Repair to register commands again and refresh server discovery.
Link your account
Work you start from your own Discord account requires linking that account to a
Roomote user. Automated bot and webhook requests use the server installer’s
Roomote account instead, as described below.Generate a link command under Settings > Personal > Linked Accounts and run
it in a direct message with the bot. This verifies that Roomote can reach you
for onboarding work. If Discord blocks the DM, open the server’s Privacy
Settings and enable Direct Messages. The command expires after ten
minutes. Once linked, work you start from Discord is attributed to your Roomote
account.During onboarding, Roomote posts the setup suggestions to the default channel
so the whole team can see and start them. When no default channel is
configured yet, they are sent to the linked setup user’s direct messages
instead; Discord can block those messages when the user’s server-member DM
privacy setting is disabled, and the task remains available in the Roomote web
app in that case.
Default channel for proactive posts
Roomote posts proactive updates (automation suggestions, reports, and other
messages that are not replies to an existing conversation) to a default
channel you pick. Choose it in the Discord section of Roomote’s comms settings:
select a server and a text or forum channel where the bot has permission to
post and create threads. Replies always stay in the conversation they started
in. Required-tag forums work when Roomote can apply a usable tag — an
unmoderated tag, or a moderated tag when the bot has Manage Threads.Individual automations can also report to their own Discord channel instead of
the default: pick a Discord channel in that automation’s destination selector
on the Automations page, the same way you would pick a Slack channel.
Start and continue tasks
mention the bot with a request in a server channel
mention the bot in a thread reply to start work in that same thread (Slack-
style), with earlier thread messages and supported attachments as context
send the bot a direct message
use /new request:<request> in a server channel or thread to open a fresh
conversation in its own thread instead of continuing the current one; in a
DM, /new sends the request into the DM conversation
use /goal objective:<objective> to make the current session pursue an
objective across multiple turns; it may delegate child tasks as needed
Discord DMs, mentions, attachments, and eligible thread replies from your
linked account always enter a session, which answers directly or
delegates repository work into tasks
replies in a Roomote-owned DM or thread continue that session; replies in an
existing task conversation continue or resume the task
reply naturally inside a task thread, forum post, or DM to continue it
(same Slack-style rules: after someone else posts or is @mentioned in the
thread since Roomote’s last reply, tag Roomote again to keep going)
paste a Discord message link (https://discord.com/channels/.../.../...) in
any session so the agent can pull that message and nearby channel/thread
context, including when the session started on another chat provider (lookups
outside the originating Discord conversation require a linked Discord account)
use /help to see the available commands
Roomote can read bounded context from the current Discord thread or channel, use
MCP servers and user-scoped integrations that you are allowed to access, and
delegate repository work to Roomote tasks. Members can create and manage their
own custom automations through a session; deployment
admins can manage all custom automations, including those without a creator.
Built-in automations and deployment settings remain admin-only.
Roomote does not read other channels implicitly
or inspect repository contents without delegating the work to a task. When the
request spans every repository, Roomote can delegate it to the deployment’s
all-repositories environment.Session automation reports can be delivered to configured Discord channels or the
automation owner’s DM. Replies continue the report’s session in Discord.Linked participants’ messages in established Roomote Discord threads keep
reaching Roomote after a peer is mentioned. When a
judgment model is configured, every unmentioned
reply in such a thread with more than one person is judged before it can start
a turn and routes when it is addressed to Roomote. Messages meant for another
participant stay silent; acknowledgements addressed to Roomote reach the
session, which then decides whether a response is warranted. Explicit bot
mentions, commands, DMs, and replies to Roomote always receive a response. This
applies only inside the established thread; it does not make Roomote monitor the
surrounding channel.Every Roomote reply ends with a compact footer: Reply anytime, a plain
running-task count when at least one task is running, links to pull requests the
session is working on, and Open in Roomote, which opens the session transcript.
Roomote keeps the footer on the latest reply current as delegated tasks start
and finish (checking about every 30 seconds while work is running), and
earlier replies drop their footer when a new reply posts.Roomote does not quote every message it answers. In a task thread, the
conversation itself supplies the context. When you start a task by tagging
Roomote in an existing thread, Roomote reads earlier messages in that thread
(including supported attachments, up to a few hundred recent thread messages) so the agent
has that background. Follow-ups in an active or resumed task thread also carry
undelivered earlier Discord messages the same way Slack does, so the agent keeps
full thread context across turns. Natural follow-ups without an @mention work
for people already in the conversation with Roomote (the task owner, the thread
starter, or anyone who tagged Roomote earlier). If somebody else posts or is
mentioned after Roomote’s last reply, tag Roomote again so side chat is not
treated as a new instruction. Native forwarded messages contribute their text
and supported attachments to the task context. Image attachments are passed to
the task as image input, and supported documents are downloaded and added to
the request. Attachment downloads are size-limited and restricted to Discord’s
media hosts.
Requests from bots and webhooks
Other bots and webhooks can request work by explicitly mentioning Roomote in a
server channel or thread. Outside channels configured to start work
automatically, automated posts must mention Roomote each time, including in an
existing conversation. Roomote ignores its own posts.Automated requests run with the permissions and integrations of the Roomote
account recorded for that server’s installation. The bot or webhook does not
need its own linked human account or a separate allowlist. Delegated tasks keep
the external bot or webhook as their automation actor, and replies stay in the
originating Discord conversation rather than using the installer’s personal
notification destination.If an automated mention is ignored, confirm that the server installation has an
associated Roomote installer account, that the post mentions the installed bot,
and that Roomote can read and reply in that channel. Roomote cannot start the
request without an installer account to run it under.
Self-hosted configuration
The setup UI stores the token for the deployment. To configure it with an
environment variable instead, set:
The Discord Gateway runs as an opt-in subsystem inside Roomote’s existing
BullMQ process, so enabling Discord does not add another container, process, or
port. It stays dormant until a token is saved, uses Redis to elect a single
active replica, and disconnects if Discord is removed. Durable event delivery
uses Redis and a dedicated internal shared secret. Saving Discord credentials in
settings generates R_DISCORD_GATEWAY_SECRET when it is not already configured.
If Discord was already set up without one (for example after an upgrade),
Roomote generates and persists the secret automatically the next time the
gateway or API needs it, or when you use Repair. For env-var-only setups,
set the same secret on the API and BullMQ processes yourself (installers and
platform templates also generate one).Gateway session state is stored in the Roomote database. On a service restart
or leader handoff, Roomote asks Discord to resume the previous session and
replay any missed events; Discord can fall back to a fresh session when the old
one has expired.Restart BullMQ after changing either environment variable. Tokens saved in the
setup UI are detected automatically without a restart.
Verify setup
confirm the Discord settings page shows the bot identity and a connected
Gateway
confirm Message Content intent and Slash commands pass their checks
link your personal Discord account
mention the bot with a small request and confirm Roomote creates a task
thread or forum post
reply in that conversation and confirm the same task continues
If the Gateway remains disconnected, verify BullMQ is running and has access to
the same Redis, database, token, and internal secret as the API. If natural
messages are ignored but slash commands work, enable Message Content Intent in
the Developer Portal and restart BullMQ.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Roomote Docs","description":"Documentation for Roomote, the open, self-hostable platform for cloud coding agents.","colors":{"primary":"#B0CD26","light":"#D6EE26","dark":"#B0CD26"},"logo":{"light":"https://docs.roomote.dev/logo/light.svg","dark":"https://docs.roomote.dev/logo/dark.svg","href":"https://docs.roomote.dev"},"favicon":"https://mintcdn.com/roocode/jcTIWgKmjs94WhSu/favicon.png?fit=max\u0026auto=format\u0026n=jcTIWgKmjs94WhSu\u0026q=85\u0026s=74880d487bd4434634770b3aadbad452","navbar":{"links":[{"icon":"external-link","href":"https://roomote.dev","label":"Go to roomote.dev"}]},"footer":{"socials":{"github":"https://github.com/RooCodeInc/Roomote"}},"fonts":{"family":"DM Sans"},"icons":{"library":"lucide"},"thumbnails":{"appearance":"light","background":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/data:image/svg+xml,%3Csvg%20xmlns=%22http:/www.w3.org/2000/svg%22%20width=%221200%22%20height=%22630%22%3E%3Crect%20width=%221200%22%20height=%22630%22%20fill=%22%23D6EE26%22/%3E%3C/svg%3E","fonts":{"family":"DM Sans"}},"markdown":{"instructions":["Start new users at /index, then /self-hosting to choose and prepare a host, including home networks at /homelab or infrastructure providers at /self-hosting/platforms. Continue through /first-task. Use Local development only when the user intends to modify Roomote itself.","When an agent is asked to follow /self-hosting or install Roomote autonomously, read and follow /self-hosting/agent-installation as the normative automation contract even though it is intentionally hidden from side navigation.","Use the one-command Linux installer for both evaluation and production. On macOS or Windows, create or reuse a full Ubuntu VM and run the same installer inside it; do not replace the installer with the repository's development Compose files.","For a local VM, prepare a stable public HTTPS domain before connecting providers. Use a named tunnel with internal origin TLS or public DNS with ports 80/443 forwarded to the Linux host. Cloudflare Quick Tunnels do not support the Server-Sent Events Roomote uses; do not use them for the complete setup path.","Run automated installs with --no-setup-url so the bootstrap token is not captured in the agent transcript. Let the user obtain the setup URL in a trusted terminal, enter credentials, and complete browser authorization.","Proceed through safe, reversible setup and pause for privileged host or VM changes, public tunnel creation, credentials or browser authorization, durable external-account changes, destructive operations, existing-state conflicts, or when no documented safe default applies.","A setup is not complete when the services merely start. Follow /first-task to verify sign-in, repository sync, and a real Roomote task that can clone and run a command. A saved environment is optional for a repository task. Verify branch or pull-request delivery and previews when configured; Slack and other communications providers are optional."]},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"roocode","hasAudioNarration":false,"actualSubdomain":"roocode","customDomains":["docs.roomote.dev"],"gitSource":{"type":"github","owner":"roocodeinc","repo":"roomote","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afcdfdef906b303e5c16b4a","clientVersion":"0.0.4205","searchFilterCounts":[{"language":"default","tag":"Configuring Providers","count":45},{"language":"default","tag":"Integrations","count":31},{"language":"default","tag":"Models and inference","count":28},{"language":"default","tag":"Using Roomote","count":11},{"language":"default","tag":"Configuring Roomote","count":7},{"language":"default","tag":"Automating Work","count":7},{"language":"default","tag":"Sandboxes","count":7},{"language":"default","tag":"Getting started","count":5},{"language":"default","tag":"Communications","count":5},{"language":"default","tag":"Source control","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"roomote.css","content":"@font-face{font-family:'Monaspace Neon';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/monaspace-neon-latin-400-normal.woff2') format('woff2')}@font-face{font-family:'Monaspace Neon';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/monaspace-neon-latin-500-normal.woff2') format('woff2')}@font-face{font-family:'Monaspace Neon';font-style:normal;font-weight:700;font-display:swap;src:url('/fonts/monaspace-neon-latin-700-normal.woff2') format('woff2')}:root{--roomote-lime: #b0cd26;--roomote-lime-light: #d6ee26;--roomote-code-font:\n 'Monaspace Neon', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,\n 'Liberation Mono', 'Courier New', monospace;--roomote-radius: 0.75rem}code,pre,kbd,samp,.font-mono,[class*=\"language-\"]{font-family:var(--roomote-code-font)}pre,img,.rounded-lg,.rounded-xl{border-radius:var(--roomote-radius)}nav a[href=\"https://roomote.dev\"],.navbar a[href=\"https://roomote.dev\"]{display:inline-flex;align-items:center;gap:0.35rem}nav a[href=\"https://roomote.dev\"] svg,.navbar a[href=\"https://roomote.dev\"] svg{order:2}.integration-name{display:inline-flex;align-items:center;gap:0.45rem;width:max-content;max-width:100%;padding:0;border:0!important;background:none!important;line-height:1.2;vertical-align:middle;box-shadow:none!important}.integration-logo{display:inline-block;width:1rem;height:1rem;flex:0 0 auto;margin:0!important;vertical-align:middle}.integration-logo,img[src^=\"https://api.iconify.design/simple-icons/\"],img[src^=\"https://api.iconify.design/simple-icons:\"],img[src^=\"https://unpkg.com/@lobehub/icons-static-svg@\"],img[src*=\"/logo/integrations/\"],img[src*=\"/favicon.svg\"]{border-radius:0}.integration-name [data-rmiz],.integration-name [data-rmiz-content]{display:inline-flex!important;align-items:center;flex:0 0 auto;margin:0!important}.dark img[src^=\"https://api.iconify.design/simple-icons/\"],.dark img[src^=\"https://api.iconify.design/simple-icons:\"]{filter:invert(1)}.dark img[src^=\"https://unpkg.com/@lobehub/icons-static-svg@\"]{filter:invert(1)}.dark img[src*=\"/logo/integrations/\"]{filter:invert(1)}.dark img[src*=\"/favicon.svg\"]{filter:invert(1)}@media (max-width: 767px){[role=\"status\"][aria-live=\"polite\"][class~=\"z-999\"]{display:none}}"}],"page":{"pagePath":"providers/communications/discord","slug":"/providers/communications/discord","pageMetadata":{"title":"Discord","icon":"https://api.iconify.design/simple-icons:discord.svg?color=currentColor","description":"Configure a Discord bot so Roomote can start and continue tasks in DMs, channels, threads, and forums.","href":"/providers/communications/discord"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure a Discord bot so Roomote can start and continue tasks in DMs, channels, threads, and forums.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Discord is a deployment-owned communications provider. It is not a Roomote\nsign-in provider.`}),`\n`,_jsx(_components.p,{children:`Roomote can receive direct messages and server mentions, work each task in a\nthread on the message that requested it (or a forum post in forum channels),\naccept follow-ups in that conversation, and deliver onboarding suggestions to\nthe default channel. Discord connects to Roomote through the Gateway, so it\ndoes not require an inbound webhook or public callback URL.`}),`\n`,_jsx(Heading,{level:`2`,id:`create-the-discord-bot`,children:`Create the Discord bot`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the `,_jsx(_components.a,{href:`https://discord.com/developers/applications`,children:`Discord Developer Portal`}),`\nand create an application.`]}),`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.strong,{children:`Bot`}),`, create the bot if needed, and copy or reset its token.`]}),`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Privileged Gateway Intents`}),`, enable `,_jsx(_components.strong,{children:`Message Content Intent`}),`.\nRoomote needs this to understand natural-language messages and follow-ups.`]}),`\n`,_jsxs(_components.li,{children:[`In Roomote, open `,_jsx(_components.strong,{children:`Settings > Communications > Discord`}),`, paste the bot\ntoken, and save.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Roomote reads the bot and application identity from the token and registers\nthe `,_jsx(_components.code,{children:`/new`}),`, `,_jsx(_components.code,{children:`/goal`}),`, `,_jsx(_components.code,{children:`/link`}),`, and `,_jsx(_components.code,{children:`/help`}),` commands automatically. You\ndo not need to copy an application ID or bot name into Roomote.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Treat the bot token like a password. Do not put it in a repository, task\nprompt, or Discord message.`})}),`\n`,_jsx(Heading,{level:`2`,id:`add-roomote-to-a-server`,children:`Add Roomote to a server`}),`\n`,_jsxs(_components.p,{children:[`After you save the bot token, the `,_jsx(_components.strong,{children:`Add to Discord`}),` button appears in Roomote.\nSelect it and choose the server. The generated installation link requests the\npermissions Roomote needs; administrator access is not required.`]}),`\n`,_jsx(_components.p,{children:`For tasks started in a server, the bot needs these permissions:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`view channels`}),`\n`,_jsx(_components.li,{children:`send messages`}),`\n`,_jsx(_components.li,{children:`read message history`}),`\n`,_jsx(_components.li,{children:`embed links`}),`\n`,_jsx(_components.li,{children:`attach files`}),`\n`,_jsx(_components.li,{children:`create public threads`}),`\n`,_jsx(_components.li,{children:`send messages in threads`}),`\n`,_jsx(_components.li,{children:`add reactions`}),`\n`,_jsx(_components.li,{children:`manage threads (only when a required-tag forum has no unmoderated tags)`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A task started from a normal text or announcement channel runs in a public\nthread started on the message that requested it — like a threaded reply — so\nthe conversation stays anchored where it began. A task started in a forum gets\nits own forum post, and `,_jsx(_components.code,{children:`/new`}),` starts a fresh, separate task thread. When a\nforum requires a tag, Roomote applies an available unmoderated tag\nautomatically. If every tag is moderated, the bot needs Manage Threads to\napply one.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Unlike a Slack workspace, a Discord server can be public or shared with\npeople outside your team. Task threads are visible to everyone who can see\nthe channel, including repository names, task descriptions, and PR links.\nOnly add Roomote to servers whose members you trust with that context, and\nuse private channels for sensitive work.`})}),`\n`,_jsxs(_components.p,{children:[`When deployment Memory is enabled, Roomote also collects message history from\nserver channels visible to `,_jsx(_components.code,{children:`@everyone`}),` where the bot has `,_jsx(_components.strong,{children:`View Channel`}),` and\n`,_jsx(_components.strong,{children:`Read Message History`}),`. Active public threads and forum posts are included;\nprivate channels, private threads, and DMs are not. Removing public visibility\nor the bot’s read access removes that channel’s collected pages after the next\nsuccessful permission scan.`]}),`\n`,_jsxs(_components.p,{children:[`If Roomote cannot see the server or channel, confirm that the bot was added to\nthe server and that its role and channel overrides grant the permissions above.\nUse `,_jsx(_components.strong,{children:`Repair`}),` to register commands again and refresh server discovery.`]}),`\n`,_jsx(Heading,{level:`2`,id:`link-your-account`,children:`Link your account`}),`\n`,_jsx(_components.p,{children:`Work you start from your own Discord account requires linking that account to a\nRoomote user. Automated bot and webhook requests use the server installer’s\nRoomote account instead, as described below.`}),`\n`,_jsxs(_components.p,{children:[`Generate a link command under `,_jsx(_components.strong,{children:`Settings > Personal > Linked Accounts`}),` and run\nit in a direct message with the bot. This verifies that Roomote can reach you\nfor onboarding work. If Discord blocks the DM, open the server’s `,_jsx(_components.strong,{children:`Privacy\nSettings`}),` and enable `,_jsx(_components.strong,{children:`Direct Messages`}),`. The command expires after ten\nminutes. Once linked, work you start from Discord is attributed to your Roomote\naccount.`]}),`\n`,_jsx(_components.p,{children:`During onboarding, Roomote posts the setup suggestions to the default channel\nso the whole team can see and start them. When no default channel is\nconfigured yet, they are sent to the linked setup user’s direct messages\ninstead; Discord can block those messages when the user’s server-member DM\nprivacy setting is disabled, and the task remains available in the Roomote web\napp in that case.`}),`\n`,_jsx(Heading,{level:`2`,id:`default-channel-for-proactive-posts`,children:`Default channel for proactive posts`}),`\n`,_jsx(_components.p,{children:`Roomote posts proactive updates (automation suggestions, reports, and other\nmessages that are not replies to an existing conversation) to a default\nchannel you pick. Choose it in the Discord section of Roomote’s comms settings:\nselect a server and a text or forum channel where the bot has permission to\npost and create threads. Replies always stay in the conversation they started\nin. Required-tag forums work when Roomote can apply a usable tag — an\nunmoderated tag, or a moderated tag when the bot has Manage Threads.`}),`\n`,_jsxs(_components.p,{children:[`Individual automations can also report to their own Discord channel instead of\nthe default: pick a Discord channel in that automation’s destination selector\non the `,_jsx(_components.strong,{children:`Automations`}),` page, the same way you would pick a Slack channel.`]}),`\n`,_jsx(Heading,{level:`2`,id:`start-and-continue-tasks`,children:`Start and continue tasks`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`mention the bot with a request in a server channel`}),`\n`,_jsx(_components.li,{children:`mention the bot in a thread reply to start work in that same thread (Slack-\nstyle), with earlier thread messages and supported attachments as context`}),`\n`,_jsx(_components.li,{children:`send the bot a direct message`}),`\n`,_jsxs(_components.li,{children:[`use `,_jsx(_components.code,{children:`/new request:\u003crequest>`}),` in a server channel or thread to open a fresh\nconversation in its own thread instead of continuing the current one; in a\nDM, `,_jsx(_components.code,{children:`/new`}),` sends the request into the DM conversation`]}),`\n`,_jsxs(_components.li,{children:[`use `,_jsx(_components.code,{children:`/goal objective:\u003cobjective>`}),` to make the current session pursue an\nobjective across multiple turns; it may delegate child tasks as needed`]}),`\n`,_jsx(_components.li,{children:`Discord DMs, mentions, attachments, and eligible thread replies from your\nlinked account always enter a session, which answers directly or\ndelegates repository work into tasks`}),`\n`,_jsx(_components.li,{children:`replies in a Roomote-owned DM or thread continue that session; replies in an\nexisting task conversation continue or resume the task`}),`\n`,_jsx(_components.li,{children:`reply naturally inside a task thread, forum post, or DM to continue it\n(same Slack-style rules: after someone else posts or is @mentioned in the\nthread since Roomote’s last reply, tag Roomote again to keep going)`}),`\n`,_jsxs(_components.li,{children:[`paste a Discord message link (`,_jsx(_components.code,{children:`https://discord.com/channels/.../.../...`}),`) in\nany session so the agent can pull that message and nearby channel/thread\ncontext, including when the session started on another chat provider (lookups\noutside the originating Discord conversation require a linked Discord account)`]}),`\n`,_jsxs(_components.li,{children:[`use `,_jsx(_components.code,{children:`/help`}),` to see the available commands`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Roomote can read bounded context from the current Discord thread or channel, use\nMCP servers and user-scoped integrations that you are allowed to access, and\ndelegate repository work to Roomote tasks. Members can create and manage their\nown `,_jsx(_components.a,{href:`/custom-automations`,children:`custom automations`}),` through a session; deployment\nadmins can manage all custom automations, including those without a creator.\nBuilt-in automations and deployment settings remain admin-only.\nRoomote does not read other channels implicitly\nor inspect repository contents without delegating the work to a task. When the\nrequest spans every repository, Roomote can delegate it to the deployment’s\nall-repositories environment.`]}),`\n`,_jsx(_components.p,{children:`Session automation reports can be delivered to configured Discord channels or the\nautomation owner’s DM. Replies continue the report’s session in Discord.`}),`\n`,_jsxs(_components.p,{children:[`Linked participants’ messages in established Roomote Discord threads keep\nreaching Roomote after a peer is mentioned. When a\n`,_jsx(_components.a,{href:`/models#judgment-model`,children:`judgment model`}),` is configured, every unmentioned\nreply in such a thread with more than one person is judged before it can start\na turn and routes when it is addressed to Roomote. Messages meant for another\nparticipant stay silent; acknowledgements addressed to Roomote reach the\nsession, which then decides whether a response is warranted. Explicit bot\nmentions, commands, DMs, and replies to Roomote always receive a response. This\napplies only inside the established thread; it does not make Roomote monitor the\nsurrounding channel.`]}),`\n`,_jsxs(_components.p,{children:[`Every Roomote reply ends with a compact footer: `,_jsx(_components.strong,{children:`Reply anytime`}),`, a plain\nrunning-task count when at least one task is running, links to pull requests the\nsession is working on, and `,_jsx(_components.strong,{children:`Open in Roomote`}),`, which opens the session transcript.\nRoomote keeps the footer on the latest reply current as delegated tasks start\nand finish (checking about every 30 seconds while work is running), and\nearlier replies drop their footer when a new reply posts.`]}),`\n`,_jsx(_components.p,{children:`Roomote does not quote every message it answers. In a task thread, the\nconversation itself supplies the context. When you start a task by tagging\nRoomote in an existing thread, Roomote reads earlier messages in that thread\n(including supported attachments, up to a few hundred recent thread messages) so the agent\nhas that background. Follow-ups in an active or resumed task thread also carry\nundelivered earlier Discord messages the same way Slack does, so the agent keeps\nfull thread context across turns. Natural follow-ups without an @mention work\nfor people already in the conversation with Roomote (the task owner, the thread\nstarter, or anyone who tagged Roomote earlier). If somebody else posts or is\nmentioned after Roomote’s last reply, tag Roomote again so side chat is not\ntreated as a new instruction. Native forwarded messages contribute their text\nand supported attachments to the task context. Image attachments are passed to\nthe task as image input, and supported documents are downloaded and added to\nthe request. Attachment downloads are size-limited and restricted to Discord’s\nmedia hosts.`}),`\n`,_jsx(Heading,{level:`3`,id:`requests-from-bots-and-webhooks`,children:`Requests from bots and webhooks`}),`\n`,_jsx(_components.p,{children:`Other bots and webhooks can request work by explicitly mentioning Roomote in a\nserver channel or thread. Outside channels configured to start work\nautomatically, automated posts must mention Roomote each time, including in an\nexisting conversation. Roomote ignores its own posts.`}),`\n`,_jsx(_components.p,{children:`Automated requests run with the permissions and integrations of the Roomote\naccount recorded for that server’s installation. The bot or webhook does not\nneed its own linked human account or a separate allowlist. Delegated tasks keep\nthe external bot or webhook as their automation actor, and replies stay in the\noriginating Discord conversation rather than using the installer’s personal\nnotification destination.`}),`\n`,_jsx(_components.p,{children:`If an automated mention is ignored, confirm that the server installation has an\nassociated Roomote installer account, that the post mentions the installed bot,\nand that Roomote can read and reply in that channel. Roomote cannot start the\nrequest without an installer account to run it under.`}),`\n`,_jsx(Heading,{level:`2`,id:`self-hosted-configuration`,children:`Self-hosted configuration`}),`\n`,_jsx(_components.p,{children:`The setup UI stores the token for the deployment. To configure it with an\nenvironment variable instead, set:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`R_DISCORD_BOT_TOKEN`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`discord-bot-token`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`R_DISCORD_GATEWAY_SECRET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`random-secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The Discord Gateway runs as an opt-in subsystem inside Roomote’s existing\nBullMQ process, so enabling Discord does not add another container, process, or\nport. It stays dormant until a token is saved, uses Redis to elect a single\nactive replica, and disconnects if Discord is removed. Durable event delivery\nuses Redis and a dedicated internal shared secret. Saving Discord credentials in\nsettings generates `,_jsx(_components.code,{children:`R_DISCORD_GATEWAY_SECRET`}),` when it is not already configured.\nIf Discord was already set up without one (for example after an upgrade),\nRoomote generates and persists the secret automatically the next time the\ngateway or API needs it, or when you use `,_jsx(_components.strong,{children:`Repair`}),`. For env-var-only setups,\nset the same secret on the API and BullMQ processes yourself (installers and\nplatform templates also generate one).`]}),`\n`,_jsx(_components.p,{children:`Gateway session state is stored in the Roomote database. On a service restart\nor leader handoff, Roomote asks Discord to resume the previous session and\nreplay any missed events; Discord can fall back to a fresh session when the old\none has expired.`}),`\n`,_jsx(_components.p,{children:`Restart BullMQ after changing either environment variable. Tokens saved in the\nsetup UI are detected automatically without a restart.`}),`\n`,_jsx(Heading,{level:`2`,id:`verify-setup`,children:`Verify setup`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`confirm the Discord settings page shows the bot identity and a connected\nGateway`}),`\n`,_jsxs(_components.li,{children:[`confirm `,_jsx(_components.strong,{children:`Message Content intent`}),` and `,_jsx(_components.strong,{children:`Slash commands`}),` pass their checks`]}),`\n`,_jsx(_components.li,{children:`link your personal Discord account`}),`\n`,_jsx(_components.li,{children:`mention the bot with a small request and confirm Roomote creates a task\nthread or forum post`}),`\n`,_jsx(_components.li,{children:`reply in that conversation and confirm the same task continues`}),`\n`]}),`\n`,_jsx(_components.p,{children:`If the Gateway remains disconnected, verify BullMQ is running and has access to\nthe same Redis, database, token, and internal secret as the API. If natural\nmessages are ignored but slash commands work, enable Message Content Intent in\nthe Developer Portal and restart BullMQ.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Discord","icon":"https://api.iconify.design/simple-icons:discord.svg?color=currentColor","description":"Configure a Discord bot so Roomote can start and continue tasks in DMs, channels, threads, and forums.","href":"/providers/communications/discord"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create the Discord bot","slug":"create-the-discord-bot","depth":2,"children":[]},{"title":"Add Roomote to a server","slug":"add-roomote-to-a-server","depth":2,"children":[]},{"title":"Link your account","slug":"link-your-account","depth":2,"children":[]},{"title":"Default channel for proactive posts","slug":"default-channel-for-proactive-posts","depth":2,"children":[]},{"title":"Start and continue tasks","slug":"start-and-continue-tasks","depth":2,"children":[{"title":"Requests from bots and webhooks","slug":"requests-from-bots-and-webhooks","depth":3,"children":[]}]},{"title":"Self-hosted configuration","slug":"self-hosted-configuration","depth":2,"children":[]},{"title":"Verify setup","slug":"verify-setup","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"roocode","siteName":"Roomote Docs","title":"Discord - Roomote Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T21:46:00.985Z","originalFileLocation":"providers/communications/discord.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure a Discord bot so Roomote can start and continue tasks in DMs, channels, threads, and forums.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Roomote Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Discord - Roomote Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure a Discord bot so Roomote can start and continue tasks in DMs, channels, threads, and forums.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Roomote Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.roomote.dev/providers/communications/discord\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://roocode.mintlify.site/_mintlify/api/og/v2?division=Communications\u0026amp;title=Discord\u0026amp;description=Configure+a+Discord+bot+so+Roomote+can+start+and+continue+tasks+in+DMs%2C+channels%2C+threads%2C+and+forums.\u0026amp;theme=1d4280e1c17b7abefebcd7cf\u0026amp;signature=4858a42e06bae82676f4cd02ea6cc468c33b9da466fe805cd4b6df3b25e78f4c\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Discord - Roomote Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure a Discord bot so Roomote can start and continue tasks in DMs, channels, threads, and forums.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://roocode.mintlify.site/_mintlify/api/og/v2?division=Communications\u0026amp;title=Discord\u0026amp;description=Configure+a+Discord+bot+so+Roomote+can+start+and+continue+tasks+in+DMs%2C+channels%2C+threads%2C+and+forums.\u0026amp;theme=1d4280e1c17b7abefebcd7cf\u0026amp;signature=4858a42e06bae82676f4cd02ea6cc468c33b9da466fe805cd4b6df3b25e78f4c\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/roocode/OL8JGyX3R70KyH08/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Roomote Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#B0CD26\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.roomote.dev/providers/communications/discord\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/providers/communications/discord.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.roomote.dev/#organization\",\"name\":\"Roomote Docs\",\"url\":\"https://docs.roomote.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://docs.roomote.dev/logo/light.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.roomote.dev#website\",\"name\":\"Roomote Docs\",\"url\":\"https://docs.roomote.dev\",\"publisher\":{\"@id\":\"https://docs.roomote.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.roomote.dev/providers/communications/discord#webpage\",\"url\":\"https://docs.roomote.dev/providers/communications/discord\",\"name\":\"Discord\",\"description\":\"Configure a Discord bot so Roomote can start and continue tasks in DMs, channels, threads, and forums.\",\"dateModified\":\"2026-10-20T21:46:00.985Z\",\"isPartOf\":{\"@id\":\"https://docs.roomote.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.roomote.dev/providers/communications/discord#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.roomote.dev/providers/communications/discord#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Configuring Providers\",\"item\":\"https://docs.roomote.dev/providers/inference/amazon-bedrock\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Communications\",\"item\":\"https://docs.roomote.dev/communications\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Discord\",\"item\":\"https://docs.roomote.dev/providers/communications/discord\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.roomote.dev/providers/communications/discord#article\",\"headline\":\"Discord\",\"name\":\"Discord\",\"description\":\"Configure a Discord bot so Roomote can start and continue tasks in DMs, channels, threads, and forums.\",\"url\":\"https://docs.roomote.dev/providers/communications/discord\",\"mainEntityOfPage\":{\"@id\":\"https://docs.roomote.dev/providers/communications/discord#webpage\"},\"dateModified\":\"2026-10-20T21:46:00.985Z\",\"publisher\":{\"@id\":\"https://docs.roomote.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.roomote.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Roomote Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Roomote Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/providers/communications/discord.md","siteName":"Roomote Docs","nav":{"global":null,"groups":[{"group":"Getting started","pages":[{"title":"Getting started","icon":"book-open","href":"/index"},{"group":"Self-hosted","icon":"server","root":{"title":"Self-hosting","icon":"server","href":"/self-hosting"},"expanded":false,"pages":[{"title":"Home network and homelab","icon":"house-plug","href":"/homelab"},{"title":"Hosting platforms","icon":"cloud-cog","href":"/self-hosting/platforms"},{"title":"Operate a self-hosted deployment","icon":"wrench","href":"/self-hosting/operations"}]},{"title":"Run your first task","icon":"play","href":"/first-task"}]},{"group":"Using Roomote","pages":[{"title":"How Roomote works","icon":"workflow","href":"/how-roomote-works"},{"title":"Use cases","icon":"bot-message-square","href":"/use-cases"},{"title":"Review a task","icon":"clipboard-check","href":"/tasks"},{"title":"Live Previews","icon":"app-window","href":"/live-previews"},{"title":"Goal Mode","icon":"target","href":"/goal-mode"},{"title":"Sessions","icon":"messages-square","href":"/fast-sessions"},{"title":"Integration keys","icon":"key-round","href":"/integration-keys"},{"title":"Memory","icon":"book-open-text","href":"/memory"},{"title":"File attachments","icon":"paperclip","href":"/file-attachments"},{"title":"Voice","icon":"audio-lines","href":"/voice"},{"title":"Privacy","icon":"shield-check","href":"/privacy"}]},{"group":"Automating Work","pages":[{"title":"Automations","icon":"zap","href":"/automations"},{"title":"Configure automations","icon":"settings-2","href":"/automation-configuration"},{"title":"Custom automations","icon":"square-pen","href":"/custom-automations"},{"title":"Automation webhooks","icon":"webhook","href":"/automation-webhooks"},{"title":"Automation results","icon":"notepad-text","href":"/automation-results"},{"title":"Cookbook","icon":"cooking-pot","href":"/cookbook/index"},{"title":"Contributing recipes","icon":"plus","href":"/cookbook/template"}]},{"group":"Configuring Providers","pages":[{"group":"Models and inference","icon":"brain","root":{"title":"Inference overview","icon":"brain","href":"/models"},"expanded":false,"pages":[{"title":"Amazon Bedrock","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/bedrock.svg","href":"/providers/inference/amazon-bedrock"},{"title":"Anthropic","icon":"https://api.iconify.design/simple-icons/anthropic.svg?color=currentColor","href":"/providers/inference/anthropic"},{"title":"Azure AI Foundry","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/azure.svg","href":"/providers/inference/azure-foundry"},{"title":"Azure OpenAI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/azure.svg","href":"/providers/inference/azure-openai"},{"title":"Baseten","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/baseten.svg","href":"/providers/inference/baseten"},{"title":"ChatGPT subscription","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/openai.svg","href":"/providers/inference/chatgpt"},{"title":"DeepSeek","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/deepseek.svg","href":"/providers/inference/deepseek"},{"title":"GitHub Copilot","icon":"https://api.iconify.design/simple-icons:githubcopilot.svg?color=currentColor","href":"/providers/inference/github-copilot"},{"title":"Google Gemini","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/gemini.svg","href":"/providers/inference/google-gemini"},{"title":"Kimi for Coding","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/kimi.svg","href":"/providers/inference/kimi-for-coding"},{"title":"LiteLLM","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/openai.svg","href":"/providers/inference/litellm"},{"title":"MiniMax","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/minimax.svg","href":"/providers/inference/minimax"},{"title":"Moonshot AI (Kimi)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/moonshot.svg","href":"/providers/inference/moonshot-ai"},{"title":"Ollama","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/ollama.svg","href":"/providers/inference/ollama"},{"title":"OpenAI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/openai.svg","href":"/providers/inference/openai"},{"title":"OpenAI-compatible","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/openai.svg","href":"/providers/inference/openai-compatible"},{"title":"OpenCode Zen","icon":"https://api.iconify.design/simple-icons/opencode.svg?color=currentColor","href":"/providers/inference/opencode"},{"title":"OpenCode Go","icon":"https://api.iconify.design/simple-icons/opencode.svg?color=currentColor","href":"/providers/inference/opencode-go"},{"title":"OpenRouter","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/openrouter.svg","href":"/providers/inference/openrouter"},{"title":"Requesty","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/requesty.png","href":"/providers/inference/requesty"},{"title":"Together AI","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/together.svg","href":"/providers/inference/together-ai"},{"title":"TypeSafe","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/typesafe.svg","href":"/providers/inference/typesafe"},{"title":"Vercel AI Gateway","icon":"https://api.iconify.design/simple-icons/vercel.svg?color=currentColor","href":"/providers/inference/vercel-ai-gateway"},{"title":"vLLM","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/vllm.svg","href":"/providers/inference/vllm"},{"title":"xAI","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/xai.svg","href":"/providers/inference/xai"},{"title":"xAI Grok subscription","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/xai.svg","href":"/providers/inference/xai-subscription"},{"title":"Z.AI","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/zai.svg","href":"/providers/inference/zai"},{"title":"Z.AI Coding Plan","icon":"https://unpkg.com/@lobehub/icons-static-svg@1.94.0/icons/zai.svg","href":"/providers/inference/zai-coding-plan"}]},{"group":"Communications","icon":"messages-square","root":{"title":"Communications overview","icon":"messages-square","href":"/communications"},"expanded":false,"pages":[{"title":"Email (AgentMail)","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/agentmail.svg","description":"Connect an AgentMail inbox so Roomote can receive tasks and reply over email.","href":"/providers/communications/agentmail"},{"title":"Discord","icon":"https://api.iconify.design/simple-icons:discord.svg?color=currentColor","href":"/providers/communications/discord"},{"title":"Microsoft Teams","icon":"https://api.iconify.design/simple-icons:microsoftteams.svg?color=currentColor","description":"Configure Microsoft sign-in and Microsoft Teams bot messaging for Roomote.","href":"/providers/communications/microsoft-teams"},{"title":"Slack","icon":"https://api.iconify.design/simple-icons:slack.svg?color=currentColor","href":"/providers/communications/slack"},{"title":"Telegram","icon":"https://api.iconify.design/simple-icons:telegram.svg?color=currentColor","href":"/providers/communications/telegram"}]},{"group":"Source control","icon":"git-merge","root":{"title":"Source control overview","icon":"git-merge","href":"/source-control"},"expanded":false,"pages":[{"title":"Azure DevOps","icon":"https://api.iconify.design/simple-icons:azuredevops.svg?color=currentColor","href":"/providers/source-control/azure-devops"},{"title":"Bitbucket Cloud","icon":"https://api.iconify.design/simple-icons:bitbucket.svg?color=currentColor","href":"/providers/source-control/bitbucket"},{"title":"Gitea","icon":"https://api.iconify.design/simple-icons:gitea.svg?color=currentColor","href":"/providers/source-control/gitea"},{"title":"GitHub","icon":"https://api.iconify.design/simple-icons:github.svg?color=currentColor","href":"/providers/source-control/github"},{"title":"GitLab","icon":"https://api.iconify.design/simple-icons:gitlab.svg?color=currentColor","href":"/providers/source-control/gitlab"}]},{"group":"Sandboxes","icon":"cpu","root":{"title":"Sandboxes overview","icon":"cpu","href":"/compute"},"expanded":false,"pages":[{"title":"Azure Container Apps","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/azure.svg","href":"/providers/compute/azure"},{"title":"Blaxel","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/blaxel.svg","href":"/providers/compute/blaxel"},{"title":"Box","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/box.svg","href":"/providers/compute/box"},{"title":"Daytona","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/daytona.svg","href":"/providers/compute/daytona"},{"title":"Docker","icon":"https://api.iconify.design/simple-icons:docker.svg?color=currentColor","href":"/providers/compute/docker"},{"title":"E2B","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/e2b.svg","href":"/providers/compute/e2b"},{"title":"Modal","icon":"https://api.iconify.design/simple-icons:modal.svg?color=currentColor","href":"/providers/compute/modal"}]}]},{"group":"Integrations","pages":[{"title":"Integrations overview","icon":"plug","href":"/integrations/index"},{"title":"Custom MCP servers","icon":"plug-zap","href":"/integrations/custom-mcp-servers"},{"title":"HTTP Integrations","icon":"arrow-right-left","href":"/integrations/http-integrations"},{"title":"Roomote MCP","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/favicon.svg","href":"/integrations/roomote-mcp"},{"title":"Asana","icon":"https://api.iconify.design/simple-icons:asana.svg?color=currentColor","href":"/integrations/asana"},{"title":"Better Stack","icon":"https://api.iconify.design/simple-icons:betterstack.svg?color=currentColor","href":"/integrations/better-stack"},{"title":"Buildkite","icon":"https://api.iconify.design/simple-icons:buildkite.svg?color=currentColor","href":"/integrations/buildkite"},{"title":"Braintrust","icon":"https://api.iconify.design/simple-icons:braintrust.svg?color=currentColor","href":"/integrations/braintrust"},{"title":"Cloudflare","icon":"https://api.iconify.design/simple-icons:cloudflare.svg?color=currentColor","href":"/integrations/cloudflare"},{"title":"ElevenLabs","icon":"https://api.iconify.design/simple-icons:elevenlabs.svg?color=currentColor","href":"/integrations/elevenlabs"},{"title":"Exa","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/exa.svg","href":"/integrations/exa"},{"title":"Grafana","icon":"https://api.iconify.design/simple-icons:grafana.svg?color=currentColor","href":"/integrations/grafana"},{"title":"Granola","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/granola.svg","href":"/integrations/granola"},{"title":"Jira","icon":"https://api.iconify.design/simple-icons:jira.svg?color=currentColor","href":"/integrations/jira"},{"title":"Linear","icon":"https://api.iconify.design/simple-icons:linear.svg?color=currentColor","href":"/integrations/linear"},{"title":"monday.com","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/monday.svg","href":"/integrations/monday"},{"title":"Neon","icon":"https://api.iconify.design/simple-icons:neon.svg?color=currentColor","href":"/integrations/neon"},{"title":"Notion","icon":"https://api.iconify.design/simple-icons:notion.svg?color=currentColor","href":"/integrations/notion"},{"title":"PostHog","icon":"https://api.iconify.design/simple-icons:posthog.svg?color=currentColor","href":"/integrations/posthog"},{"title":"Pylon","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/pylon.svg","href":"/integrations/pylon"},{"title":"Railway","icon":"https://api.iconify.design/simple-icons:railway.svg?color=currentColor","href":"/integrations/railway"},{"title":"Resend","icon":"https://api.iconify.design/simple-icons:resend.svg?color=currentColor","href":"/integrations/resend"},{"title":"Rippling","icon":"users","href":"/integrations/rippling"},{"title":"Sentry","icon":"https://api.iconify.design/simple-icons:sentry.svg?color=currentColor","href":"/integrations/sentry"},{"title":"Snowflake","icon":"https://api.iconify.design/simple-icons:snowflake.svg?color=currentColor","href":"/integrations/snowflake"},{"title":"Supabase","icon":"https://api.iconify.design/simple-icons:supabase.svg?color=currentColor","href":"/integrations/supabase"},{"title":"Supermemory","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/supermemory.svg","href":"/integrations/supermemory"},{"title":"Vercel","icon":"https://api.iconify.design/simple-icons:vercel.svg?color=currentColor","href":"/integrations/vercel"},{"title":"Voice","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/voice.svg","href":"/integrations/voice"},{"title":"X","icon":"https://api.iconify.design/simple-icons:x.svg?color=currentColor","href":"/integrations/x"},{"title":"Zero","icon":"https://mintlify.s3.us-west-1.amazonaws.com/roocode/logo/integrations/zero.svg","href":"/integrations/zero"}]},{"group":"Configuring Roomote","pages":[{"title":"Agent guidance","icon":"scroll-text","href":"/agent-guidance"},{"title":"Environment variables","icon":"variable","href":"/environment-variables"},{"title":"Environments","icon":"boxes","href":"/environments"},{"title":"Environment definition","icon":"file-code","href":"/environments/definition"},{"title":"Personal settings","icon":"user-cog","href":"/personal-settings"},{"title":"Skills","icon":"sparkles","href":"/skills"},{"title":"Users","icon":"users","href":"/users"}]},{"group":"Analytics","pages":[{"title":"Cost analytics","icon":"circle-dollar-sign","href":"/cost-analytics"}]},{"group":"Development","pages":[{"title":"Local development","icon":"terminal","href":"/local-development"},{"title":"How a Roomote deployment runs","icon":"network","href":"/architecture"}]}]},"basePath":"","title":"Discord - Roomote Docs","deploymentId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","buildId":"dpl_FZMKUpaaKiVETbfqhoUe4sPFDTmY","dynamics":[],"chunks":[]}