Utils
Index
Functions
- isApplicationCommandDMInteraction
- isApplicationCommandGuildInteraction
- isChatInputApplicationCommandInteraction
- isContextMenuApplicationCommandInteraction
- isDMInteraction
- isGuildInteraction
- isInteractionButton
- isLinkButton
- isMessageComponentButtonInteraction
- isMessageComponentDMInteraction
- isMessageComponentGuildInteraction
- isMessageComponentInteraction
- isMessageComponentSelectMenuInteraction
Functions
isApplicationCommandDMInteraction
Parameters
interaction: APIApplicationCommandInteraction
Returns interaction is APIApplicationCommandDMInteraction
isApplicationCommandGuildInteraction
Parameters
interaction: APIApplicationCommandInteraction
Returns interaction is APIApplicationCommandGuildInteraction
isChatInputApplicationCommandInteraction
Parameters
interaction: APIApplicationCommandInteraction
Returns interaction is APIChatInputApplicationCommandInteraction
isContextMenuApplicationCommandInteraction
Parameters
interaction: APIApplicationCommandInteraction
Returns interaction is APIContextMenuInteraction
isDMInteraction
Parameters
interaction: APIInteraction
Returns interaction is APIDMInteraction
isGuildInteraction
Parameters
interaction: APIInteraction
Returns interaction is APIGuildInteraction
isInteractionButton
Parameters
component: APIButtonComponent
Returns component is APIButtonComponentWithCustomId
isLinkButton
Parameters
component: APIButtonComponent
Returns component is APIButtonComponentWithURL
isMessageComponentButtonInteraction
Parameters
interaction: APIMessageComponentInteraction
Returns interaction is APIMessageComponentButtonInteraction
isMessageComponentDMInteraction
Parameters
interaction: APIMessageComponentInteraction
Returns interaction is APIMessageComponentDMInteraction
isMessageComponentGuildInteraction
Parameters
interaction: APIMessageComponentInteraction
Returns interaction is APIMessageComponentGuildInteraction
isMessageComponentInteraction
Parameters
interaction: APIInteraction
Returns interaction is APIMessageComponentInteraction
isMessageComponentSelectMenuInteraction
Parameters
interaction: APIMessageComponentInteraction
Returns interaction is APIMessageComponentSelectMenuInteraction