A quick and short tutorial on how to create a discord bot application, and how to navigate through the discord developer panel to gain information about your bot.
Create the application in order to have your bot profile and information.
- Go to the discord developer application page.
- Login to your discord account.
- Click the New Application button at the top right.
- Enter the name you would like to give your bot.
- Lastly, click the create button. And now you should have an application!
Now that you have your application, you can create the actual robot!
- Click your new application pad.
- Open the Bot tab to the left.
- Lastly, click the Add Bot button to the right.
These questions may come up at a certain point, so might as well take a look right?
By the end of this, the bot token will be copied to your clipboard.
- Go to the discord developer application page.
- Click the application pad you want.
- Open the Bot tab to the left.
- Click the Copy button under Click to Reveal Token.
This will make all past tokens created for your bot dysfunctional.
- Go to the discord developer application page.
- Click the application pad you want.
- Open the Bot tab to the left.
- Click the Regenerate button under Click to Reveal Token.
By the end of this, the application ID will be copied to your clipboard.
- Go to the discord developer application page.
- Click the application pad you want.
- Click the Copy button under CLIENT ID.
By the end of this, the bot invite link will be copied to your clipboard.
- Go to the discord developer application page.
- Click the application pad you want.
- Open the OAuth2 tab to the left.
- Click the bot button under Scopes.
- Scroll down, select all the bot permissions you need.
- Click the Copy button to the right of the newly generated bot token.
This is a complete guide that will teach you the basics of hosting a discord javascript application.
By the end of this tutorial, the bot should be online.
- Create a file on your desktop with all the bot files in it.
- Open the file, and copy the navigation link.
- Open a command prompt.
- Run the
cd <navigation link>command to get into the directory. - Run the
npm installcommand to install all the dependencies. - Run the
node .command to turn the bot online.
This tutorial is meant for people with a slight knowledge of how to use Ubuntu.
- Create a file in any directory and import the bot files into it.
- Change directory to the file you just created.
- Run the
npm installcommand to install the dependencies. - Run the
npm install --global pm2command to install pm2 on the system. - Run the
pm2 start .command to start the bot on the system.