mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 17:23:00 +00:00
Discord: Activity to have AppID instead for consistency
This change is breaking for the discord.Activity struct, but it's worth having the consistency.
This commit is contained in:
parent
5252b5af8d
commit
afc4183020
|
@ -129,10 +129,10 @@ type Activity struct {
|
||||||
CreatedAt UnixTimestamp `json:"created_at,omitempty"`
|
CreatedAt UnixTimestamp `json:"created_at,omitempty"`
|
||||||
Timestamps *ActivityTimestamp `json:"timestamps,omitempty"`
|
Timestamps *ActivityTimestamp `json:"timestamps,omitempty"`
|
||||||
|
|
||||||
ApplicationID AppID `json:"application_id,omitempty"`
|
AppID AppID `json:"application_id,omitempty"`
|
||||||
Details string `json:"details,omitempty"`
|
Details string `json:"details,omitempty"`
|
||||||
State string `json:"state,omitempty"` // party status
|
State string `json:"state,omitempty"` // party status
|
||||||
Emoji *Emoji `json:"emoji,omitempty"`
|
Emoji *Emoji `json:"emoji,omitempty"`
|
||||||
|
|
||||||
Party *ActivityParty `json:"party,omitempty"`
|
Party *ActivityParty `json:"party,omitempty"`
|
||||||
Assets *ActivityAssets `json:"assets,omitempty"`
|
Assets *ActivityAssets `json:"assets,omitempty"`
|
||||||
|
|
Loading…
Reference in a new issue