fix
This commit is contained in:
parent
a7c442d340
commit
3fe3a84928
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue