Step by step guide on how to launch an AI chat bot on your Discord server. Takes no more than 10 minutes and no coding is required!
VIDEO
In this guide, we’re going to follow 5 simple steps to create a smart conversational AI that anyone can talk to on your Discord server: Create a Discord server Create a Discord application Add bot to your Discord server Create a Quickchat.ai account Integrate your Discord bot with Quickchat.ai Here’s what it’s going to look like once we’re finished: End goal - smart conversational AI that anyone can talk to on your Discord server If you’re reading this you probably know what Discord is. But in case you don’t, in their own words, Discord is Your Place to Talk and Hang Out. You can create communities, talk via text or voice and share digital content. Reportedly, Discord has now grown to 150M monthly active users (as of September 1st, 2021 ).
If you don’t have a Discord account yet, head over to discord.com and create one. I’d also recommend downloading their mobile or desktop app if you’re planning to use it more.
Once you’re logged in, go ahead and create your first server :
Create your first server
Server creation steps
And you’re done! We will now create a Discord application for your bot. Head over to discord.com/developers/applications and make sure you’re still logged on as to your Discord account.
Create a new application Choose application name And you’re done! Before adding your bot to the server, enable Message Content Intent for your application. It will allow your bot to read messages sent by users on your server.
Go to bot settings Scroll down to Privileged Gateway Intents, enable Message Content Intent and save changes
Adding bots to Discord servers is super simple. We will generate a unique URL which you (or any other Discord server administrator) can click on or paste into your browser. Bot will magically appear in the chosen server.
First of all, let’s generate our URL by choosing OAuth2, URL Generator on the left hand side:
Assign the bot scope It’s usually best to give the bot the minimum necessary permissions. We need the bot to be able to:
send messages in channel create public threads send messages in threads read message history Choose permissions and copy your URL In general, your URL will have the following structure:
https://discord.com/api/oauth2/authorize?client_id=<YOUR CLIENT ID>&permissions=309237712896&scope=bot
Let’s now add it to your Discord server by simply pasting it into the browser. As before, make sure that you’re logged in to your Discord account.
Select the server to add the bot and continue When adding the bot user will be asked to confirm permissions requested by the bot creator And that’s it! You will now be able to see that the bot has appeared on your server . It is however offline for now. Our final step is to use Quickchat.ai to launch the AI that will power the bot!
Bot joined server but for the time being it is offline Quickchat.ai allows you to create your own AI Assistant that has great conversational skills and general world knowledge by default, out of the box.
If you want to, you can give your AI specific knowledge about your company, project, product or virtually anything else. If you want to learn how to do it, watch our 10-minute video guide on YouTube .
But even without any specific knowledge the Quickchat engine makes a great conversation partner so we’re going to go with that for now. Head over to quickchat.ai and create your account:
Start building Subscribe for the 2-week trial for just $14.
Subscribe and pay with Stripe The final step is to enable your Discord bot in the Quickchat dashboard . Let’s retrieve your Discord bot token. Head over to the Bot section of your Discord application settings and copy the token:
Reset your token Copy bot token Now enable your Discord bot in Quickchat settings and paste the token:
Paste bot token retrieved from Discord developer portal And that’s it! 🎉 Go back to Discord and check that your bot is now online. Magic!
Make sure that you @mention the bot when sending your first message!
Your Discord bot is now live!