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:
parent
2875635532
commit
c8e7eff04e
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue