Discord Bot Token

What is a discord bot token?

Discord Bot Token is a short phrase that acts as a “key” to controlling a Discord Bot. Tokens are used inside bot code to send commands back and forth to the API, which in turn controls bot actions.

Getting a bot token

Head over to discord discord developer portal. After that look on top right and click new application

Click on New Application
Time to pick a name. Pick the name of your bot you would want. Could be changed later if needed.

Making the Bot

Now lets head over to the bot page on the left hand side.

Click the bot page.
Click add bot
Once the bot is made it can not be removed.

Inviting the bot to your server

Lets get started on inviting your newly made discord bot to your discord server. First off you will need your client token to start off with and this link. http://absentservices.xyz/authorize/

Head over to "General Information" tab and get the client id.

Copy the client id

Then head over to your internet browser and paste the link

Pick server and then authorize it.
After authorized, you will see this.

Setting Bot Permissions

To set up the discord bot permissions you could either setup a role in your server or setup permissions from the bot application. Lets head over to the bot page. and scroll down.

if doing it this way, pick what permissions you want.

Depends on what bot you are making. You will need your discord bot to have permissions to edit your chat, kick, ban, mute, manage server, or just set it as administrator. Note if your doing it this way you will need to re-invite your discord bot to the discord server using the link. After the permissions are setup use the link http://absentservices.xyz/authorize/ , Change the permissions=0 to the Permission integer number you have setup.

https://discordapp.com/oauth2/authorize?&client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=8

Warning

Do not share your discord bot token with anyone. Otherwise someone can control your discord bot.