Function isInteractionButton

  • A type-guard check for buttons that have a custom_id attached to them.

    Parameters

    Returns component is APIButtonComponentWithCustomId

    A boolean that indicates if the button has a custom_id attached to it

Generated using TypeDoc