From 727f23f8f4064a08894418ee1b5588606b858179 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Mon, 30 Mar 2020 22:22:32 -0700 Subject: [PATCH] Gateway: Added missing Activities slice in UpdateStatus --- gateway/commands.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gateway/commands.go b/gateway/commands.go index 9a3dbfa..05f93de 100644 --- a/gateway/commands.go +++ b/gateway/commands.go @@ -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"`