🤖 Chatbot
🔌 Integrations
Social
Discord

GPT Chatbot Integration For Discord

💡

Connecting Your Custom Bot with Discord

Prerequisites

Create Application

Setting up the Discord Integration

To integrate Discord with your application, follow these steps:

Obtain Application Credentials

  • Copy the Application ID.
  • Copy the Public Key.
Application Credentials

Create a Bot and Generate Token

  • Create a Bot within your application.
  • Generate a Token for the bot and copy it.
Create Bot and Token

Enable the Bot

  • Enable the bot using the copied credentials within the Discord Developer Portal.
Enable Bot

Obtain Webhook

  • Copy the Webhook URL for your bot.
Obtain Webhook

Integration Process

  • Paste the copied Webhook URL into your application.
  • Successful integration means the webhook is added; otherwise, update the integration credentials with the correct data.
Integration Process

Add Permissions

  • Go to OAuth 2 and go to Bot permissions.
  • Grant the Bot necessary text permissions.
  • Copy the generate URL and paste it to your browser and Add the bot to your server.

Test the Integration

To initiate a conversation, you must use chat slash commands. For instance, you can type /ask.

Test the Integration
📝

You can only chat by using specific commands that start with a slash. Without these commands, you can't interact.

Custom/Auto Installation

  • Add YourGPTBot.
Add YourGPTBot
Add YourGPTBot Confirmation
  • Select Auto from option click on authentication and complete the authentication.
Auto Authentication
  • Now you can see that ygc Ai Chatbot is added to your server

  • To get the response, you all need to add the channel ID by simply copying and pasting the channel ID by right-clicking on the channel settings icon.

Add Channel ID