forked from pothtonswer/discordmuffin
Added missing features
This commit is contained in:
parent
b3cc83b10c
commit
c737258c06
2 changed files with 10 additions and 6 deletions
2
go.mod
2
go.mod
|
@ -4,3 +4,5 @@ require (
|
|||
github.com/gorilla/websocket v1.4.0
|
||||
golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16
|
||||
)
|
||||
|
||||
go 1.13
|
||||
|
|
|
@ -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