diff --git a/events/message.js b/events/message.js deleted file mode 100644 index ef4250b..0000000 --- a/events/message.js +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = (client, message) => { - - if (message.author.bot) return; - if (message.content.indexOf("-") !== 0) return; - - const args = message.content.slice(1).trim().split(/ +/g); - const command = args.shift().toLowerCase(); - const cmd = client.commands.get(command); - - if (!cmd) return; - cmd.run(client, message, args); - -};