Module 03 — Communicate with Discord
🎮 The Cricut Analogy: Download the Software
You bought a Cricut machine, but you can't use it until you install Design Space. Discord is your Design Space. It's the persistent interface where conversations live, even when you close the browser tab.
What Discord Does (That the Web Chat Doesn't)
- Persistent conversations: Close your browser, come back tomorrow, history is still there
- Multiple channels: Separate spaces for different topics or projects
- Rich media: Images, files, code snippets display properly
- Any device: Phone, tablet, laptop — all sync
- Notifications: Agent can ping you when something needs attention
The Setup (You Do This)
1
Create Your Discord Account
- Go to discord.com
- Click "Sign Up" or "Open Discord in Browser"
- Enter your email, create a username, set a password
- Verify your email (check inbox for confirmation link)
- Download the Discord app (optional but recommended) or use the browser version
Why this works
This is the foundation. Your Discord account is permanent and free. Everything else builds on this.
2
Create Your Discord Server (Your "Home Base")
You need a server to house your agent. Think of this as creating your workspace.
- In Discord, look for the "+" button in the left sidebar (Add a Server)
- Click "Create My Own"
- Select "For a club or community" or "For me and my friends" — both work
- Server name: Name it something like:
- "My Agent"
- "Heyron Workspace"
- Your name + AI (e.g., "Catherine's Assistant")
- Click "Create"
- Skip the template setup for now — you'll customize later if needed
Why this works
Discord bots (your agent) need to be invited to a server to function. Creating your own server gives you full control. The server is private unless you invite others.
3
Create Your Agent Bot (Give It an Identity)
Now you create the bot account that your agent will use to communicate.
- Go to discord.com/developers/applications (in a new browser tab)
- Log in with the Discord account you just created
- Click "New Application" (top right)
- Application name: Give your agent a name (e.g., "MyAssistant", "Blair", etc.)
- Click "Create"
- On the left sidebar, click "Bot"
- Click "Add Bot" → confirm with "Yes, do it!"
- Click "Reset Token" (you may need to enter your password)
- COPY THE TOKEN immediately — it looks like a long string of letters and numbers
⚠️ This token is your bot's password. Never share it publicly. Copy it now — once you close this page, you can't see it again without resetting.
Why this works
You just created a digital identity for your agent. The token is the key that lets the agent log in as that bot user and send messages.
4
Invite Your Bot to Your Server
Your bot exists, but it needs permission to join your server.
- Still in the Discord Developer Portal, stay on the "Bot" page
- Scroll down to "Privileged Gateway Intents"
- Turn ON these three switches:
- Presence Intent
- Server Members Intent
- Message Content Intent
- Click "Save Changes" at the bottom
- On the left sidebar, click "OAuth2" → "URL Generator"
- Under "Scopes", check "bot"
- Under "Bot Permissions", check:
- Send Messages
- Read Message History
- Attach Files
- Embed Links
- Add Reactions
- Copy the generated URL at the bottom
- Paste that URL into a new browser tab
- Select your server from the dropdown
- Click "Authorize"
- Complete the CAPTCHA (prove you're human)
Why this works
The OAuth2 link generates an "invitation" URL. When you authorize it, Discord gives your bot permission to join your server and send messages. You control what permissions it has.
5
Connect Your Agent to Discord
Give the bot token to your agent so it can connect.
Say to your agent: "Connect to Discord. My bot token is: [paste token here]"
Your agent will:
- Validate the token
- Connect to Discord's servers
- Join your server
- Confirm the connection is live
Why this works
The agent uses the token to authenticate as your bot. Once connected, it can read and send messages in your server just like any user.
6
Send Your First Message
Test that everything works:
- Go to your Discord server
- Find the "#general" channel (or any text channel)
- Type a message to your agent
- Wait for a response
Example first message: "Hello! Can you confirm we're connected?"
What should happen:
- Agent responds in the same channel
- Response appears within a few seconds
- You can now have ongoing conversations
If it doesn't work:
- Double-check the bot token was copied correctly
- Verify the bot appears in your server's member list (offline/online)
- Check that Message Content Intent is enabled in Developer Portal
- Make sure you authorized the bot with sufficient permissions
What You Can Do Now
With Discord connected:
- ✅ Close your browser and come back — conversation history persists
- ✅ Send images and files easily
- ✅ Create multiple channels for different projects
- ✅ Access conversations from phone, tablet, or any computer
- ✅ Your agent can notify you when tasks complete
- ✅ Share access with others (if you want) by inviting them to your server
Quick Tips
- DM vs Server: You can also DM your bot directly for private conversations. Just find the bot in your server, right-click → "Message."
- Channels: Create new channels for different topics (e.g., #project-alpha, #research, #random)
- Mentions: Type
@YourBotName if you want to make sure the bot notices a message
- Threads: Right-click any message → "Create Thread" to keep side conversations organized