function isMessageComponentDMInteractionDeprecatedDeprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10. import { isMessageComponentDMInteraction } from "https://deno.land/x/discord_api_types@0.37.2/utils/v8.ts"; DeprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10. isMessageComponentDMInteraction(interaction: APIMessageComponentInteraction): interaction is APIMessageComponentDMInteractionA type-guard check for DM message component interactions Parametersinteraction: APIMessageComponentInteractionThe message component interaction to check against Returnsinteraction is APIMessageComponentDMInteractionA boolean that indicates if the message component interaction was received in a DM channel