mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-09-17 08:47:24 +00:00
feat(RESTJsonErrorCode): add error code 20015, 50167, and 340015 (#1686)
This commit is contained in:
Generated
+5
-1
@@ -71,7 +71,8 @@ export enum RESTJSONErrorCodes {
|
||||
|
||||
NotAuthorizedToPerformThisActionOnThisApplication = 20_012,
|
||||
|
||||
ActionCannotBePerformedDueToSlowmodeRateLimit = 20_016,
|
||||
ThisActionRequiresAPremiumSubscription = 20_015,
|
||||
ActionCannotBePerformedDueToSlowmodeRateLimit,
|
||||
TheMazeIsntMeantForYou,
|
||||
OnlyTheOwnerOfThisAccountCanPerformThisAction,
|
||||
|
||||
@@ -279,6 +280,8 @@ export enum RESTJSONErrorCodes {
|
||||
VoiceMessagesCannotBeEdited,
|
||||
CannotDeleteGuildSubscriptionIntegration,
|
||||
|
||||
CannotSendVoiceEffectWhenUserIsServerMutedDeafenedOrSuppressed = 50_167,
|
||||
|
||||
YouCannotSendVoiceMessagesInThisChannel = 50_173,
|
||||
|
||||
TheUserAccountMustFirstBeVerified = 50_178,
|
||||
@@ -336,6 +339,7 @@ export enum RESTJSONErrorCodes {
|
||||
WebhookServicesCannotBeUsedInForumChannels,
|
||||
|
||||
MessageBlockedByHarmfulLinksFilter = 240_000,
|
||||
AccessToJoiningNewServersHasBeenLimitedForTheUser = 340_015,
|
||||
|
||||
CannotEnableOnboardingRequirementsAreNotMet = 350_000,
|
||||
CannotUpdateOnboardingWhileBelowRequirements,
|
||||
|
||||
+5
-1
@@ -71,7 +71,8 @@ export enum RESTJSONErrorCodes {
|
||||
|
||||
NotAuthorizedToPerformThisActionOnThisApplication = 20_012,
|
||||
|
||||
ActionCannotBePerformedDueToSlowmodeRateLimit = 20_016,
|
||||
ThisActionRequiresAPremiumSubscription = 20_015,
|
||||
ActionCannotBePerformedDueToSlowmodeRateLimit,
|
||||
TheMazeIsntMeantForYou,
|
||||
OnlyTheOwnerOfThisAccountCanPerformThisAction,
|
||||
|
||||
@@ -279,6 +280,8 @@ export enum RESTJSONErrorCodes {
|
||||
VoiceMessagesCannotBeEdited,
|
||||
CannotDeleteGuildSubscriptionIntegration,
|
||||
|
||||
CannotSendVoiceEffectWhenUserIsServerMutedDeafenedOrSuppressed = 50_167,
|
||||
|
||||
YouCannotSendVoiceMessagesInThisChannel = 50_173,
|
||||
|
||||
TheUserAccountMustFirstBeVerified = 50_178,
|
||||
@@ -336,6 +339,7 @@ export enum RESTJSONErrorCodes {
|
||||
WebhookServicesCannotBeUsedInForumChannels,
|
||||
|
||||
MessageBlockedByHarmfulLinksFilter = 240_000,
|
||||
AccessToJoiningNewServersHasBeenLimitedForTheUser = 340_015,
|
||||
|
||||
CannotEnableOnboardingRequirementsAreNotMet = 350_000,
|
||||
CannotUpdateOnboardingWhileBelowRequirements,
|
||||
|
||||
Reference in New Issue
Block a user