You now will want to place that token you copied and place it into the '' that comes after BotToken:
After doing this, save the config.yml file
Go back to the applications page of the discord developers site
Click on OAuth2
Do exactly as is done in the GIF on the OAuth2
Paste this link you just copied into your browser, then invite the bot to your discord server you'd like the bot on
You can invite this bot to as many servers as you'd like, however you will need to set up configurations for roles for each different server you add it to
After doing all of this, you will have the bot properly set up to run and work on your server.
All you need to do is click start_SimpleRoleBot.bat file to start up the bot
Configuring Permissions via RoleIDs in config.yml
You will now navigate to the config.yml file and open it
We now need to understand how the configuration works
#############################
### SimpleRoleBot ###
### created by ###
### Badger ###
#############################
BotToken: ''
RoleConfiguration:
693833984173408328: # Staff Role
- '*' # All Permission for every role below their highest role
693901091678716006: # National Guard OIC
- '694065977398132738' # National Guard HC
The roles under RoleConfiguration: are known as the RoleID keys
The RoleID keys 693901091678716006 and 693901091678716006 are the ID of roles that you will set up permissions for for adding and removing roles from other users
All the RoleID values which can be displayed as '*' and '694065977398132738' are also IDs of roles within discord, however these are the IDs of roles that the RoleID key role will be able to add and remove from users
Note:693901091678716006 is the ID of the role National Guard OIC within my discord server
Note: 693833984173408328is the ID of the role Staff within my discord server
If you would like to give a role permissions to add/remove roles to users (so long as the role is below their highest role), you will want to give them the '*' permission under their RoleID key
Any further questions and/or concerns?
You may gather more support personally and from other members of the Badger Developer Community over here.