Browse Source

Merge pull request #697 from hazebooth/master

Fix typo in ErrorEmbedDisabled (BREAKING)
bwmarrin 5 years ago
parent
commit
e33a993fd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      structs.go

+ 1 - 1
structs.go

@@ -957,7 +957,7 @@ const (
 	ErrCodeMissingAccess                             = 50001
 	ErrCodeInvalidAccountType                        = 50002
 	ErrCodeCannotExecuteActionOnDMChannel            = 50003
-	ErrCodeEmbedCisabled                             = 50004
+	ErrCodeEmbedDisabled                             = 50004
 	ErrCodeCannotEditFromAnotherUser                 = 50005
 	ErrCodeCannotSendEmptyMessage                    = 50006
 	ErrCodeCannotSendMessagesToThisUser              = 50007