test

Constatic

Discord Bot BaseGuides

Bot application

How to create a discord bot application, enable intents and get token

This is a simple guide on how to create an application to develop discord bots

You need to set up a discord bot application through the discord website.

First access https://discord.com/developers/applications

Create a new application

setp-01

Set the application name and click create

setp-02

Enable intents

setp-03

Your bot's token will be revealed when you open the "Reset Token" button and confirm.

setp-04

Copy the token and paste it into the .env file

.env
BOT_TOKEN=yourtoken

To invite the bot to the server, click on the OAuth2 tab and then on URL Generator. Check the "bot" and "application.commands" scopes. Check admin permission. A url will be generated below, just access it to choose the server you want the bot to enter.

setp-05setp-06

On this page

No Headings