Skip to content

Commit

Permalink
fix: tighten response constraint on guild commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Smart committed Dec 5, 2022
1 parent 545e209 commit a8b5647
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 @@ -56,7 +56,7 @@ export class GuildApplicationCommand<R, E> {

export const guild = <R, E>(
command: Discord.CreateGuildApplicationCommandParams,
handle: Effect<R, E, Discord.InteractionResponse>,
handle: Effect<R, E, InteractionResponse>,
) =>
new GuildApplicationCommand<
Exclude<R, Discord.Interaction | Discord.ApplicationCommandDatum>,
Expand Down

0 comments on commit a8b5647

Please sign in to comment.