This commit is contained in:
DjDeveloperr 2021-04-25 16:04:13 +05:30
parent a7c442d340
commit 3fe3a84928
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ export class SlashClient extends HarmonyEventEmitter<SlashClientEvents> {
await this.emit('interaction', interaction)
try {
await cmd.handler(interaction)
await cmd.handler(interaction as SlashCommandInteraction)
} catch (e) {
await this.emit('interactionError', e)
}