Re-Added moderation to config (#148)

* Re-Add moderation to config
This commit is contained in:
Ralph 2018-03-29 15:57:25 -04:00 committed by Niko
parent 9db8e164ce
commit 3ca233bea6
2 changed files with 5 additions and 0 deletions

View file

@ -88,6 +88,7 @@ function checkMessageForCommand(msg, isEdit) {
var cmd = alias;
} else {
var cmd = commands[cmdTxt];
}
if (cmdTxt === 'help') {
//help is special since it iterates over the other commands

View file

@ -5,6 +5,10 @@
"prefix": "!",
"debug": false
},
"moderation": {
"perms": ["LBRY ASSISTANT","LBRY TEAM"], // Roles that have access to all commands.
"logchannel": "371620338263523328" // Channel to log the bots moderation..
},
"lbrycrd": {
"port": 9245,
"user": "user",