isDMInteraction
Callable
Parameters
interaction: APIInteraction
The interaction to check against
Returns interaction is APIDMInteraction
A boolean that indicates if the interaction was received in a DM channel
The interaction to check against
A boolean that indicates if the interaction was received in a DM channel
A type-guard check for DM interactions
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.