From 5d1dd7ddac453fc704dd0bb6b33bb576fa4a9a93 Mon Sep 17 00:00:00 2001 From: jonas747 Date: Mon, 7 Nov 2016 09:57:31 +0100 Subject: [PATCH] Add nick and roles to Presence --- structs.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/structs.go b/structs.go index ed389c1..6b73e5f 100644 --- a/structs.go +++ b/structs.go @@ -276,9 +276,11 @@ type VoiceState struct { // A Presence stores the online, offline, or idle and game status of Guild members. type Presence struct { - User *User `json:"user"` - Status Status `json:"status"` - Game *Game `json:"game"` + User *User `json:"user"` + Status Status `json:"status"` + Game *Game `json:"game"` + Nick string `json:"nick"` + Roles []string `json:"roles"` } // A Game struct holds the name of the "playing .." game for a user