浏览代码

Merge pull request #697 from hazebooth/master

Fix typo in ErrorEmbedDisabled (BREAKING)
bwmarrin 5 年之前
父节点
当前提交
e33a993fd7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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