diff options
| author | Alee14 <Alee14498@gmail.com> | 2017-08-12 18:41:21 -0400 |
|---|---|---|
| committer | Alee14 <Alee14498@gmail.com> | 2017-08-12 18:41:21 -0400 |
| commit | 18c9770a47b28255f955549c7d9247d37d1b1570 (patch) | |
| tree | 17e1a4a84a3b0720fa850ffd711f18337186943b | |
| parent | 4600cc920fda020cbef37f73a32e57077319943d (diff) | |
| download | AleeBot-18c9770a47b28255f955549c7d9247d37d1b1570.tar.gz AleeBot-18c9770a47b28255f955549c7d9247d37d1b1570.tar.bz2 AleeBot-18c9770a47b28255f955549c7d9247d37d1b1570.zip | |
Bug fixes
| -rw-r--r-- | aleebot.js | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -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; |
