Channels

Create ChatGPT Discord Bots

💡

The Discord channel allows you to interact with your bot right in Discord! Use it to create bots for your WoW guild, your Discord support or whatever else you can think of!

Discord quick start

If you want to get setup with Discord quickly checkout the video below:

Creating a Discord bot

🚨

Before you start

The Discord integration is only available on Standard, Pro and Enterprise plans.

Before you can connect Chat Thing to Discord you need to create a Discord bot. Creating a bot is easy and it allows you to customise how it appears on your server.

  1. First go here: https://discord.com/developers/applications

  2. Click the new application button in the top right. Xnapper-2023-06-29-13.26.25.png

  3. Give your application a name and click the “Create” button. Xnapper-2023-06-29-14.57.20.png

  4. Your bot will be created and you will be redirected to the bot admin page. Notice the application id. You will need this in the next step. Xnapper-2023-06-29-15.00.22.png

Connecting your bot to Discord

  1. From the your bot dashboard, go to the Channels tab and enable the Discord channel by clicking its toggle switch. Xnapper-2023-06-29-15.04.45.png

  2. In the setting window that appears, paste your bots application/client id into the field. Xnapper-2023-06-29-15.04.55.png

  3. After entering your client id you will see a number of other settings appear. Before your bot can be connected, you will need to find three more bits of information from the Discord bot admin. Client secret, bot public key and bot token. You can use the links in the settings to help you find these or keep on reading and we will show you how. Xnapper-2023-06-29-15.05.20.png

  4. First add your discord bot client secret. You will need to get this from “Oauth2” section of the discord bot admin. When you are on the page click the “Reset secret” button to display the secret so you can copy it. Xnapper-2023-06-29-15.11.55.png

  5. Paste this back into the client secret field in Chat Thing. Xnapper-2023-06-29-15.12.25.png

  6. Next you need to find the bot public key. This can be found on the general information page of the discord bot admin. Xnapper-2023-06-29-15.24.45.png

  7. Copy the key and add it into the Bot public key field in the Chat Thing Discord settings. Xnapper-2023-06-29-15.25.06.png

  8. Finally, you need the bot token from the Discord bot admin. This can be found in the “Bot” section. Once there, click the “Reset token” button to reveal the token so you can copy it. Xnapper-2023-06-29-15.25.16.png

  9. Paste it into the Bot token field in the Discord settings. Xnapper-2023-06-29-15.25.26.png

  10. Go back to the Chat Thing Discord settings and click the Update settings button. It’s important you do this before progressing to the next steps! Xnapper-2023-06-29-15.25.37.png

  11. Next we need to add two bits of data back into the Discord bot admin, the oAuth2 redirect url, and the Interactions endpoint URL. You can use the links above these fields in the Chat Thing Discord settings to take you to the correct areas on Discord. Xnapper-2023-06-29-15.33.21.png

  12. Copy the oAuth2 redirect URL from the Chat Thing Discord settings. Xnapper-2023-06-29-15.33.40.png

  13. Go to the Discord admin OAuth2 page and click the Add redirect button. Xnapper-2023-06-29-15.33.55.png

  14. Paste in the redirect URL, and then click the Save changes button that appears at the bottom of the page. Xnapper-2023-06-29-15.34.20.png

  15. Go back to the Chat Thing Discord settings and copy the Interactions endpoint URL. Go to the general information section of the Discord bot admin and paste the URL into the Interactions endpoint URL filed. Xnapper-2023-06-29-15.34.34.png

  16. Click the Save changes button that appears at the bottom of the page. Xnapper-2023-06-29-15.34.20.png

  17. Finally, click the add to discord button to choose a discord server to install your bot. Xnapper-2023-06-29-15.43.09.png

  18. Then, click Continue Xnapper-2023-06-29-14.23.23.png

And TA DA! You're nearly there! Xnapper-2023-06-29-14.23.14.png

When you go to your discord channel, you should now see it, and chat to it!! Xnapper-2023-06-29-14.22.23.png

Changing Discord bot settings

Changing the slash command and description

To change your bots slash command and description, open the channel settings, make your adjustments and click “Update settings”. Your changes will appear in any Discord server where your bot is installed.

Changing the Discord bot icon

Changing the bot icon can be completed through Discord bot admin area in the “General information” section.

Changing the Discord bot display name

Changing the Discord bot display name can be completed through the Discord bot admin area in the “Bot” section.

Troubleshooting steps

I’ve completed all the steps and my Discord bots not working!

The most common issue is that you have made a mistake while entering the credentials from Discord into the Chat Thing settings. Don’t worry its easy to do!

Try going back through each step and double checking you have entered the correct credentials in each box. You will need to reset the client secret and bot tokens. After doing this update your setting and try again.

I can’t save after adding the interactions endpoint in the Discord bot admin

This can happen if you haven’t updated your channel settings in Chat Thing with the bot secret, public key, and token, or if any one of those is wrong. Check these, save, and then try again in Discord.

Previous
Slack