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