From ce5929893705c4bab3d71f93be29b888e0ad223f Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Fri, 21 Feb 2020 23:38:51 -0800 Subject: [PATCH] Gateway: Changed Intents' type from uint16 to uint32 for future constants --- gateway/identify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/identify.go b/gateway/identify.go index 8d133fe..dcc1013 100644 --- a/gateway/identify.go +++ b/gateway/identify.go @@ -39,7 +39,7 @@ type IdentifyData struct { // Intents is a new Discord API feature that's documented at // https://discordapp.com/developers/docs/topics/gateway#gateway-intents. -type Intents uint16 +type Intents uint32 const ( IntentGuilds Intents = 1 << iota