mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-23 21:16:42 +00:00
Gateway: Slightly better documenting
This commit is contained in:
parent
2f597ebc0b
commit
e8694c74e5
|
@ -90,7 +90,8 @@ func (g *Gateway) UpdateVoiceState(data UpdateVoiceStateData) error {
|
||||||
type UpdateStatusData struct {
|
type UpdateStatusData struct {
|
||||||
Since discord.UnixMsTimestamp `json:"since"` // 0 if not idle
|
Since discord.UnixMsTimestamp `json:"since"` // 0 if not idle
|
||||||
|
|
||||||
Game *discord.Activity `json:"game,omitempty"` // nullable
|
// Both fields are nullable.
|
||||||
|
Game *discord.Activity `json:"game,omitempty"`
|
||||||
Activities *[]discord.Activity `json:"activities,omitempty"`
|
Activities *[]discord.Activity `json:"activities,omitempty"`
|
||||||
|
|
||||||
Status discord.Status `json:"status"`
|
Status discord.Status `json:"status"`
|
||||||
|
|
Loading…
Reference in a new issue