From 2a8c799d7a9ad46f398c5e2feb448140eecbc638 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 17 Aug 2017 01:40:08 -0400 Subject: Official 1.1.0 release! Changelog: New command handler! --- commands/say.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 commands/say.js (limited to 'commands/say.js') diff --git a/commands/say.js b/commands/say.js new file mode 100644 index 0000000..6d395c6 --- /dev/null +++ b/commands/say.js @@ -0,0 +1,7 @@ +const Discord = require('discord.js'); +exports.run = (client, message, args, config) => { + if(message.author.id !== config.ownerID) return; + message.channel.sendMessage(args.join(" ")); + message.delete(); + +} -- cgit v1.2.3