Creating a discord bot
-
Open the Discord developer portal and log in with your discord account.
-
Click on the
New Applicationbutton. -
Give your bot a name and proceed by clicking the
Createbutton. -
You can edit your application’s name, avatar and description in the
General Informationtab. -
Open the
Bottab, click on theAdd Botbutton and confirm by clickingYes, do it! -
You can edit your bot’s username, icon and banner in the
Bottab. -
Scroll down in the
Bottab and enable all 3 intents then click onSave ChangesEnabling Intents A quick guide to help you enable the intents. -
You can get the
Client IDfrom theGeneral Informationtab and the botTokenfrom theBottab to paste them later in your.envfile. -
To invite the bot to your discord server, head over to the
OAuth2tab, scroll down and click on both thebotandapplications.commandsscope.
Click on theAdministratorpermission and your bot invite link will be generated which can be copied via theCopybutton.
