From ee7a5ae519052b63b92c469670c816cbc295afb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Horonziak?= Date: Thu, 11 Jun 2020 12:26:34 +0200 Subject: [PATCH] Add missing comments --- structs.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/structs.go b/structs.go index a6b572e..750f18e 100644 --- a/structs.go +++ b/structs.go @@ -1104,8 +1104,11 @@ const ( ErrCodeReactionBlocked = 90001 ) +// Intent is the type of a Gateway Intent +// https://discord.com/developers/docs/topics/gateway#gateway-intents type Intent int +// Constants for the different bit offsets of intents const ( IntentsGuilds Intent = 1 << iota IntentsGuildMembers