Updated permissions. Disabled testing command.

This commit is contained in:
chris062689 2017-04-07 19:17:19 -04:00
parent 399e484c58
commit cf55869bb8
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
var app = require('../app.js');
var logger = require('../logging.js');
exports.roles = ['Admins', 'Moderators', 'Secret'];
exports.roles = ['Admins', 'Moderators'];
exports.command = function(message, reply) {
let replyMessage = 'Hello.';
if (reply == null) {

View File

@ -4,7 +4,7 @@ var data = require('../data.js');
var logger = require('../logging.js');
var UserWarning = require('../models/UserWarning.js');
exports.roles = ['Admins', 'Moderators', 'Secret', 'Helpers'];
exports.roles = ['Admins', 'Moderators'];
exports.command = function(message) {
message.mentions.users.map((user) => {
var count = app.warnings.filter(x => x.id == user.id && !x.cleared).length || 0;