diff options
| author | Alee <alee14498@gmail.com> | 2018-02-24 10:29:12 -0500 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-02-24 10:29:12 -0500 |
| commit | a12222a88827cb08551e3c3e91a26c30231fbd9c (patch) | |
| tree | 55bbbbc934bd19c36f19707d439caf7774dad07b /commands | |
| parent | d28093430ea242fa8dcb1668c92276cf36bd97b8 (diff) | |
| download | PokeBot-a12222a88827cb08551e3c3e91a26c30231fbd9c.tar.gz PokeBot-a12222a88827cb08551e3c3e91a26c30231fbd9c.tar.bz2 PokeBot-a12222a88827cb08551e3c3e91a26c30231fbd9c.zip | |
Added the say command (because why not)
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/say.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/commands/say.js b/commands/say.js new file mode 100644 index 0000000..83bd701 --- /dev/null +++ b/commands/say.js @@ -0,0 +1,21 @@ +exports.run = async (bot, msg, args) => { + if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(msg.author.id)) { + msg.reply('Nope! You need the person who created this bot to use this command.'); + } + else { + message.channel.sendMessage(args.join(" ")); + message.delete(); + } + }; + + exports.conf = { + aliases: [], + guildOnly: true, + }; + + exports.help = { + name: 'say', + description: 'Control on what the bot says.', + category: 'Owners Only', + }; +
\ No newline at end of file |
