import { Utils } from "https://deno.land/x/discord_api_types@0.37.15/v9.ts";
const { isApplicationCommandGuildInteraction } = Utils;
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