GPT Chatbot for Discord | Installation Guide
Auto Installation
Section titled âAuto InstallationâTo install Your Bot using the automatic method:
- Select Auto from the integration options, then tap on âClick to Authenticateâ.

- Now, Click on Authorize and complete the authentication process.

- Grant administrator permissions to YGC Bot.

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.

- 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.

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.

Now you Chat with the YGC AI Chatbot in your server.
Custom Installation
Section titled âCustom InstallationâTo install YGC Bot using the custom method:
Prerequisites
Section titled â Prerequisites â- Ensure you have a developer portal account for Discord. If not, sign up at Discord Developer Portal.
- Visit the URL Discord Developer Applications and create a new application.

Setting up the Discord Integration
Section titled â Setting up the Discord Integration âTo integrate Discord with your application, follow these steps:
Obtain Application Credentials
Section titled âObtain Application Credentialsâ- Copy the
Application ID
. - Copy the
Public Key
.

Create a Bot and Generate Token
Section titled âCreate a Bot and Generate Tokenâ- Create a
Bot
within your application. - Generate a
Token
for the bot and copy it.

Enable the Bot
Section titled âEnable the Botâ- Enable the bot using the copied credentials within the Discord Developer Portal.

Obtain Webhook
Section titled âObtain Webhookâ- Copy the
Webhook
URL for your bot.

Integration Process
Section titled â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.

Add Permissions
Section titled â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
Section titled âTest the IntegrationâTo initiate a conversation, you must use chat slash commands. For instance, you can type /ask
.

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