diff --git a/bot/bot.js b/bot/bot.js index 682ed5b..3a9b2cb 100644 --- a/bot/bot.js +++ b/bot/bot.js @@ -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 diff --git a/config/default.json.example b/config/default.json.example index 8cc9366..157a104 100644 --- a/config/default.json.example +++ b/config/default.json.example @@ -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",