Files
mintlify__docs/ai/discord.mdx
2026-01-30 10:34:54 -08:00

51 lines
2.9 KiB
Plaintext

---
title: "Discord bot"
description: "Add a bot to your Discord server that answers questions based on your documentation."
keywords: ["Discord", "bot", "Q&A", "customer support"]
---
<Info>
Discord integrations are available on [Pro and Enterprise 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 [Assistant](https://dashboard.mintlify.com/products/assistant) page in your dashboard.
1. In the Discord card, click **Configure**. This opens Discord.
<Frame>
<img src="/images/assistant/connected-apps-light.png" alt="The connected apps section of the assistant page." className="block dark:hidden" />
<img src="/images/assistant/connected-apps-dark.png" alt="The connected apps section of the assistant page." className="hidden dark:block" />
</Frame>
1. In Discord, select the server you want to add the bot to.
1. Authorize the bot to access your server.
1. 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="/images/assistant/discord-configure-light.png" alt="The Discord configuration panel in light mode." className="block dark:hidden" />
<img src="/images/assistant/discord-configure-dark.png" alt="The Discord configuration panel in dark mode." className="hidden dark:block" />
</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.