import { Utils } from "https://deno.land/x/discord_api_types@0.37.24/v9.ts";
const { isMessageComponentInteraction } = Utils;
A type-guard check for message component interactions
Returns
interaction is APIMessageComponentInteraction
A boolean that indicates if the interaction is a message component