diff --git a/deno/utils/v8.ts b/deno/utils/v8.ts index c90cf839..467b1f13 100644 --- a/deno/utils/v8.ts +++ b/deno/utils/v8.ts @@ -98,6 +98,6 @@ export function isLinkButton(component: APIButtonComponent): component is APIBut * @param button The button to check against * @returns A boolean that indicates if the button has a `custom_id` attached to it */ -export function isStyledButton(component: APIButtonComponent): component is APIButtonComponentWithCustomID { +export function isInteractionButton(component: APIButtonComponent): component is APIButtonComponentWithCustomID { return component.style !== ButtonStyle.Link; } diff --git a/deno/utils/v9.ts b/deno/utils/v9.ts index 24fff20c..8387fb1d 100644 --- a/deno/utils/v9.ts +++ b/deno/utils/v9.ts @@ -98,6 +98,6 @@ export function isLinkButton(component: APIButtonComponent): component is APIBut * @param button The button to check against * @returns A boolean that indicates if the button has a `custom_id` attached to it */ -export function isStyledButton(component: APIButtonComponent): component is APIButtonComponentWithCustomID { +export function isInteractionButton(component: APIButtonComponent): component is APIButtonComponentWithCustomID { return component.style !== ButtonStyle.Link; } diff --git a/utils/v8.ts b/utils/v8.ts index 7e7a5c3b..03c76467 100644 --- a/utils/v8.ts +++ b/utils/v8.ts @@ -98,6 +98,6 @@ export function isLinkButton(component: APIButtonComponent): component is APIBut * @param button The button to check against * @returns A boolean that indicates if the button has a `custom_id` attached to it */ -export function isStyledButton(component: APIButtonComponent): component is APIButtonComponentWithCustomID { +export function isInteractionButton(component: APIButtonComponent): component is APIButtonComponentWithCustomID { return component.style !== ButtonStyle.Link; } diff --git a/utils/v9.ts b/utils/v9.ts index 977901ae..4f9b4e61 100644 --- a/utils/v9.ts +++ b/utils/v9.ts @@ -98,6 +98,6 @@ export function isLinkButton(component: APIButtonComponent): component is APIBut * @param button The button to check against * @returns A boolean that indicates if the button has a `custom_id` attached to it */ -export function isStyledButton(component: APIButtonComponent): component is APIButtonComponentWithCustomID { +export function isInteractionButton(component: APIButtonComponent): component is APIButtonComponentWithCustomID { return component.style !== ButtonStyle.Link; }