Updated code

This commit is contained in:
Christer Warén
2021-09-05 03:37:03 +03:00
parent ea2be5d5fb
commit 534bc74936
5 changed files with 10 additions and 32 deletions

View File

@ -25,7 +25,7 @@ module.exports = {
if (!command) return;
try {
command.execute(interaction, client);
command.execute(interaction, client, command);
} catch (error) {
interaction.reply({
content: client.messages.runningCommandFailed,