Explorar o código

Refactor VerificationLevel consts

Nicholas Stafie %!s(int64=9) %!d(string=hai) anos
pai
achega
cba9b5039e
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  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