aboutsummaryrefslogtreecommitdiff
path: root/commands/say.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/say.js')
-rw-r--r--commands/say.js6
1 files changed, 4 insertions, 2 deletions
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 = {