Merge pull request #730 from Toyz/develop
Add Activities Slice and CustomType
This commit is contained in:
commit
b37325c224
1 changed files with 8 additions and 6 deletions
|
@ -590,6 +590,7 @@ type Presence struct {
|
|||
User *User `json:"user"`
|
||||
Status Status `json:"status"`
|
||||
Game *Game `json:"game"`
|
||||
Activities []*Game `json:"activities"`
|
||||
Nick string `json:"nick"`
|
||||
Roles []string `json:"roles"`
|
||||
Since *int `json:"since"`
|
||||
|
@ -604,6 +605,7 @@ const (
|
|||
GameTypeStreaming
|
||||
GameTypeListening
|
||||
GameTypeWatching
|
||||
GameTypeCustom
|
||||
)
|
||||
|
||||
// A Game struct holds the name of the "playing .." game for a user
|
||||
|
|
Loading…
Reference in a new issue