Browse Source

Add missing comments

Łukasz Horonziak 4 năm trước cách đây
mục cha
commit
ee7a5ae519
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      structs.go

+ 3 - 0
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