From 3fe3a849288f462fbce2fe09910a0517ada0473f Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Sun, 25 Apr 2021 16:04:13 +0530 Subject: [PATCH] fix --- src/interactions/slashClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }