Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>JsonErrorCodes

A powerful and customizable framework for Discordeno
Latest
enum JsonErrorCodes
import { JsonErrorCodes } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Members

AMessageCanOnlyBePinnedInTheChannelItWasSentIn = 50019
AMessageProvidedWasTooOldToBulkDelete
AnApplicationCommandWithThatNameAlreadyExists = 40041
AnInviteWasAcceptedToAGuildTheApplicationsBotIsNotIn
ApiResourceIsCurrentlyOverloadedTryAgainALittleLater = 130000
AThreadHasAlreadyBeenCreatedForThisMessage = 160004
BeforeValueIsEarlierThanTheThreadCreationDate
BotsCannotUseThisEndpoint = 20001
CannotDeleteAChannelRequiredForCommunityGuilds = 50074
CannotEditMessageAuthoredByAnotherUser
CannotExecuteActionOnADMChannel
CannotExecuteActionOnASystemMessage
CannotExecuteActionOnThisChannelType = 50024
CannotReplyWithoutPermissionToReadMessageHistory = 160002
CannotSelfRedeemThisGift = 50054
CannotSendAnEmptyMessage
CannotSendMessagesInAVoiceChannel
CannotSendMessagesToThisUser
ChannelVerificationLevelIsTooHighForYouToGainAccess
ExplicitContentCannotBeSentToTheDesiredRecipient = 20009
GeneralError
GuildAlreadyHasTemplate = 30031
GuildPremiumSubscriptionLevelTooLow = 20035
GuildWidgetDisabled
InvalidAccountType
InvalidApiVersionProvided = 50041
InvalidAuthenticationTokenProvided
InvalidFormBodyOrContentTypeProvided
InvalidOAuth2AccessTokenProvided
InvalidOAuth2State
InvalidRecipients = 50033
InvalidRole
InvalidStickerSent = 50081
InvalidThreadNotificationSettings
InvalidWebhookTokenProvided
InviteCodeWasEitherInvalidOrTaken
MaximumNumberOfActiveAnnouncementThreadsReached = 160007
MaximumNumberOfActiveThreadsReached = 160006
MaximumNumberOfAnimatedEmojisReached = 30018
MaximumNumberOfAttachmentsInAMessageReached = 30015
MaximumNumberOfBansFetchesHasBeenReached = 30037
MaximumNumberOfBansForNonGuildMembersHaveBeenExceeded = 30035
MaximumNumberOfEmojisReached
MaximumNumberOfFriendsReached
MaximumNumberOfGuildChannelsReached = 30013
MaximumNumberOfGuildRolesReached
MaximumNumberOfGuildsReached = 30001
MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReachedTryAgainLater = 30042
MaximumNumberOfInvitesReached
MaximumNumberOfPinsReachedForTheChannel
MaximumNumberOfPruneRequestsHasBeenReachedTryAgainLater
MaximumNumberOfReactionsReached = 30010
MaximumNumberOfRecipientsReached
MaximumNumberOfServerCategoriesHasBeenReached = 30030
MaximumNumberOfServerMembersReached
MaximumNumberOfStickersReached = 30039
MaximumNumberOfUncompletedGuildScheduledEventsReached = 30038
MaximumNumberOfWebhooksReached = 30007
MissingAccess = 50001
MissingRequiredOAuth2Scope
NoteWasTooLong
NoUsersWithDiscordTagExist = 80004
OAuth2ApplicationDoesNotHaveABot
OAuth2ApplicationLimitReached
OnlyBotsCanUseThisEndpoint
OnlyTheOwnerOfThisAccountCanPerformThisAction = 20018
PaymentSourceRequiredToRedeemGift = 50070
ProvidedTooFewOrTooManyMessagesToDeleteMustProvideAtLeast2AndFewerThan100MessagesToDelete
ReactionWasBlocked = 90001
RequestEntityTooLargeTrySendingSomethingSmallerInSize = 40005
TargetUserIsNotConnectedToVoice = 40032
TheChannelYouAreWritingHasHitTheWriteRateLimit = 20028
TheStageIsAlreadyOpen = 150006
ThisActionCannotBePerformedDueToSlowmodeRateLimit = 20016
ThisFeatureHasBeenTemporarilyDisabledServerSide
ThisMessageCannotBeEditedDueToAnnouncementRateLimits = 20022
ThisMessageHasAlreadyBeenCrossposted = 40033
ThisServerIsNotAvailableInYourLocation = 50095
ThisServerNeedsMonetizationEnabledInOrderToPerformThisAction = 50097
ThisServerNeedsMoreBoostsToPerformThisAction = 50101
ThisUserBannedFromThisGuild
ThreadIsLocked = 160005
TriedToPerformAnOperationOnAnArchivedThreadSuchAsEditingAMessageOrAddingAUserToTheThread = 50083
TwoFactorIsRequiredForThisOperation = 60003
UnauthorizedProvideAValidTokenAndTryAgain = 40001
UnknownAccount = 10001
UnknownApplication
UnknownApplicationCommand = 10063
UnknownApplicationCommandPermissions = 10066
UnknownBan = 10026
UnknownBranch
UnknownBuild
UnknownChannel
UnknownDiscoveryCategory = 10059
UnknownEmoji
UnknownEntitlement
UnknownGiftCode = 10038
UnknownGuild
UnknownGuildMemberVerificationForm
UnknownGuildScheduledEvent
UnknownGuildScheduledEventUser
UnknownGuildTemplate = 10057
UnknownGuildWelcomeScreen
UnknownIntegration
UnknownInteraction = 10062
UnknownInvite
UnknownLobby
UnknownMember
UnknownMessage
UnknownPermissionOverwrite
UnknownPremiumServerSubscribeCooldown
UnknownProvider
UnknownRedistributable = 10036
UnknownRole
UnknownSession = 10020
UnknownSKU
UnknownStageInstance
UnknownSticker
UnknownStoreDirectoryLayout
UnknownStoreListing
UnknownStream = 10049
UnknownToken
UnknownUser
UnknownWebhook
UnknownWebhookService
YouAreNotAuthorizedToPerformThisActionOnThisApplication = 20012
YouAreOpeningDirectMessagesTooFast
YouLackPermissionsToPerformThatAction
YouNeedToVerifyYourAccountInOrderToPerformThisAction
YourStageTopicOrServerNameOrServerDescriptionOrChannelNamesContainsWordsThatAreNotAllowedForPublicStages = 20031