diff --git a/src/interactions/slashClient.ts b/src/interactions/slashClient.ts index 5f5473d..a34c0c8 100644 --- a/src/interactions/slashClient.ts +++ b/src/interactions/slashClient.ts @@ -226,7 +226,7 @@ export class SlashClient extends HarmonyEventEmitter { await this.emit('interaction', interaction) try { - await cmd.handler(interaction) + await cmd.handler(interaction as SlashCommandInteraction) } catch (e) { await this.emit('interactionError', e) }