For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect Discord

This guide walks you through connecting Discord to your Genie environment so your team can interact with the AI assistant directly from Discord channels and direct messages.


Prerequisites

  • A Genie account with a running server

  • A Discord server where you have Manage Server permission


Step 1: Open Discord Setup in Genie

Go to your Genie dashboard → SettingsChannelsDiscord and expand Discord bot setup instructions.

You will see a 6-step setup summary and a field to paste your bot token.

Genie Discord setup page with instructions

Step 2: Create a Discord Application

  1. Go to the Discord Developer Portal and click New Application.

Discord Developer Portal — Applications page
  1. Name the application (e.g. "Genie"), accept the Terms of Service, and click Create.

Create a new app dialog

You will land on the General Information page for your new application.

Application General Information page

Step 3: Add a Bot and Copy the Token

  1. In the left sidebar, go to Bot.

Bot configuration page
  1. Under the Token section, click Reset Token and confirm.

Reset Token confirmation dialog
  1. Copy the newly generated token. You will need this in a later step.

Bot token displayed — copy it now

Step 4: Enable Privileged Gateway Intents

Scroll down to the Privileged Gateway Intents section on the same Bot page. Enable both:

  • Server Members Intent

  • Message Content Intent

Click Save Changes.

Privileged Gateway Intents — enable Server Members and Message Content

Step 5: Generate an Invite URL

  1. In the left sidebar, go to OAuth2URL Generator.

  2. Under Scopes, check bot and applications.commands.

OAuth2 URL Generator — select scopes
  1. Under Bot Permissions, check the following:

  • View Channels

  • Send Messages

  • Embed Links

  • Attach Files

  • Read Message History

  • Add Reactions

Bot Permissions — select required permissions
  1. Copy the Generated URL at the bottom of the page.


Step 6: Invite the Bot to Your Server

  1. Open the generated URL in your browser. Select the server you want to add the bot to and click Continue.

Discord authorization — select server
  1. Review the permissions and click Authorize.

Discord authorization — confirm permissions
  1. You should see a success message confirming the bot has been added.

Authorization success — bot added to server

Step 7: Save Token in Genie

Go back to your Genie settings. Paste the bot token you copied earlier into the token field and click Save & Connect.

The status should change to Connected.

Discord Connected status in Genie settings

Step 8: Pair Your Discord Account

  1. Open Discord and send a direct message to the Genie bot (e.g. "Hey!").

  2. The bot will respond with a pairing code and your Discord user ID.

Discord DM showing pairing code from Genie bot
  1. Go back to Genie settings. Under Pending Chat Requests, you will see the pairing request. Click Approve.

Pending chat request with Approve button in Genie settings

Step 9: Start Chatting

After approval, the bot confirms access in Discord. You can now interact with your AI assistant through direct messages or by @mentioning the bot in channels.

Working example

Tips

  • Mention the bot in any channel it has access to: @Genie how do I set up a database?

  • DM the bot for private interactions — only you see the responses

  • Each user who wants to chat must complete the pairing flow individually

  • Consider creating a dedicated #genie-ai channel to keep bot conversations organized

  • The bot uses your full server context — same files, tools, and configurations as the browser

  • All interactions consume credits from the Genie account that connected the bot

Last updated