From 7bf00e87c70dee9d18263e61263e9d3704b5dd87 Mon Sep 17 00:00:00 2001 From: Jonas Date: Sat, 3 Aug 2024 01:40:44 +0200 Subject: [PATCH] fix typo --- structs.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/structs.go b/structs.go index 202676413..8ec82c29b 100644 --- a/structs.go +++ b/structs.go @@ -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. @@ -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"` }