From eff98faf41318a674260221bd3b82107618c7e8d Mon Sep 17 00:00:00 2001 From: Bruce Marriner Date: Mon, 20 Jan 2020 12:10:20 -0600 Subject: [PATCH] Fix wording --- structs.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/structs.go b/structs.go index f9b7f1f..4e09194 100644 --- a/structs.go +++ b/structs.go @@ -925,22 +925,25 @@ type GatewayStatusUpdate struct { AFK bool `json:"afk"` } +// https://discordapp.com/developers/docs/topics/gateway#activity-object +// Activity defines the Activity sent with GatewayStatusUpdate type Activity struct { Name string Type ActivityType URL string } -// GameType is the type of "game" (see GameType* consts) in the Game struct +// ActivityType is the type of Activity (see ActivityType* consts) in the Activity struct // https://discordapp.com/developers/docs/topics/gateway#activity-object-activity-types type ActivityType int -// Valid GameType values +// Valid ActivityType values +//https://discordapp.com/developers/docs/topics/gateway#activity-object-activity-types const ( ActivityTypeGame GameType = iota ActivityTypeStreaming ActivityTypeListening - // ActivityTypeWatching // not valid in the use? + // ActivityTypeWatching // not valid in this use case? ActivityTypeCustom = 4 )