From 69f369a9f41321d082db72ff9bf16c6714f5f8cd Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Mon, 20 Jan 2020 12:20:30 -0600 Subject: [PATCH] Linting. --- structs.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/structs.go b/structs.go index 4e09194..8abc1c6 100644 --- a/structs.go +++ b/structs.go @@ -916,7 +916,7 @@ type GatewayBotResponse struct { Shards int `json:"shards"` } -// Gateway Status Update is sent by the client to indicate a presence or status update +// GatewayStatusUpdate is sent by the client to indicate a presence or status update // https://discordapp.com/developers/docs/topics/gateway#update-status-gateway-status-update-structure type GatewayStatusUpdate struct { Since int `json:"since"` @@ -925,8 +925,8 @@ type GatewayStatusUpdate struct { AFK bool `json:"afk"` } -// https://discordapp.com/developers/docs/topics/gateway#activity-object // Activity defines the Activity sent with GatewayStatusUpdate +// https://discordapp.com/developers/docs/topics/gateway#activity-object type Activity struct { Name string Type ActivityType @@ -959,6 +959,8 @@ type Identify struct { GuildSubscriptions bool `json:"guild_subscriptions"` } +// IdentifyProperties contains the "properties" portion of an Identify packet +// https://discordapp.com/developers/docs/topics/gateway#identify-identify-connection-properties type IdentifyProperties struct { OS string `json:"$os"` Browser string `json:"$browser"`