Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Interactions/InteractionTypes

Index

Type Aliases

CallbackTypeOf<T>: ((interaction: InteractionTypeOf<T>, user: User) => Promise<void>)

Type Parameters

Type declaration

InteractionTypeOf<T>: T extends SlashCommandBuilder ? Discord.CommandInteraction : (never | T) extends ContextMenuCommandBuilder ? Discord.ContextMenuInteraction : (never | T) extends Discord.MessageButton ? Discord.ButtonInteraction : (never | T) extends Discord.MessageSelectMenu ? Discord.SelectMenuInteraction : never

Type Parameters

InteractiveCommandTargets: SlashCommandBuilder | ContextMenuCommandBuilder
InteractiveComponentInteractions: Discord.ButtonInteraction | Discord.SelectMenuInteraction
InteractiveComponentTargets: Discord.MessageButton | Discord.MessageSelectMenu

Type Parameters

Generated using TypeDoc