Connect Discord
Create your own Discord bot, connect it in the Evy app and decide who can talk to your assistant.
With Discord you talk to your assistant by direct message or in the channels of your server. To connect it, you create your own Discord bot and paste its code into the Evy app, in Messaging. That's also where you say who can write to it.
Before you start
- A Discord account and a Discord server where you can add bots. For that you need permission to manage the server.
- The Evy app, on your computer or in your browser.
These steps are the ones in October 2026. If something doesn't match, look for the name we give in bold.
Anyone who can write to it can ask it what it remembers about you
On Discord, your assistant answers with what's in its memory, which is what it remembers about you and your business. It also searches the web, sees the photos they send and asks what it needs. It doesn't open your files, run programs, look things up in your connected apps or schedule tasks. Each reply comes out of your AI usage. Only give access to people you trust.
Create your bot on Discord
Create an application
Go to the Discord developer portal, at discord.com/developers/applications, with your Discord account. Click New Application, give it a name, for example Rosa's Flower Shop Assistant, accept the terms and click Create.
Open the Bot section
In the menu on the left, click Bot. Discord has already created your application's bot. Here you can change its name and picture, which is what you'll see in Discord.
In Authorization Flow, leave Public Bot on. That way you can use the invite link Discord gives you. Leave Require OAuth2 Code Grant off.
Let the bot read messages
On the same page, scroll down to Privileged Gateway Intents and turn on these two options:
- Message Content Intent. Without it, the bot connects but doesn't see what you write.
- Server Members Intent.
Click Save Changes, at the bottom.
Copy the bot code
In the Token section, click Reset Token. If you have two-step verification, Discord asks for your code. Copy the long code that appears. Discord only shows it once.
Treat the code like a password
Anyone who has that code can control your bot. Only paste it into the Evy app and don't send it to anyone. If it gets out, click Reset Token in the portal again: you get a new one and the old one stops working. Then paste the new one into the app, as we explain in Change the details or who can write.
Invite the bot to your server
To write to your bot, even by direct message, you both need to be in the same Discord server.
Open Installation
In the menu on the left of the portal, click Installation. In Installation Contexts, leave Guild Install ticked. In Install Link, choose Discord Provided Link.
Choose the permissions
In Default Install Settings, under Guild Install:
- In Scopes, choose
botandapplications.commands. - In Permissions, choose View Channels, Send Messages, Send Messages in Threads, Embed Links, Attach Files, Read Message History and Add Reactions.
Click Save Changes.
Open the invite link
Copy the link in Install Link and open it in your browser. Choose your server, click Continue and then Authorize. If Discord asks you to prove you're not a robot, do it.
The bot shows up in your server's member list, offline. It connects when you finish the steps in the app. If your server isn't in the list, you don't have permission to add bots to it: ask whoever runs it.
Find your Discord ID
Your assistant recognizes each person by their Discord ID, a long number like 284102345871466496. It isn't your username.
Turn on developer mode
In Discord, open User Settings (the gear next to your name) > Advanced and turn on Developer Mode. Close the settings.
Copy your ID
Right-click your name, in one of your messages or in the member list, and choose Copy User ID. On your phone, press and hold your name.
If other people are going to talk to your assistant, for example someone on your team, each one does the same and sends you their ID.
Connect your bot in the app
Open Messaging
Open the Evy app, on your computer or in your browser, and click Messaging in the menu.
Choose Discord
In the list, click Discord. The card says Disabled and Needs setup. Below it is the How to connect it section, with the Open setup guide link, which opens this same page.
Paste the bot code
In the Required section, paste your bot's code into Bot token.
Write who can talk to your assistant
In the Recommended section, write your ID in Allowed Discord user IDs. If there are several of you, separate them with commas: 284102345871466496,198765432109876543.
Click Save changes
Click Save changes, at the bottom right. The notice "Discord setup saved" appears. The switch at the bottom left of the card turns on by itself. At the top, "Saved. Restart your assistant to apply the changes." appears, with the Restart now button.
Click Restart now
Click Restart now. While your assistant restarts, the button says Restarting… and your assistant doesn't answer on any channel. When it finishes, the card says Connected.
If the card still says Restart needed after a couple of minutes, restart your assistant from the panel: at app.evyagent.ai, click Servers > Manage and, in Health, Restart assistant.
Check that it answers
When your assistant is back, your bot shows as online in Discord. Write to it as we explain in the next section.
Write to your bot
- By direct message: in your server, click your bot's name in the member list and send it a message. It answers everything you write.
- In a server channel: mention the bot with
@and its name. If you don't mention it, it doesn't answer. When you mention it, the bot opens a thread and answers inside it. If you carry on in that thread, you don't need to mention it again.
In a channel, each person has their own conversation with your assistant, even if you all write in the same place.
While your assistant prepares the answer, the bot marks your message with a reaction. When it finishes, it swaps it for another one.
Change the details or who can write
In the app, open Messaging > Discord. The details you've already saved have the Saved label and show up hidden. Paste only what you're changing and click Save changes. Anything you leave empty stays as it was. Then click Restart now, at the top of the card.
- To give someone else access: in Allowed Discord user IDs, write the full list, with the IDs you already had and the new one. What you write replaces the previous list.
- To remove someone: write the full list without their ID.
- To change the bot code: paste the new one into its field, in the Required section.
If you leave the list empty
If you don't write any ID, your assistant doesn't answer anyone on Discord. Anyone who writes to it by direct message gets a notice that they don't have permission to talk to your assistant yet, and in the app they show up on the Discord card, in Pending requests. Click Approve next to their name only if you know who they are. The person moves to Approved users and can now talk to your assistant. To take their access away, click Revoke and confirm.
Nobody can ask for permission in server channels. There it only answers the people on your list or the ones you approved.
If you let anyone write to your assistant when you signed up
The box "Let anyone write to your assistant", in the last step of sign-up, applies to your whole main assistant. If you ticked it and leave the Discord list empty, anyone who shares a server with your bot can talk to your assistant. Fill in Allowed Discord user IDs so that you decide who writes. To turn it off on all your channels, remove GATEWAY ALLOW ALL USERS in Settings > Tools & Keys > Settings, as we explain in Stop letting anyone write.
Pause or remove Discord
- To stop it: turn off the switch on the card and click Restart now. Your details stay saved. If you turn it back on and restart, your assistant answers again with the same details.
- To remove the bot from your server: do it in Discord, from the member list or the server settings.
If something goes wrong
Check in the app that the Discord switch is on and that you clicked Restart now after saving. If the card says Error or Startup failed, read the message under the title. The most common cause is that the bot code isn't valid: if you clicked Reset Token in the portal, only the latest one works. Paste it again into Bot token, click Save changes and then Restart now.
Check this, in order:
- In the Discord portal, in Bot > Privileged Gateway Intents, check that Message Content Intent is on. If you change it, click Save Changes and restart your assistant from the app: click your name, at the bottom left, and then the Assistant connected line, the one that says Restart assistant.
- Check that your ID is in Allowed Discord user IDs. It's a long number, not your username.
- In a server channel, mention the bot with
@. - If your budget for the month has run out, your assistant is paused. See Control your AI usage.
Discord turned down the connection because the bot is missing permission to read messages. In the portal, in Bot > Privileged Gateway Intents, turn on Message Content Intent and Server Members Intent and click Save Changes. Then restart your assistant from the app: click your name, at the bottom left, and then the Assistant connected line, the one that says Restart assistant.
The bot doesn't have permission to see that channel. In Discord, open the channel settings, go to the permissions and give the bot permission to view the channel and read the message history.
Their ID isn't on the list. Ask them for their ID, as we explain in Find your Discord ID, and add it to Allowed Discord user IDs along with the ones you already had.
If Discord already works, you don't need it. If you have to paste it again, click Reset Token in the portal and use the new code.
If none of this fixes it, contact support. Tell us which step fails and what message you see. Never send us your bot code.
Keep reading
Who can talk to your assistant
How it's decided who writes to your assistant on each channel.
Repair or restart your assistant
Where Restart assistant is and what happens when you click it.
Which channel to pick
All the ways to talk to your assistant.
Control your AI usage
What each reply costs and what happens if your balance runs out.