Skip to content

Commit

Permalink
fix(type): 🐛 InteractionHandler.callback (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibotrel authored Dec 22, 2023
1 parent ef6458d commit f2e7a24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ export interface InteractionHandler<
'addSubcommand' | 'addSubcommandGroup'
>
| string
readonly callback: (
callback(
interaction: InteractionType,
metadata?: InteractionMetadata,
) => void | Promise<void>
): void | Promise<void>
}

export enum LogLevel {
Expand Down

0 comments on commit f2e7a24

Please sign in to comment.