function Utils.isDMInteractionDeprecatedDeprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10. import { Utils } from "https://deno.land/x/discord_api_types@0.37.100/v8.ts"; const { isDMInteraction } = Utils; DeprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10. isDMInteraction(interaction: APIInteraction): interaction is APIDMInteractionA type-guard check for DM interactions Parametersinteraction: APIInteractionThe interaction to check against Returnsinteraction is APIDMInteractionA boolean that indicates if the interaction was received in a DM channel