diff --git a/src/handlers/InteractionHandler.js b/src/handlers/InteractionHandler.js index 181816a..e32f475 100644 --- a/src/handlers/InteractionHandler.js +++ b/src/handlers/InteractionHandler.js @@ -28,11 +28,11 @@ const InteractionHandler = class { } } - async handle(interaction) { + async handle(interaction, api) { if (!interaction.isCommand()) return; if (interaction.commandName in this.commands) { - await this.commands[interaction.commandName].execute(interaction); + await this.commands[interaction.commandName].execute(interaction, api); } }