aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <Alee14498@gmail.com>2017-09-24 15:39:12 -0400
committerUnknown <Alee14498@gmail.com>2017-09-24 15:39:12 -0400
commitd63d2d1296c4981321149045350d208974daa430 (patch)
tree6928dd87a1e36dacd34eafd4d96dd7c0579a7184
parentde3c80eccc8d09bc63c3694afdeba40795dd6539 (diff)
downloadAleeBot-d63d2d1296c4981321149045350d208974daa430.tar.gz
AleeBot-d63d2d1296c4981321149045350d208974daa430.tar.bz2
AleeBot-d63d2d1296c4981321149045350d208974daa430.zip
Minor updates on ab:say
-rw-r--r--commands/eval.js10
-rw-r--r--commands/say.js6
2 files changed, 9 insertions, 7 deletions
diff --git a/commands/eval.js b/commands/eval.js
index 2716cb8..a2cdbb4 100644
--- a/commands/eval.js
+++ b/commands/eval.js
@@ -51,11 +51,11 @@ const argseval = message.content.split(" ").slice(1);
{
name: '**Output**',
value: `\`\`\`js\n${clean(evaled)}\n\`\`\``
- }
- ],
- }
- })
- }
+ }
+ ],
+ }
+ })
+ }
}
exports.conf = {
diff --git a/commands/say.js b/commands/say.js
index f32544b..fa9022f 100644
--- a/commands/say.js
+++ b/commands/say.js
@@ -1,9 +1,11 @@
const Discord = require('discord.js');
exports.run = (client, message, args, config) => {
- if(message.author.id !== config.ownerID) return;
+ if(message.author.id !== config.ownerID)
+ message.reply(":no_entry: **NOPE!** Sorry buddy Alee is only allow to say this command.")
+ else {
message.channel.sendMessage(args.join(" "));
message.delete();
-
+ }
}
exports.conf = {