Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoffi committed Aug 2, 2024
1 parent 351f5e9 commit 7bf00e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2406,10 +2406,10 @@ const (
type SKUFlags int

const (
// SKUFlageAvailable indicates that the SKU is available for purchase.
// SKUFlagAvailable indicates that the SKU is available for purchase.
SKUFlagAvailable SKUFlags = 1 << 2
SKUFlagGuildSubscription SKUFlags = 1 << 7
SKUFlageUserSubscription SKUFlags = 1 << 8
SKUFlagUserSubscription SKUFlags = 1 << 8
)

// SKU (stock-keeping units) represent premium offerings.
Expand All @@ -2426,10 +2426,10 @@ type SKU struct {
// Customer-facing name of the SKU.
Name string `json:"name"`

// System-generated URL slub based on the SKU's name.
// System-generated URL slug based on the SKU's name.
Slug string `json:"slug"`

// SKUFlags combined as a bitfield. The presence of a certain falg can be checked
// SKUFlags combined as a bitfield. The presence of a certain flag can be checked
// by performing a bitwise AND operation between this int and the flag.
Flags SKUFlags `json:"flags"`
}
Expand Down

0 comments on commit 7bf00e8

Please sign in to comment.