Skip to content

AnyInteraction

AnyInteraction<Context> = ChatInputCommandInteraction<Context> | UserContextInteraction<Context> | MessageContextInteraction<Context> | TMessageComponentInteraction<Context> | ModalInteraction<Context> | AutocompleteInteraction<Context>

Defined in: types/interactions.ts:50

Union of every typed interaction class Honocord can construct from an incoming interaction.

Context extends BaseInteractionContext = BaseInteractionContext