Before we Start Installation of our Plugin, we first need to Create Bot Application on
Discord Developer Portal.
First: Create the bot
Go to Discord Developer Portal -
1.1 Click 'New Application' Button in upper right corner.
1.2 Enter name for Bot & Click Create. (https://i.imgur.com/cYEwB4j.png)
Click 'Bot' from Left Sidebar and then click 'Add Bot' from the right side and click 'Yes. Do it'.
Scroll up and Click 'Reset Token' button below 'Token' Text and then click 'Copy' or just copy Token by yourself.
4.1. Open your discord.yml and paste that token into token field.
Second: Invite the bot to your server
After you've done all previous steps it's time to Create Invite Link and Invite our Bot. Go Back to and Click on your Bot.
Click on 'OAuth2' from left sidebar.
Scroll down to the 'OAuth2 URL Generator' and select 'bot' & 'applications.commands' from 'Scopes' Field
Below that from 'Permissions' Field select 'Administrator' then click button 'Copy' next to the Invite Link, and that's it (https://i.imgur.com/Amqdjrh.png)
Now you can Invite Bot to your Server by pasting Invite Link in browser and choose Server to which to Invite Bot.