Browse Source

Refactor VerificationLevel consts

Nicholas Stafie 9 năm trước cách đây
mục cha
commit
cba9b5039e
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      structs.go

+ 4 - 4
structs.go

@@ -150,10 +150,10 @@ type VerificationLevel int
 
 // Constants for VerificationLevel levels from 0 to 3 inclusive
 const (
-	VerificationLevelNone   VerificationLevel = iota
-	VerificationLevelLow    VerificationLevel = iota
-	VerificationLevelMedium VerificationLevel = iota
-	VerificationLevelHigh   VerificationLevel = iota
+	VerificationLevelNone VerificationLevel = iota
+	VerificationLevelLow
+	VerificationLevelMedium
+	VerificationLevelHigh
 )
 
 // A Guild holds all data related to a specific Discord Guild.  Guilds are also