diff options
| author | 8cy <[email protected]> | 2020-04-11 20:57:47 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-11 20:57:47 -0700 |
| commit | 6295d78afbfee11441dbd425cea6636e38049e86 (patch) | |
| tree | 83a8351a6aaa70e9720fe14eb0062e2824b86db9 /commands/fun/say.js | |
| parent | fix server command, v2.1.2 (diff) | |
| download | s5nical-6295d78afbfee11441dbd425cea6636e38049e86.tar.xz s5nical-6295d78afbfee11441dbd425cea6636e38049e86.zip | |
add sharding + help stuff, v3.0.0
- add sharding
- add examples
- change up command aliases
- formatting
Diffstat (limited to 'commands/fun/say.js')
| -rw-r--r-- | commands/fun/say.js | 5 |
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 |