Use embedded Presence in presenceUpdate

This commit is contained in:
Chris Rhodes 2016-06-05 22:41:08 -07:00
parent 04c0add4fd
commit 323abd1a87

View file

@ -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.