import { Utils } from "https://deno.land/x/discord_api_types@0.37.40/v10.ts";
const { isMessageComponentGuildInteraction } = Utils;
A type-guard check for guild message component interactions
Parameters
interaction: APIMessageComponentInteraction
The interaction to check against
Returns
interaction is APIMessageComponentGuildInteraction
A boolean that indicates if the message component interaction was received in a guild