import { Utils } from "https://deno.land/x/discord_api_types@0.37.24/v10.ts";
const { isDMInteraction } = Utils;
A type-guard check for DM interactions
Returns
interaction is APIDMInteraction
A boolean that indicates if the interaction was received in a DM channel