mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-02 20:02:53 +00:00
Gateway: Added missing Activities slice in UpdateStatus
This commit is contained in:
parent
9f6d1bde30
commit
727f23f8f4
|
@ -88,8 +88,9 @@ func (g *Gateway) UpdateVoiceState(data UpdateVoiceStateData) error {
|
|||
}
|
||||
|
||||
type UpdateStatusData struct {
|
||||
Since discord.UnixMsTimestamp `json:"since,omitempty"` // 0 if not idle
|
||||
Game *discord.Activity `json:"game,omitempty"` // nullable
|
||||
Since discord.UnixMsTimestamp `json:"since,omitempty"` // 0 if not idle
|
||||
Game *discord.Activity `json:"game,omitempty"` // nullable
|
||||
Activities []discord.Activity `json:"activities,omitempty"`
|
||||
|
||||
Status discord.Status `json:"status"`
|
||||
AFK bool `json:"afk"`
|
||||
|
|
Loading…
Reference in a new issue