summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = {