isMessageComponentDMInteraction
Callable
Parameters
interaction: APIMessageComponentInteraction
The message component interaction to check against
Returns interaction is APIMessageComponentDMInteraction
A boolean that indicates if the message component interaction was received in a DM channel
A type-guard check for DM message component interactions