forked from pothtonswer/discordmuffin
Linting.
This commit is contained in:
parent
eff98faf41
commit
69f369a9f4
1 changed files with 4 additions and 2 deletions
|
@ -916,7 +916,7 @@ type GatewayBotResponse struct {
|
||||||
Shards int `json:"shards"`
|
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
|
// https://discordapp.com/developers/docs/topics/gateway#update-status-gateway-status-update-structure
|
||||||
type GatewayStatusUpdate struct {
|
type GatewayStatusUpdate struct {
|
||||||
Since int `json:"since"`
|
Since int `json:"since"`
|
||||||
|
@ -925,8 +925,8 @@ type GatewayStatusUpdate struct {
|
||||||
AFK bool `json:"afk"`
|
AFK bool `json:"afk"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://discordapp.com/developers/docs/topics/gateway#activity-object
|
|
||||||
// Activity defines the Activity sent with GatewayStatusUpdate
|
// Activity defines the Activity sent with GatewayStatusUpdate
|
||||||
|
// https://discordapp.com/developers/docs/topics/gateway#activity-object
|
||||||
type Activity struct {
|
type Activity struct {
|
||||||
Name string
|
Name string
|
||||||
Type ActivityType
|
Type ActivityType
|
||||||
|
@ -959,6 +959,8 @@ type Identify struct {
|
||||||
GuildSubscriptions bool `json:"guild_subscriptions"`
|
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 {
|
type IdentifyProperties struct {
|
||||||
OS string `json:"$os"`
|
OS string `json:"$os"`
|
||||||
Browser string `json:"$browser"`
|
Browser string `json:"$browser"`
|
||||||
|
|
Loading…
Reference in a new issue