Skip to content

Commit

Permalink
remove label
Browse files Browse the repository at this point in the history
  • Loading branch information
mlnrDev committed May 29, 2024
1 parent cfe1ea5 commit 0481fa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions discord/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ func NewLinkButton(label string, url string) ButtonComponent {
}

// NewPremiumButton creates a new ButtonComponent with ButtonStylePremium & the provided parameters
func NewPremiumButton(label string, skuID snowflake.ID) ButtonComponent {
return NewButton(ButtonStylePremium, label, "", "", skuID)
func NewPremiumButton(skuID snowflake.ID) ButtonComponent {
return NewButton(ButtonStylePremium, "", "", "", skuID)
}

var (
Expand Down

0 comments on commit 0481fa7

Please sign in to comment.