Type Alias CommandInteraction

CommandInteraction: BaseCommandInteraction & (ChatInputCommandInteraction | UserContextMenuCommandInteraction | MessageContextMenuCommandInteraction)

Interaction object passed to a command function.