Skip to main content

How it works

The Discord connector indexes all channels across every server (guild) that you specify.

Setting up a Bot User

  1. Open the Discord Developer Portal Log in at https://discord.com/developers/applications.
  2. Create an Application Click the “New Application” button.
  3. Name and Create Give your application a name and click “Create.”
  4. Configure the Bot Tab Navigate to the “Bot” tab to begin configuring your bot.
  5. Public Bot Option Enable the “Public Bot” option if you’d like others to be able to invite your bot.
  6. Enable Privileged Intents Under Privileged Gateway Intents, make sure MESSAGE CONTENT INTENT is checked.
  7. Copy the Bot Token Click the “Copy” button to save your token. If you’ve misplaced it, click “Reset Token” to generate a new one.

Inviting the Bot User to server(s)

Once your Bot User is created, you’ll need to add it to your servers:
  1. Open Your Application Go to https://discord.com/developers/applications and open your application.
  2. Open the Installation Tab Navigate to the “Installation” tab.
  3. Enable Guild Install Check “Guild Install” under Installation Contexts.
  4. Add the Bot Scope Under the scopes for Guild Install, add the bot scope.
  5. Set Minimum Permissions Under the permissions section for Guild Install, grant the following minimum permissions: Manage Messages, Read Message History, and View Channels.
  6. Install Using the Provided Link Use the “Discord Provided Link” to add the bot to your desired server(s). You must have “Manage Server” permissions on the target guild or server.
  7. Add the Bot to Your Servers Open the link in your browser and follow the prompts to add the bot.

Indexing

  1. Open the Discord Connector Go to the Connector Dashboard and select the Discord Connector.
  2. Enter the Bot Token Under credentials, paste the Bot Token you copied in Step 6 of the Bot User setup above.
  3. Enter Server IDs Provide the server IDs you want to index. By default, all channels in every server or guild where the bot has been added will be indexed.
  4. Find a Server ID To locate a specific server’s ID, right-click on the server name in the top-right corner and select “Copy Server ID.”
  5. Enter Channel Names Specify the channel names you want to index. By default, all channels within the specified servers that the bot has access to will be included.
  6. Find a Channel Name To retrieve a channel name, click the settings icon next to the channel. The name will be listed under the “Overview” section.
  7. Optional Start Date You can optionally set a start date in YYYY-MM-DD format. Only messages sent on or after this date will be indexed in ASSIST AI.