Sfoglia il codice sorgente

Refactor VerificationLevel consts

Nicholas Stafie 9 anni fa
parent
commit
cba9b5039e
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  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