Connect a Discord bot to any Friday workspace so users can chat with it over DM orDocumentation Index
Fetch the complete documentation index at: https://docs.hellofriday.ai/llms.txt
Use this file to discover all available pages before exploring further.
@mentions. Messages flow into the same conversation pipeline the web chat uses, and replies go back to Discord.
Unlike the other communicators, Discord doesn’t need a public URL — your Friday instance connects out to Discord and holds the connection open.
Prerequisites
- A Discord account that can create applications.
- A Discord server where you can invite the bot — if you don’t have one, create a personal test server for free.
- Friday running. You don’t need a public URL or tunnel for Discord.
Setup
Create a Discord application
- Open discord.com/developers/applications and click New Application.
- Pick a name (e.g. Friday Atlas) and accept the developer ToS.
- On the General Information page, copy two values you’ll need later:
- Application ID — a long numeric string
- Public Key — a 64-character hex string
Create the bot user and copy its token
- In the left sidebar, click Bot.
- Click Reset Token (or Add Bot if this is the first time). Discord shows the token once — copy it immediately.
Enable the Message Content Intent
Still on the Bot page, scroll to Privileged Gateway Intents and toggle Message Content Intent to on. Save changes.Without this toggle, every incoming message arrives with empty text — nothing will trigger the bot.
Connect Discord in Studio
- Open Studio and pick your workspace.
- Find the Communicators card and click Connect next to Discord.
- Paste the Bot Token, Application ID, and Public Key into the form, then submit.
Invite the bot to a server
Discord bots can only DM users once both sides share at least one server, and
@mentions require a channel to mention in.- In the Developer Portal, go to OAuth2 → URL Generator.
- Under Scopes, check
bot(do not checkapplications.commands— Friday doesn’t use slash commands). - Under Bot Permissions, check:
- Read Messages/View Channels
- Send Messages
- Read Message History
- Copy the Generated URL at the bottom of the page.
- Open the URL in a browser, pick the server, and click Authorize.
Talk to your bot
- In Discord, DM the bot (click its name in your server’s member list → Message). Send “hello friday”.
- Within a second or two, a new chat appears in Studio with a DISCORD badge.
- To
@mentionthe bot in a channel, make sure the bot can read the channel and post@<bot-name> ping.
Bot replies to
@mentions appear in a Discord thread off the original message, not inline in the channel.Troubleshooting
Bot is online in Discord but silent on every message
Bot is online in Discord but silent on every message
The most common cause is Message Content Intent disabled. Toggle it on in the Developer Portal → Bot page and reconnect via Studio.
Bot disconnects with an auth error and doesn't come back
Bot disconnects with an auth error and doesn't come back
The bot token was rejected (revoked, expired, or mistyped). Regenerate the token in the Developer Portal and reconnect via Studio.
Connection never establishes at all
Connection never establishes at all
Usually a network block: outbound WebSocket to Discord is blocked by a corporate firewall, VPN, or egress policy. Test from the same host with
curl -v https://discord.com/api/v10/gateway.Known limitations
- Messaging only — no slash commands or button handlers. Only DMs and
@mentionsare handled. - Message Content Intent is privileged. For bots in 100+ servers, Discord additionally requires account verification and an intent review.
Configure via YAML
Skip Studio and configure from disk
Skip Studio and configure from disk
For CI or fully scripted setups, paste credentials directly into Restart Friday so the new config is picked up.
workspace.yml or the .env file in the Friday home directory (default ~/.atlas/.env). All three of bot_token / public_key / application_id must resolve.- Credentials inline
- Credentials via env
workspace.yml

