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