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";