From d2dc415f5afe0e0a90caec35fa55e1f40e8f81c2 Mon Sep 17 00:00:00 2001 From: Eartharoid Date: Sat, 4 May 2019 12:23:27 +0100 Subject: [PATCH] update --- commands/example-command.js.example | 4 ++-- commands/new.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/example-command.js.example b/commands/example-command.js.example index 303f51f..a14ab67 100644 --- a/commands/example-command.js.example +++ b/commands/example-command.js.example @@ -5,7 +5,7 @@ module.exports = { description: 'An example command', usage: '[args]', aliases: ['command', 'commands'], - example: 'example-command', + example: 'example-command', args: false, cooldown: config.cooldown, execute(message, args) { @@ -13,7 +13,7 @@ module.exports = { // command starts here message.delete(); - + // command ends here diff --git a/commands/new.js b/commands/new.js index 588b002..191fe90 100644 --- a/commands/new.js +++ b/commands/new.js @@ -9,6 +9,7 @@ module.exports = { args: true, cooldown: config.cooldown, execute(message, args) { + const client = message.client; // command starts here message.delete(); const ticketChannel = "channel";