Added client to command handler
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user