From 323abd1a87c63c409d285c078f1ee5e7b18f448f Mon Sep 17 00:00:00 2001 From: Chris Rhodes Date: Sun, 5 Jun 2016 22:41:08 -0700 Subject: [PATCH] Use embedded Presence in presenceUpdate --- structs.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/structs.go b/structs.go index 2478e00..dcf7dac 100644 --- a/structs.go +++ b/structs.go @@ -361,11 +361,9 @@ type TypingStart struct { // A PresenceUpdate stores data for the presence update websocket event. type PresenceUpdate struct { - Status string `json:"status"` + Presence GuildID string `json:"guild_id"` Roles []string `json:"roles"` - User *User `json:"user"` - Game *Game `json:"game"` } // A MessageAck stores data for the message ack websocket event.