1
0
Fork 0
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:
diamondburned (Forefront) 2020-03-30 22:22:32 -07:00
parent 9f6d1bde30
commit 727f23f8f4

View file

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