From c8e7eff04e02624841256d41635a87ad18106cd8 Mon Sep 17 00:00:00 2001 From: Maximilian von Lindern Date: Sun, 6 Jun 2021 16:19:19 +0200 Subject: [PATCH] discord: rename ActivityTimestamp to ActivityTimestamps --- discord/user.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/user.go b/discord/user.go index 367596a..6022c5d 100644 --- a/discord/user.go +++ b/discord/user.go @@ -139,8 +139,8 @@ type Activity struct { Instance bool `json:"instance,omitempty"` Flags ActivityFlags `json:"flags,omitempty"` - CreatedAt UnixTimestamp `json:"created_at,omitempty"` - Timestamps *ActivityTimestamp `json:"timestamps,omitempty"` + CreatedAt UnixTimestamp `json:"created_at,omitempty"` + Timestamps *ActivityTimestamps `json:"timestamps,omitempty"` AppID AppID `json:"application_id,omitempty"` Details string `json:"details,omitempty"` @@ -182,7 +182,7 @@ const ( PlayActivity ) -type ActivityTimestamp struct { +type ActivityTimestamps struct { Start UnixMsTimestamp `json:"start,omitempty"` End UnixMsTimestamp `json:"end,omitempty"` }