Discord bot with simple and easy setup.
only thing you need to change things in is config.json
{
"prefix": "%",
"token": "Bot_Token",
"logName" : "Log_Channel_Name",
"greet" : "Welcome_Channel_Name",
"roleName1" : "Muted",
"roleName2" : "Main_Role_1",
"roleName3" : "Main_Role_2",
"roleName4" : "Main_Role_3",
"staffRole" : "Staff_Role",
"Your_ID" : "Your_Account_ID",
"Status" : "Moderators"
}
After installing the zip file and extracting it go to the config.json file
Ps. if the line was "1" : "2",
you will change the value of 2 only and that goes for all the lines in the actual code.
First step is to change your prefix this is by default % but you can change it
"prefix": "%",
Next we will add our bot token which can be found on the discord developer appliction page. Simply just make an application and go to bot and copy the token and paste it in the code.
"token": "Bot_Token",
Now we neeed to label the welcome and log channels. All you need to type is the name of the channels in the corresponding line.
Log-
"logName" : "Log_Channel_Name",
Welcome-
"greet" : "Welcome_Channel_Name",
Now you need to add the name of your mute role.
"roleName1" : "Muted",
Next we need to label our main roles. Make sure the @everyone role doesn't have speaking perms in channels, instead have at least one custom role that has the perms to speak
"roleName2" : "Main_Role_1",
"roleName3" : "Main_Role_2",
"roleName4" : "Main_Role_3",
Now if you only have one main role just add it to all three lines and it should still work. if you have more than 3 main roles you have to edit the mute command a bit.
Then just put the name of your staff role.
"staffRole" : "Staff_Role",
The next step is to add your account id which is a 12 number string.|
"Your_ID" : "Your_Account_ID",
The last step is optional and it just changes the bots presence
"Status" : "Moderators"
linux
You must have npm and node.js installed.
Change your file directory in you terminal to Skeeter-main
Then use command prompt npm i discord.js
then npm i discordjs/Commando
Staying in the Skeeter-main directory
Use the command prompt node index.js