From 18c9770a47b28255f955549c7d9247d37d1b1570 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sat, 12 Aug 2017 18:41:21 -0400 Subject: Bug fixes --- aleebot.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/aleebot.js b/aleebot.js index f659cab..5bdf1dd 100644 --- a/aleebot.js +++ b/aleebot.js @@ -256,17 +256,12 @@ commandProcessed = true; } } - +// Owner is only allow to do this if(command === 'say'){ - if(message.author.id !== config.ownerID){ - - } else { - message.reply("Hey! You're not Alee14!") - } - return; + if(message.author.id !== config.ownerID) return; message.channel.sendMessage(args.join(" ")); message.delete(); - + } if(command === 'eval'){ if(message.author.id !== config.ownerID) return; -- cgit v1.2.3