Skip to content

Commit

Permalink
change entitlement timestamps to time.Time
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoffi committed Aug 2, 2024
1 parent b7ed8b8 commit 5b3da13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 5b3da13

Please sign in to comment.