Use embedded Presence in presenceUpdate
This commit is contained in:
parent
04c0add4fd
commit
323abd1a87
1 changed files with 1 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue