Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(bot,types,utils)!: Add premium interaction #3680

Merged
merged 2 commits into from
Jul 6, 2024

Conversation

Fleny113
Copy link
Member

The PR adds the following:

  • the sku_id propriety to the DiscordButtonComponent
  • the Premium (6) button style to ButtonStyles
  • deprecates the InteractionResponseTypes.Premium as it is now marked as deprecated by discord
  • add to the utils package the skuLink and storeLink to the utils package to create the links for a specific sku or the application store

Warning

This is breaking change because it removes the premiumRequired method on an interaction

@Fleny113 Fleny113 self-assigned this Jun 21, 2024
@Fleny113 Fleny113 requested a review from a team as a code owner June 21, 2024 12:01
@github-actions github-actions bot added pkg-bot Affects the bot package pkg-types Affects the types package pkg-utils Affects the utils package t-breaking A breaking change. t-feat A new feature w-unverified This has not been verified labels Jun 21, 2024
@Fleny113 Fleny113 enabled auto-merge June 21, 2024 12:02
Copy link
Member

@lts20050703 lts20050703 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

auto-merge was automatically disabled July 6, 2024 21:59

Merge commits are not allowed on this repository

@Skillz4Killz Skillz4Killz merged commit a1af1ff into main Jul 6, 2024
41 checks passed
@Skillz4Killz Skillz4Killz deleted the feat/premium-interactions branch July 6, 2024 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg-bot Affects the bot package pkg-types Affects the types package pkg-utils Affects the utils package t-breaking A breaking change. t-feat A new feature w-unverified This has not been verified
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[api-docs] Adds premium interaction docs (#6875)
3 participants