Added client to command handler
This commit is contained in:
@@ -49,7 +49,7 @@ function loadSlashCommandsEvents(client) {
|
||||
}
|
||||
|
||||
try {
|
||||
await command.execute(interaction)
|
||||
await command.execute(interaction, client)
|
||||
} catch (error) {
|
||||
console.error(error)
|
||||
await interaction.reply({
|
||||
|
||||
Reference in New Issue
Block a user