Skip to main content
Version: 0.37.57

isInteractionButton

Callable


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

    @deprecated

    API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.


    Parameters

    Returns component is APIButtonComponentWithCustomId

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