Skip to main content

Type alias: ChatInputOrContextMenuCommandInteraction

ChatInputOrContextMenuCommandInteraction: ChatInputCommandInteraction | UserContextMenuCommandInteraction | MessageContextMenuCommandInteraction

A union of ChatInputCommandInteraction, UserContextMenuCommandInteraction and MessageContextMenuCommandInteraction. Similar to CommandInteraction class but as a type union.

Source

projects/utilities/packages/discord.js-utilities/src/lib/utility-types.ts:75