1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00

discord: rename ActivityTimestamp to ActivityTimestamps

This commit is contained in:
Maximilian von Lindern 2021-06-06 16:19:19 +02:00 committed by diamondburned
parent 2875635532
commit c8e7eff04e

View file

@ -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"`
}