-
Notifications
You must be signed in to change notification settings - Fork 9
π Initial Discord Bot Creation Guide
Thank you for deciding to give this a shot! This short guide will guide you through the process of registering your Discord Bot at Discord.
This Discord bot requires you, to register your own Discord application. No worries, this is not complicated and can be done under 5 minutes.
Go to https://discord.com/developers/applications and click on the "New Application" button.
Then, you'll be prompted for an application name. This is not the name, that will be shown in Discord. Instead, it is only for you to remember what this application does.
Make sure to check the checkbox below to agree to the required ToS and policy.
An application is not necessarily a bot. For this reason, we need to add a bot to this application. Click on the "Bot" tab:
Then, click on the "Add Bot" button on the right side:
Confirm your action by pressing the "Yes, do it!" button:
By default, everyone can invite this bot to any server. This is bad, because they could exploit vulnerabilities to harm you.
For this reason, please uncheck the "Public bot" switch:
Next, check the "message content intent" switch:
Make sure to save your changes using the banner blow:
Now, it's time to invite your shiny new bot to your server.
Simply click on Oauth
and a new menu selection will show up.
Click on URL Generator
:
Then, check the bot
scope at the very top of the page:
Then, check the following permissions and click on the blue "Copy" button on the very bottom to copy the invitation link.
Open this link in your browser and a shiny bot invitation window will appear. Select your server and hit "Continue":
Make sure, that all check boxes are enabled in the following step. Click "Authorize".
You're good to go to the next step, when you see this popup:
Until now, you just have configured the bot application for Discord. Now, you need to host it somewhere.