summaryrefslogtreecommitdiff
path: root/commands/fun/say.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/fun/say.js')
-rw-r--r--commands/fun/say.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/commands/fun/say.js b/commands/fun/say.js
index cb344c9..703b95f 100644
--- a/commands/fun/say.js
+++ b/commands/fun/say.js
@@ -14,13 +14,16 @@ module.exports = class SayFun extends Command {
prompt: 'u cant send an empty msg lol',
type: 'string'
}
- ]
+ ],
+ examples: ['s5n!say hi']
});
}
run(msg, { say }) {
if (msg.member.hasPermission('KICK_MEMBERS')) {
msg.channel.send(say);
msg.delete();
+ } else {
+ msg.reply('insufficent perms homie');
}
}
}; \ No newline at end of file