import { isMessageComponentDMInteraction } from "https://deno.land/x/discord_api_types@0.37.60/utils/v9.ts";
A type-guard check for DM message component interactions
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