diff --git a/deno/rest/common.ts b/deno/rest/common.ts index 38c3d3428..c7dfd8d37 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -128,11 +128,15 @@ export enum RESTJSONErrorCodes { FeatureTemporarilyDisabledServerSide, UserBannedFromThisGuild, + ConnectionHasBeenRevoked = 40012, + TargetUserIsNotConnectedToVoice = 40032, ThisMessageWasAlreadyCrossposted, ApplicationCommandWithThatNameAlreadyExists = 40041, + ApplicationInteractionFailedToSend = 40043, + InteractionHasAlreadyBeenAcknowledged = 40060, TagNamesMustBeUnique, @@ -202,6 +206,8 @@ export enum RESTJSONErrorCodes { OwnershipCannotBeMovedToABotUser = 50132, + FailedToResizeAssetBelowTheMinimumSize = 50138, + UploadedFileNotFound = 50146, YouDoNotHavePermissionToSendThisSticker = 50600, @@ -237,6 +243,9 @@ export enum RESTJSONErrorCodes { FailedToCreateStageNeededForStageEvent = 180002, + MessageWasBlockedByAutomaticModeration = 200000, + TitleWasBlockedByAutomaticModeration, + WebhooksCanOnlyCreateThreadsInForumChannels = 220003, } diff --git a/rest/common.ts b/rest/common.ts index 38c3d3428..c7dfd8d37 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -128,11 +128,15 @@ export enum RESTJSONErrorCodes { FeatureTemporarilyDisabledServerSide, UserBannedFromThisGuild, + ConnectionHasBeenRevoked = 40012, + TargetUserIsNotConnectedToVoice = 40032, ThisMessageWasAlreadyCrossposted, ApplicationCommandWithThatNameAlreadyExists = 40041, + ApplicationInteractionFailedToSend = 40043, + InteractionHasAlreadyBeenAcknowledged = 40060, TagNamesMustBeUnique, @@ -202,6 +206,8 @@ export enum RESTJSONErrorCodes { OwnershipCannotBeMovedToABotUser = 50132, + FailedToResizeAssetBelowTheMinimumSize = 50138, + UploadedFileNotFound = 50146, YouDoNotHavePermissionToSendThisSticker = 50600, @@ -237,6 +243,9 @@ export enum RESTJSONErrorCodes { FailedToCreateStageNeededForStageEvent = 180002, + MessageWasBlockedByAutomaticModeration = 200000, + TitleWasBlockedByAutomaticModeration, + WebhooksCanOnlyCreateThreadsInForumChannels = 220003, }