# How to build a Discord bot from ChatGPT

> Connect Buildcord to ChatGPT or Claude, then ask for slash commands, welcome messages and embeds in the chat. The bot is built in Buildcord, ready to deploy.

Source: https://buildcord.dev/guides/discord-bot-from-chatgpt/
Updated: 2026-11-05
Publisher: Buildcord (https://buildcord.dev)

You can describe a Discord bot in ChatGPT or Claude and have it built in Buildcord. The AI app adds the flows, steps and designs to your bot's draft, Buildcord checks every change, and you deploy from the builder when it's right.

## Steps

1. **Make a Buildcord account.** Sign up for a free account. You can create the bot itself from the chat later.
2. **Add Buildcord to ChatGPT.** In ChatGPT, open **Settings**, then **Apps**, then **Advanced settings**, and turn on **Developer mode**. Choose **Create app**, paste `https://api.buildcord.dev/mcp` and choose OAuth. In Claude, it's **Settings**, then **Connectors**, then **Add custom connector**, with the same address.
3. **Sign in and allow.** Sign in to Buildcord when the app asks, and select **Allow**. The consent page lists what the app can do: see your bots, and build and change them.
4. **Ask for what you want.** Try `Make my bot a /poll command that posts a question with up to four buttons and counts the votes`. In ChatGPT, a widget shows the bot's flows and draws the new one as a diagram.
5. **Check and deploy.** Open the bot in Buildcord to see the changes on the canvas. Connect your Discord token there if you haven't, then press **Deploy**.

## Good to know

- The AI app can create bots and change their flows, embeds, buttons, menus, forms, variables, collections and settings. It asks you to confirm before deleting anything.
- It can't see your bot's token or secrets, deploy, or do anything on Discord.
- It doesn't use the builder agent's turns, because the AI app's own model does the work. Bots made from the chat count towards your plan's bot limit.
- Disconnect at any time from **Account**, then **AI apps**, in the builder. The full setup is in the docs at docs.buildcord.dev/ai-apps.

## Questions

### Does it work with apps other than ChatGPT and Claude?

Yes, any app that can add a remote MCP server with OAuth sign-in, using the same address.

### Can I deploy from the chat?

No. Changes go into the bot's draft, and you deploy from the builder's Deploy button.

## Build it

Free for bots that answer slash commands. Start building: https://app.buildcord.dev/sign-up
