Discord

GPT Chatbot for Discord | Installation Guide

Connecting Your Custom Bot with Discord

Auto Installation

To install Your Bot using the automatic method:

  • Select Auto from the integration options, then tap on "Click to Authenticate".
Create Application
  • Now, Click on Authorize and complete the authentication process.
Create Application
  • Grant administrator permissions to YGC Bot.
Create Application

Now you can see that ygc AI Chatbot is added to your server.

  • Go to the integration page and add the channel ID by simply copying and pasting the channel ID by right-clicking on the channel settings icon.
Add Channel ID
  • 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.
Discord Channel ID

To Get the Channel ID, First enable the developer mode and then go to the channel settings.

  • From Discord Settings -> Click on Advanced -> Enable the Developer mode.
Auto Authentication

Now you Chat with the YGC AI Chatbot in your server.


Custom Installation

To install YGC Bot using the custom method:

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

The Integration ID for Discord is 15 and Only text message is only supported in the Discord integration.

Note

You can chat by using specific commands that start with a @ or by using Direct Message if Direct Message is enabled in the integration settings.

If Direct Message is not enabled, you can only interact by using commands that start with a @symbol.

On this page