Skip to main content
Module

x/discord_api_types/utils/mod.ts>isApplicationCommandGuildInteraction

Up to date Discord API Typings, versioned by the API version
Go to Latest
function isApplicationCommandGuildInteraction
import { isApplicationCommandGuildInteraction } from "https://deno.land/x/discord_api_types@0.37.2/utils/mod.ts";

A type-guard check for guild application command interactions

Parameters

interaction: APIApplicationCommandInteraction

The interaction to check against

Returns

interaction is APIApplicationCommandGuildInteraction

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