From 1836fbb3256cb1f1e8f7ea48e003ac7e604a5b5d Mon Sep 17 00:00:00 2001 From: Alee14 Date: Mon, 31 Jul 2017 18:18:53 -0400 Subject: Revert "Still working on the moderation feature" This reverts commit d45b3290f0a835bdedcc89091ce609df738e68b0. --- aleebot.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/aleebot.js b/aleebot.js index 9a3b9e7..14603ef 100644 --- a/aleebot.js +++ b/aleebot.js @@ -150,14 +150,13 @@ client.on("message", function(message){ } if(command === 'mod'){ - // if(!message.member.roles.some(r=>["Admin", "Moderator","Co-Owner"].includes(r.name)) ) - // return message.reply("Hey! Your not a Co-Owner/Admin/Moderator"); - message.reply("We're working on the moderation feature if you want to help do **"+prefix+"git** then start a git pull request. ") - /*message.channel.send ('```Commands for Staff!\n\n' + + if(!message.member.roles.some(r=>["Admin", "Moderator","Co-Owner"].includes(r.name)) ) + return message.reply("Hey! Your not a Co-Owner/Admin/Moderator"); + message.channel.send ('```Commands for Staff!\n\n' + 'ab:kick Kicks people\n' + 'ab:ban Bans People\n' + "ab:rm Removes the message with a amount\n" + - 'Please note that we are still working on this feature!```');*/ + 'Please note that we are still working on this feature!```'); } }); -- cgit v1.2.3