1.
After downloading this project head to the console and type npm i
2.
After setting up all modules go to config.json
and fill the things like on the example below.
3.
If you finished all ttype in console node src/index.js
to run the bot.
{
"token": "TOKEN",
"prefix": ".",
"mongooseConnectionString": "MONGO_CONNECTION",
"developer": ["YoUR_id"],
"commandlog": "COMMAnD_LOGCHANNEL_ID",
"invitelog": "INVITE_LOGCHANNEL_ID",
"guildId": "GUILD_ID",
"ChatGuard": {
"logchannel": "CHATGUARD_LOGCHANNEL_ID"
},
"Welcome": {
"channel": "WELCOME_CHANNEL_ID",
"role": "AUTOROLE_ID"
},
"Jail": {
"roles": ["JAILED_ROLE_ID1","JAILED_ROLE_ID2"],
"authorized": "JAIL_HAMMER_ROLE_ID"
},
"Stats": {
"Message":{
"ignoreChannels": ["EXAMPLE_MESSAGECHANNEL_TOSKIP_1","EXAMPLE_MESSAGECHANNEL_TOSKIP_2"],
"Cooldown": 1
},
"Voice": {
"ignoreChannels": ["EXAMPLE_VOICE_TOSKIP_1", "EXAMPLE_VOICE_TOSKIP_2"]
}
},
"ContextTimeouts": {
"BannedContentTimeout": "30m",
"WrongChannelTimeout": "15m",
"disturbChannelTimeout": "15m",
"provokingTimeout": "15m",
"blackmailTimeout": "3h",
"blackmailJail": "7d",
"disrespectTimeout": "3h",
"disrespectJail": "2w",
"hammers": {
"banRole": "BAN_HAMMER_ROLE_ID",
"timeoutRole": "TIMEOUT_HAMMER_ROLE_ID"
}
}
}