How to make a Discord bot
There are multiple steps involved before you lot can employ your new bot
And then y’all’re finally ready to create your first Discord bot from scratch, but how does one get about doing that? Before y’all can even brainstorm developing and optimizing your bot, you lot still accept to take a few extra steps beforehand. You’ll need to set up an application projection with the Discord platform and create a listing for your bot so it tin can exist invited to other servers. This guide will walk you through the steps required to listing your bot with Discord and how to bring it over to your own server for testing purposes.
What are Discord bots?
Although Discord is an incredible platofrm for grouping chats, it works best with a fiddling aid—that’southward where bots come into play. Discord bots are AI tools perform diverse moderation and administrative tasks. At that place’s no shortage of off-the-shelf Discord bots that you can easily install on your server. That said, if yous’re unable to observe the perfect bot to fit your needs, you can create your own.
How to set upwards a Discord application project for your new bot
The get-go part of this whole process involves logging into the Discord Developer Portal and working on creating a listing for your new bot. You’ll add a new application, an icon, and fifty-fifty a description for your bot if y’all programme to go public. To get started adding your bot to Discord, y’all can exercise the following:
- Visit the official Discord Programmer Portal then log in with your account credentials.
Tap on the
push button in the upper right corner.
Give your new Discord application any proper noun you want, then press the
section to upload a unique image that’ll brand your bot easily identifiable.
Now y’all can blazon a curt description of what your bot does and add a few tags for search purposes.
- To add a tag, you just type in a word then hit the enter central. Add upwardly to 5 different tags to make it easier for others to find your bot when going public.
If needed, you lot can add a link to the
Terms of Service
Private Policy URL
- If you’re making a bot to be used privately on your ain server betwixt family and friends, you can probable skip this office.
button at the lesser to finish up here.
How to add your new bot to your Discord application project
After creating the awarding projection where the bot will be stored, it’south time to actually add the bot to the project itself. You lot’ll get a unique code that allows your bot to communicate with the Discord platform. Thus, yous’ll exist able to then host the bot on Discord, which will enable yous to invite it to your ain server later. To get started adding your bot to your application project, you can do the following:
Tap the hamburger menu in the upper left, then go to the
Build-A Bot, tap the
button to go along.
Read the brusque description that pops up and hit
Yep, do it!
to add your bot.
department, copy and paste that number somewhere safe where information technology won’t get lost.
If you ever lose access to the token, you lot’ll need to striking the
button to get a dissimilar 1. In one case you do that, you’d have to use the new code to log in before you can update your bot on the Discord platform.
- If you ever lose access to the token, you lot’ll need to striking the
How to invite your new bot to your Discord server
With the new Discord bot listing created, it’due south time to invite the bot to your server so yous can use it for yourself. Earlier starting with that, you’ll demand to ensure the
permission box is checked on your Discord account. We have the steps in another guide under the
How to enable bots on your Discord server
section if needed. In one case that’south taken care of, yous can invite the bot to your Discord server by doing the post-obit:
Tap the hamburger menu in the upper left of the Developer Portal, and so select
At present you desire to go to the
Scopes, scroll down as needed and check the
box to continue.
Scroll down to the
department, and so check all the permission boxes that your bot volition use.
One time the appropriate permissions are fix, gyre to the bottom nether the
button to add the Discord bot URL to your clipboard for the adjacent stride.
Open up a new tab in your web browser, paste that URL, then become to the authority page for your bot.
- You may have to log into your Discord account again to add together your new bot, so do that here if needed.
Add to Server
drop-downwardly carte du jour, select the server for your business relationship, then hitting the
- You lot should now see all the permissions you lot set earlier that your bot uses to work correctly.
If everything checks out, striking the
push to invite and add together your Discord bot to the selected server.
I am human
box, solve the CAPTCHA paradigm examination, then you should encounter the
- Head over to your Discord server, and you should notice a welcome message for your new bot.
The real piece of work can begin at present that you’ve created a bot list on Discord, got the unique token, and invited it to your server. You’ll be setting upwardly a few parameters in the procedure and telling your bot what you lot want it to exercise. The bot volition stay offline until your code is aligned correctly and synced with the Discord platform. Once y’all get past the long initial setup and coding phase, you can finally share your new bot with anybody on your server.
Although you can discover a Discord server that caters to just nigh whatsoever niche, the platform has a potent gamer customs. If your gaming is limited whatever is available on a console or PC, it’south time to aggrandize your horizons. Amazon has thousands of incredible games that you can play anywhere. Check out our list of the all-time Android games to become yous started.