> ## Documentation Index
> Fetch the complete documentation index at: https://wiki.another-horizon.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# Discord bot

> Add a bot to your Discord server that answers questions based on your documentation.

<Info>
  Discord integrations are available on [Pro and Custom plans](https://mintlify.com/pricing?ref=discord) with access to the assistant.
</Info>

The Discord bot supports your community with real-time answers from your documentation. The bot uses the Mintlify assistant to search your docs and provide accurate, cited responses, so it is always up-to-date.

The Discord bot only works in public channels. It replies to `@` mentions or to all messages in a specific channel.

Each message sent by the Discord bot counts toward your assistant message usage.

## Add the Discord bot to your server

<Note>
  You must have the "Manage Server" permission in Discord to add the bot.
</Note>

1. Navigate to the [Integrations](https://dashboard.mintlify.com/products/assistant/settings/integrations) tab of the **Assistant Configurations** page in your dashboard.
2. In the Discord card, click **Connect**. This opens Discord.

   <Frame>
     <img src="https://mintcdn.com/anotherhorizon/xUu33r2fE-ckWJ-B/images/assistant/discord-connect-light.png?fit=max&auto=format&n=xUu33r2fE-ckWJ-B&q=85&s=c50941692a6c07b9b649b205cba87c6c" alt="The connect button in light mode." className="block dark:hidden" width="854" height="234" data-path="images/assistant/discord-connect-light.png" />

     <img src="https://mintcdn.com/anotherhorizon/xUu33r2fE-ckWJ-B/images/assistant/discord-connect-dark.png?fit=max&auto=format&n=xUu33r2fE-ckWJ-B&q=85&s=1770e097e131ac21734fc3c5c33cd263" alt="The connect button in dark mode." className="hidden dark:block" width="854" height="234" data-path="images/assistant/discord-connect-dark.png" />
   </Frame>
3. In Discord, select the server you want to add the bot to.
4. Authorize the bot to access your server.
5. Mention the bot to add it to a channel. The bot's default name is `@Mintlify Bot`.

## Create an `#ask-ai` channel

To help your community quickly get answers to their questions, the bot can reply to every message in a channel that you choose. By default, the bot replies to every message in channels named `#ask-ai`. Create an `#ask-ai` channel and let your community know that the bot will reply to messages in that channel.

If you want the bot to reply to messages in a different channel, select a channel in the Discord bot [configuration menu](https://dashboard.mintlify.com/products/assistant/settings/integrations).

<Frame>
  <img src="https://mintcdn.com/anotherhorizon/xUu33r2fE-ckWJ-B/images/assistant/discord-configure-light.png?fit=max&auto=format&n=xUu33r2fE-ckWJ-B&q=85&s=2d9534231b9a8484cbf2bdc18b3ca0be" alt="The Discord configuration panel in light mode." className="block dark:hidden" width="922" height="1132" data-path="images/assistant/discord-configure-light.png" />

  <img src="https://mintcdn.com/anotherhorizon/xUu33r2fE-ckWJ-B/images/assistant/discord-configure-dark.png?fit=max&auto=format&n=xUu33r2fE-ckWJ-B&q=85&s=ff2a426731b9fedfb1994adf911a06f9" alt="The Discord configuration panel in dark mode." className="hidden dark:block" width="922" height="1132" data-path="images/assistant/discord-configure-dark.png" />
</Frame>

See [Starting Your First Discord Server](https://discord.com/blog/starting-your-first-discord-server) on the Discord blog for more information on creating a channel.

## Manage the Discord bot

After you add the Discord bot to your server, you can manage or remove the bot from the [Integrations](https://dashboard.mintlify.com/products/assistant/settings/integrations) tab in your dashboard.

In the Discord bot configuration menu, customize the bot by changing its avatar or name, and choose which channel it automatically replies to all messages in.
