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)

The Setup (You Do This)

1

Create Your Discord Account

  1. Go to discord.com
  2. Click "Sign Up" or "Open Discord in Browser"
  3. Enter your email, create a username, set a password
  4. Verify your email (check inbox for confirmation link)
  5. 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.

  1. In Discord, look for the "+" button in the left sidebar (Add a Server)
  2. Click "Create My Own"
  3. Select "For a club or community" or "For me and my friends" — both work
  4. Server name: Name it something like:
    • "My Agent"
    • "Heyron Workspace"
    • Your name + AI (e.g., "Catherine's Assistant")
  5. Click "Create"
  6. 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.

  1. Go to discord.com/developers/applications (in a new browser tab)
  2. Log in with the Discord account you just created
  3. Click "New Application" (top right)
  4. Application name: Give your agent a name (e.g., "MyAssistant", "Blair", etc.)
  5. Click "Create"
  6. On the left sidebar, click "Bot"
  7. Click "Add Bot" → confirm with "Yes, do it!"
  8. Click "Reset Token" (you may need to enter your password)
  9. 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.

  1. Still in the Discord Developer Portal, stay on the "Bot" page
  2. Scroll down to "Privileged Gateway Intents"
  3. Turn ON these three switches:
    • Presence Intent
    • Server Members Intent
    • Message Content Intent
  4. Click "Save Changes" at the bottom
  5. On the left sidebar, click "OAuth2" → "URL Generator"
  6. Under "Scopes", check "bot"
  7. Under "Bot Permissions", check:
    • Send Messages
    • Read Message History
    • Attach Files
    • Embed Links
    • Add Reactions
  8. Copy the generated URL at the bottom
  9. Paste that URL into a new browser tab
  10. Select your server from the dropdown
  11. Click "Authorize"
  12. 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:

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:

  1. Go to your Discord server
  2. Find the "#general" channel (or any text channel)
  3. Type a message to your agent
  4. Wait for a response
Example first message: "Hello! Can you confirm we're connected?"

What should happen:

If it doesn't work:

What You Can Do Now

With Discord connected:

Quick Tips