function isInteractionButtonDeprecatedDeprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10. import { isInteractionButton } from "https://deno.land/x/discord_api_types@0.37.56/utils/v8.ts"; DeprecatedAPI and gateway v8 are deprecated and the types will not receive further updates, please update to v10. isInteractionButton(component: APIButtonComponent): component is APIButtonComponentWithCustomIdA type-guard check for buttons that have a custom_id attached to them. Parameterscomponent: APIButtonComponentThe button to check against Returnscomponent is APIButtonComponentWithCustomIdA boolean that indicates if the button has a custom_id attached to it