diff --git a/main.ts b/main.ts index 8f2e474..aec0d36 100644 --- a/main.ts +++ b/main.ts @@ -54,7 +54,7 @@ client.on(Events.InteractionCreate, async interaction => { } try { - await command.execute(interaction); + await command.execute(interaction, client); } catch (error) { console.error(error); if (interaction.replied || interaction.deferred) {