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.isApplicationCommandDMInteraction

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

A type-guard check for DM application command interactions

Parameters

The application command interaction to check against

Returns

A boolean that indicates if the application command interaction was received in a DM channel