import { Utils } from "https://deno.land/x/discord_api_types@0.37.40/v10.ts";
const { isChatInputApplicationCommandInteraction } = Utils;
A type-guard check for chat input application commands.
Parameters
interaction: APIApplicationCommandInteraction
The interaction to check against
Returns
interaction is APIChatInputApplicationCommandInteraction
A boolean that indicates if the interaction is a chat input application command