import { Utils } from "https://deno.land/x/discord_api_types@0.37.55/v10.ts";
const { isApplicationCommandDMInteraction } = Utils;
A type-guard check for DM application command interactions
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