Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denocordts/src/types/mod.ts>Utils.isMessageComponentDMInteraction

An Object Oriented Discord API wrapper for Deno.
Latest
function Utils.isMessageComponentDMInteraction
import { Utils } from "https://deno.land/x/denocordts@1.2.0/src/types/mod.ts";
const { isMessageComponentDMInteraction } = Utils;

A type-guard check for DM message component interactions

Parameters

The message component interaction to check against

Returns

A boolean that indicates if the message component interaction was received in a DM channel