Skip to content

Commit

Permalink
fix: narrow guild commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Smart committed Dec 8, 2022
1 parent cdd5d59 commit b1edf36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Interactions/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const guild = <
E,
A extends Discord.CreateGuildApplicationCommandParams,
>(
command: A,
command: F.Narrow<A>,
handle: DescriptionMissing<A> extends true
? "command description is missing"
: CommandHandler<R, E, A>,
Expand Down

0 comments on commit b1edf36

Please sign in to comment.