Skip to main content
Version: 0.37.50

isDMInteraction

Callable


  • A type-guard check for DM interactions

    @deprecated

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


    Parameters

    Returns interaction is APIDMInteraction

    A boolean that indicates if the interaction was received in a DM channel