Added client to command handler

This commit is contained in:
2023-11-30 12:42:58 +01:00
parent c6c482611d
commit 4ddc5d3860

View File

@@ -49,7 +49,7 @@ function loadSlashCommandsEvents(client) {
} }
try { try {
await command.execute(interaction) await command.execute(interaction, client)
} catch (error) { } catch (error) {
console.error(error) console.error(error)
await interaction.reply({ await interaction.reply({