From 5b3da1397148a98b9f8448f32b46db1f513a8ad4 Mon Sep 17 00:00:00 2001 From: Jonas Date: Sat, 3 Aug 2024 01:56:29 +0200 Subject: [PATCH] change entitlement timestamps to time.Time --- structs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/structs.go b/structs.go index 9053cd972..2ace7c7f7 100644 --- a/structs.go +++ b/structs.go @@ -2475,11 +2475,11 @@ type Entitlement struct { // The start date at which the entitlement is valid. // Not present when using test entitlements. - StartsAt string `json:"starts_at,omitempty"` + StartsAt *time.Time `json:"starts_at,omitempty"` // The date at which the entitlement is no longer valid. // Not present when using test entitlements. - EndsAt string `json:"ends_at,omitempty"` + EndsAt *time.Time `json:"ends_at,omitempty"` // The ID of the guild that is granted access to the entitlement's sku. GuildID string `json:"guild_id,omitempty"`