disgroove 2.0.0-dev.825fc77 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PremiumTypes = exports.UserFlags = exports.StickerFormatTypes = exports.StickerTypes = exports.PrivacyLevel = exports.InviteTargetTypes = exports.GuildScheduledEventStatus = exports.GuildScheduledEventEntityTypes = exports.GuildScheduledEventPrivacyLevel = exports.ImageWidgetStyleOptions = exports.PromptTypes = exports.OnboardingMode = exports.IntegrationExpireBehaviors = exports.GuildMemberFlags = exports.MutableGuildFeatures = exports.GuildFeatures = exports.SystemChannelFlags = exports.PremiumTier = exports.GuildNSFWLevel = exports.VerificationLevel = exports.MFALevel = exports.ExplicitContentFilterLevel = exports.DefaultMessageNotificationLevel = exports.AllowedMentionTypes = exports.AttachmentFlags = exports.MessageFlags = exports.MessageActivityTypes = exports.MessageTypes = exports.ForumLayoutTypes = exports.SortOrderTypes = exports.ChannelFlags = exports.VideoQualityModes = exports.ChannelTypes = exports.ActionTypes = exports.EventTypes = exports.KeywordPresetTypes = exports.TriggerTypes = exports.AuditLogEvents = exports.ApplicationRoleConnectionMetadataType = exports.ApplicationFlags = exports.TextInputStyles = exports.ButtonStyles = exports.InteractionCallbackType = exports.ComponentTypes = exports.InteractionType = exports.ApplicationCommandPermissionType = exports.ApplicationCommandOptionType = exports.ApplicationCommandTypes = exports.Locales = exports.ImageFormats = void 0;
4
- exports.EntitlementTypes = exports.SkuFlags = exports.SkuTypes = exports.MembershipState = exports.TeamMemberRoleTypes = exports.RoleFlags = exports.BitwisePermissionFlags = exports.RPCCloseEventCodes = exports.RPCErrorCodes = exports.JsonErrorCodes = exports.HTTPResponseCodes = exports.VoiceCloseEventCodes = exports.VoiceOPCodes = exports.GatewayCloseEventCodes = exports.GatewayOPCodes = exports.OAuth2Scopes = exports.ActivityFlags = exports.ActivityType = exports.GatewayEvents = exports.StatusTypes = exports.GatewayIntents = exports.DeviceType = exports.WebhookTypes = exports.VisibilityTypes = exports.Services = void 0;
4
+ exports.EntitlementTypes = exports.SkuFlags = exports.SkuTypes = exports.MembershipState = exports.TeamMemberRoleTypes = exports.RoleFlags = exports.BitwisePermissionFlags = exports.RPCCloseEventCodes = exports.RPCErrorCodes = exports.JSONErrorCodes = exports.HTTPResponseCodes = exports.VoiceCloseEventCodes = exports.VoiceOPCodes = exports.GatewayCloseEventCodes = exports.GatewayOPCodes = exports.OAuth2Scopes = exports.ActivityFlags = exports.ActivityType = exports.GatewayEvents = exports.StatusTypes = exports.GatewayIntents = exports.DeviceType = exports.WebhookTypes = exports.VisibilityTypes = exports.Services = void 0;
5
5
  /** https://discord.com/developers/docs/reference#image-formatting-image-formats */
6
6
  var ImageFormats;
7
7
  (function (ImageFormats) {
@@ -837,212 +837,212 @@ var HTTPResponseCodes;
837
837
  HTTPResponseCodes["ServerError"] = "5xx";
838
838
  })(HTTPResponseCodes || (exports.HTTPResponseCodes = HTTPResponseCodes = {}));
839
839
  /** https://discord.com/developers/docs/topics/opcodes-and-status-codes#json-json-error-codes */
840
- var JsonErrorCodes;
841
- (function (JsonErrorCodes) {
842
- JsonErrorCodes[JsonErrorCodes["GeneralError"] = 0] = "GeneralError";
843
- JsonErrorCodes[JsonErrorCodes["UnknownAccount"] = 10001] = "UnknownAccount";
844
- JsonErrorCodes[JsonErrorCodes["UnknownApplication"] = 10002] = "UnknownApplication";
845
- JsonErrorCodes[JsonErrorCodes["UnknownChannel"] = 10003] = "UnknownChannel";
846
- JsonErrorCodes[JsonErrorCodes["UnknownGuild"] = 10004] = "UnknownGuild";
847
- JsonErrorCodes[JsonErrorCodes["UnknownIntegration"] = 10005] = "UnknownIntegration";
848
- JsonErrorCodes[JsonErrorCodes["UnknownInvite"] = 10006] = "UnknownInvite";
849
- JsonErrorCodes[JsonErrorCodes["UnknownMember"] = 10007] = "UnknownMember";
850
- JsonErrorCodes[JsonErrorCodes["UnknownMessage"] = 10008] = "UnknownMessage";
851
- JsonErrorCodes[JsonErrorCodes["UnknownPermissionOverwrite"] = 10009] = "UnknownPermissionOverwrite";
852
- JsonErrorCodes[JsonErrorCodes["UnknownProvider"] = 10010] = "UnknownProvider";
853
- JsonErrorCodes[JsonErrorCodes["UnknownRole"] = 10011] = "UnknownRole";
854
- JsonErrorCodes[JsonErrorCodes["UnknownToken"] = 10012] = "UnknownToken";
855
- JsonErrorCodes[JsonErrorCodes["UnknownUser"] = 10013] = "UnknownUser";
856
- JsonErrorCodes[JsonErrorCodes["UnknownEmoji"] = 10014] = "UnknownEmoji";
857
- JsonErrorCodes[JsonErrorCodes["UnknownWebhook"] = 10015] = "UnknownWebhook";
858
- JsonErrorCodes[JsonErrorCodes["UnknownWebhookService"] = 10016] = "UnknownWebhookService";
859
- JsonErrorCodes[JsonErrorCodes["UnknownSession"] = 10020] = "UnknownSession";
860
- JsonErrorCodes[JsonErrorCodes["UnknownBan"] = 10026] = "UnknownBan";
861
- JsonErrorCodes[JsonErrorCodes["UnknownSku"] = 10027] = "UnknownSku";
862
- JsonErrorCodes[JsonErrorCodes["UnknownStoreListing"] = 10028] = "UnknownStoreListing";
863
- JsonErrorCodes[JsonErrorCodes["UnknownEntitlement"] = 10029] = "UnknownEntitlement";
864
- JsonErrorCodes[JsonErrorCodes["UnknownBuild"] = 10030] = "UnknownBuild";
865
- JsonErrorCodes[JsonErrorCodes["UnknownLobby"] = 10031] = "UnknownLobby";
866
- JsonErrorCodes[JsonErrorCodes["UnknownBranch"] = 10032] = "UnknownBranch";
867
- JsonErrorCodes[JsonErrorCodes["UnknownStoreDirectoryLayout"] = 10033] = "UnknownStoreDirectoryLayout";
868
- JsonErrorCodes[JsonErrorCodes["UnknownRedistributable"] = 10036] = "UnknownRedistributable";
869
- JsonErrorCodes[JsonErrorCodes["UnknownGiftCode"] = 10038] = "UnknownGiftCode";
870
- JsonErrorCodes[JsonErrorCodes["UnknownStream"] = 10049] = "UnknownStream";
871
- JsonErrorCodes[JsonErrorCodes["UnknownPremiumServerSubscribeCooldown"] = 10050] = "UnknownPremiumServerSubscribeCooldown";
872
- JsonErrorCodes[JsonErrorCodes["UnknownGuildTemplate"] = 10057] = "UnknownGuildTemplate";
873
- JsonErrorCodes[JsonErrorCodes["UnknownDiscoverableServerCategory"] = 10059] = "UnknownDiscoverableServerCategory";
874
- JsonErrorCodes[JsonErrorCodes["UnknownSticker"] = 10060] = "UnknownSticker";
875
- JsonErrorCodes[JsonErrorCodes["UnknownInteraction"] = 10062] = "UnknownInteraction";
876
- JsonErrorCodes[JsonErrorCodes["UnknownApplicationCommand"] = 10063] = "UnknownApplicationCommand";
877
- JsonErrorCodes[JsonErrorCodes["UnknownVoiceState"] = 10065] = "UnknownVoiceState";
878
- JsonErrorCodes[JsonErrorCodes["UnknownApplicationCommandPermissions"] = 10066] = "UnknownApplicationCommandPermissions";
879
- JsonErrorCodes[JsonErrorCodes["UnknownStageInstance"] = 10067] = "UnknownStageInstance";
880
- JsonErrorCodes[JsonErrorCodes["UnknownGuildMemberVerificationForm"] = 10068] = "UnknownGuildMemberVerificationForm";
881
- JsonErrorCodes[JsonErrorCodes["UnknownGuildWelcomeScreen"] = 10069] = "UnknownGuildWelcomeScreen";
882
- JsonErrorCodes[JsonErrorCodes["UnknownGuildScheduledEvent"] = 10070] = "UnknownGuildScheduledEvent";
883
- JsonErrorCodes[JsonErrorCodes["UnknownGuildScheduledEventUser"] = 10071] = "UnknownGuildScheduledEventUser";
884
- JsonErrorCodes[JsonErrorCodes["UnknownTag"] = 10087] = "UnknownTag";
885
- JsonErrorCodes[JsonErrorCodes["BotsCannotUseThisEndpoint"] = 20001] = "BotsCannotUseThisEndpoint";
886
- JsonErrorCodes[JsonErrorCodes["OnlyBotsCanUseThisEndpoint"] = 20002] = "OnlyBotsCanUseThisEndpoint";
887
- JsonErrorCodes[JsonErrorCodes["ExplicitContentCannotBeSentToTheDesiredRecipient"] = 20009] = "ExplicitContentCannotBeSentToTheDesiredRecipient";
888
- JsonErrorCodes[JsonErrorCodes["NotAuthorizedToPerformThisActionOnThisApplication"] = 20012] = "NotAuthorizedToPerformThisActionOnThisApplication";
889
- JsonErrorCodes[JsonErrorCodes["ActionCannotBePerformedDueToSlowmodeRateLimit"] = 20016] = "ActionCannotBePerformedDueToSlowmodeRateLimit";
890
- JsonErrorCodes[JsonErrorCodes["TheMazeIsntMeantForYou"] = 20017] = "TheMazeIsntMeantForYou";
891
- JsonErrorCodes[JsonErrorCodes["OnlyTheOwnerOfThisAccountCanPerformThisAction"] = 20018] = "OnlyTheOwnerOfThisAccountCanPerformThisAction";
892
- JsonErrorCodes[JsonErrorCodes["AnnouncementEditLimitExceeded"] = 20022] = "AnnouncementEditLimitExceeded";
893
- JsonErrorCodes[JsonErrorCodes["UnderMinimumAge"] = 20024] = "UnderMinimumAge";
894
- JsonErrorCodes[JsonErrorCodes["ChannelSendRateLimit"] = 20028] = "ChannelSendRateLimit";
895
- JsonErrorCodes[JsonErrorCodes["ServerSendRateLimit"] = 20029] = "ServerSendRateLimit";
896
- JsonErrorCodes[JsonErrorCodes["StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords"] = 20031] = "StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords";
897
- JsonErrorCodes[JsonErrorCodes["GuildPremiumSubscriptionLevelTooLow"] = 20035] = "GuildPremiumSubscriptionLevelTooLow";
898
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfGuildsReached"] = 30001] = "MaximumNumberOfGuildsReached";
899
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfFriendsReached"] = 30002] = "MaximumNumberOfFriendsReached";
900
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfPinsReachedForTheChannel"] = 30003] = "MaximumNumberOfPinsReachedForTheChannel";
901
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfRecipientsReached"] = 30004] = "MaximumNumberOfRecipientsReached";
902
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfGuildRolesReached"] = 30005] = "MaximumNumberOfGuildRolesReached";
903
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfWebhooksReached"] = 30007] = "MaximumNumberOfWebhooksReached";
904
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfEmojisReached"] = 30008] = "MaximumNumberOfEmojisReached";
905
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfReactionsReached"] = 30010] = "MaximumNumberOfReactionsReached";
906
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfGroupDMsReached"] = 30011] = "MaximumNumberOfGroupDMsReached";
907
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfGuildChannelsReached"] = 30013] = "MaximumNumberOfGuildChannelsReached";
908
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfAttachmentsInAMessageReached"] = 30015] = "MaximumNumberOfAttachmentsInAMessageReached";
909
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfInvitesReached"] = 30016] = "MaximumNumberOfInvitesReached";
910
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfAnimatedEmojisReached"] = 30018] = "MaximumNumberOfAnimatedEmojisReached";
911
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfServerMembersReached"] = 30019] = "MaximumNumberOfServerMembersReached";
912
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfServerCategoriesReached"] = 30030] = "MaximumNumberOfServerCategoriesReached";
913
- JsonErrorCodes[JsonErrorCodes["GuildAlreadyHasTemplate"] = 30031] = "GuildAlreadyHasTemplate";
914
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfApplicationCommandsReached"] = 30032] = "MaximumNumberOfApplicationCommandsReached";
915
- JsonErrorCodes[JsonErrorCodes["MaximumThreadParticipantsReached"] = 30033] = "MaximumThreadParticipantsReached";
916
- JsonErrorCodes[JsonErrorCodes["MaximumDailyApplicationCommandCreatesReached"] = 30034] = "MaximumDailyApplicationCommandCreatesReached";
917
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfNonGuildMemberBansHasBeenExceeded"] = 30035] = "MaximumNumberOfNonGuildMemberBansHasBeenExceeded";
918
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfBanFetchesHasBeenReached"] = 30037] = "MaximumNumberOfBanFetchesHasBeenReached";
919
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfUncompletedGuildScheduledEventsReached"] = 30038] = "MaximumNumberOfUncompletedGuildScheduledEventsReached";
920
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfStickersReached"] = 30039] = "MaximumNumberOfStickersReached";
921
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfPruneRequestsHasBeenReached"] = 30040] = "MaximumNumberOfPruneRequestsHasBeenReached";
922
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached"] = 30042] = "MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached";
923
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfEditsToMessagesOlderThanOneHourReached"] = 30046] = "MaximumNumberOfEditsToMessagesOlderThanOneHourReached";
924
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfPinnedThreadsInForumHasBeenReached"] = 30047] = "MaximumNumberOfPinnedThreadsInForumHasBeenReached";
925
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfTagsInForumHasBeenReached"] = 30048] = "MaximumNumberOfTagsInForumHasBeenReached";
926
- JsonErrorCodes[JsonErrorCodes["BitrateIsTooHighForChannelOfThisType"] = 30052] = "BitrateIsTooHighForChannelOfThisType";
927
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfPremiumEmojisReached"] = 30056] = "MaximumNumberOfPremiumEmojisReached";
928
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfWebhooksPerGuildReached"] = 30058] = "MaximumNumberOfWebhooksPerGuildReached";
929
- JsonErrorCodes[JsonErrorCodes["MaximumNumberOfChannelPermissionOverwritesReached"] = 30060] = "MaximumNumberOfChannelPermissionOverwritesReached";
930
- JsonErrorCodes[JsonErrorCodes["TheChannelsForThisGuildAreTooLarge"] = 30061] = "TheChannelsForThisGuildAreTooLarge";
931
- JsonErrorCodes[JsonErrorCodes["Unauthorized"] = 40001] = "Unauthorized";
932
- JsonErrorCodes[JsonErrorCodes["VerifyYourAccount"] = 40002] = "VerifyYourAccount";
933
- JsonErrorCodes[JsonErrorCodes["OpeningDirectMessagesTooFast"] = 40003] = "OpeningDirectMessagesTooFast";
934
- JsonErrorCodes[JsonErrorCodes["SendMessagesHasBeenTemporarilyDisabled"] = 40004] = "SendMessagesHasBeenTemporarilyDisabled";
935
- JsonErrorCodes[JsonErrorCodes["RequestEntityTooLarge"] = 40005] = "RequestEntityTooLarge";
936
- JsonErrorCodes[JsonErrorCodes["FeatureTemporarilyDisabledServerSide"] = 40006] = "FeatureTemporarilyDisabledServerSide";
937
- JsonErrorCodes[JsonErrorCodes["UserBannedFromThisGuild"] = 40007] = "UserBannedFromThisGuild";
938
- JsonErrorCodes[JsonErrorCodes["ConnectionHasBeenRevoked"] = 40012] = "ConnectionHasBeenRevoked";
939
- JsonErrorCodes[JsonErrorCodes["TargetUserIsNotConnectedToVoice"] = 40032] = "TargetUserIsNotConnectedToVoice";
940
- JsonErrorCodes[JsonErrorCodes["ThisMessageWasAlreadyCrossposted"] = 40033] = "ThisMessageWasAlreadyCrossposted";
941
- JsonErrorCodes[JsonErrorCodes["ApplicationCommandWithThatNameAlreadyExists"] = 40041] = "ApplicationCommandWithThatNameAlreadyExists";
942
- JsonErrorCodes[JsonErrorCodes["ApplicationInteractionFailedToSend"] = 40043] = "ApplicationInteractionFailedToSend";
943
- JsonErrorCodes[JsonErrorCodes["CannotSendAMessageInAForumChannel"] = 40058] = "CannotSendAMessageInAForumChannel";
944
- JsonErrorCodes[JsonErrorCodes["InteractionHasAlreadyBeenAcknowledged"] = 40060] = "InteractionHasAlreadyBeenAcknowledged";
945
- JsonErrorCodes[JsonErrorCodes["TagNamesMustBeUnique"] = 40061] = "TagNamesMustBeUnique";
946
- JsonErrorCodes[JsonErrorCodes["ServiceResourceIsBeingRateLimited"] = 40062] = "ServiceResourceIsBeingRateLimited";
947
- JsonErrorCodes[JsonErrorCodes["ThereAreNoTagsAvailableThatCanBeSetByNonModerators"] = 40066] = "ThereAreNoTagsAvailableThatCanBeSetByNonModerators";
948
- JsonErrorCodes[JsonErrorCodes["TagRequiredToCreateAForumPostInThisChannel"] = 40067] = "TagRequiredToCreateAForumPostInThisChannel";
949
- JsonErrorCodes[JsonErrorCodes["AnEntitlementHasAlreadyBeenGrantedForThisResource"] = 40074] = "AnEntitlementHasAlreadyBeenGrantedForThisResource";
950
- JsonErrorCodes[JsonErrorCodes["MissingAccess"] = 50001] = "MissingAccess";
951
- JsonErrorCodes[JsonErrorCodes["InvalidAccountType"] = 50002] = "InvalidAccountType";
952
- JsonErrorCodes[JsonErrorCodes["CannotExecuteActionOnDMChannel"] = 50003] = "CannotExecuteActionOnDMChannel";
953
- JsonErrorCodes[JsonErrorCodes["GuildWidgetDisabled"] = 50004] = "GuildWidgetDisabled";
954
- JsonErrorCodes[JsonErrorCodes["CannotEditMessageAuthoredByAnotherUser"] = 50005] = "CannotEditMessageAuthoredByAnotherUser";
955
- JsonErrorCodes[JsonErrorCodes["CannotSendAnEmptyMessage"] = 50006] = "CannotSendAnEmptyMessage";
956
- JsonErrorCodes[JsonErrorCodes["CannotSendMessagesToThisUser"] = 50007] = "CannotSendMessagesToThisUser";
957
- JsonErrorCodes[JsonErrorCodes["CannotSendMessagesInNonTextChannel"] = 50008] = "CannotSendMessagesInNonTextChannel";
958
- JsonErrorCodes[JsonErrorCodes["ChannelVerificationLevelTooHighForYouToGainAccess"] = 50009] = "ChannelVerificationLevelTooHighForYouToGainAccess";
959
- JsonErrorCodes[JsonErrorCodes["OAuth2ApplicationDoesNotHaveBot"] = 50010] = "OAuth2ApplicationDoesNotHaveBot";
960
- JsonErrorCodes[JsonErrorCodes["OAuth2ApplicationLimitReached"] = 50011] = "OAuth2ApplicationLimitReached";
961
- JsonErrorCodes[JsonErrorCodes["InvalidOAuth2State"] = 50012] = "InvalidOAuth2State";
962
- JsonErrorCodes[JsonErrorCodes["MissingPermissions"] = 50013] = "MissingPermissions";
963
- JsonErrorCodes[JsonErrorCodes["InvalidToken"] = 50014] = "InvalidToken";
964
- JsonErrorCodes[JsonErrorCodes["NoteWasTooLong"] = 50015] = "NoteWasTooLong";
965
- JsonErrorCodes[JsonErrorCodes["ProvidedTooFewOrTooManyMessagesToDelete"] = 50016] = "ProvidedTooFewOrTooManyMessagesToDelete";
966
- JsonErrorCodes[JsonErrorCodes["InvalidMFALevel"] = 50017] = "InvalidMFALevel";
967
- JsonErrorCodes[JsonErrorCodes["MessageCanOnlyBePinnedInTheChannelItWasSentIn"] = 50019] = "MessageCanOnlyBePinnedInTheChannelItWasSentIn";
968
- JsonErrorCodes[JsonErrorCodes["InviteCodeInvalidOrTaken"] = 50020] = "InviteCodeInvalidOrTaken";
969
- JsonErrorCodes[JsonErrorCodes["CannotExecuteActionOnSystemMessage"] = 50021] = "CannotExecuteActionOnSystemMessage";
970
- JsonErrorCodes[JsonErrorCodes["CannotExecuteActionOnThisChannelType"] = 50024] = "CannotExecuteActionOnThisChannelType";
971
- JsonErrorCodes[JsonErrorCodes["InvalidOAuth2AccessToken"] = 50025] = "InvalidOAuth2AccessToken";
972
- JsonErrorCodes[JsonErrorCodes["MissingRequiredOAuth2Scope"] = 50026] = "MissingRequiredOAuth2Scope";
973
- JsonErrorCodes[JsonErrorCodes["InvalidWebhookToken"] = 50027] = "InvalidWebhookToken";
974
- JsonErrorCodes[JsonErrorCodes["InvalidRole"] = 50028] = "InvalidRole";
975
- JsonErrorCodes[JsonErrorCodes["InvalidRecipients"] = 50033] = "InvalidRecipients";
976
- JsonErrorCodes[JsonErrorCodes["OneOfTheMessagesProvidedWasTooOldForBulkDelete"] = 50034] = "OneOfTheMessagesProvidedWasTooOldForBulkDelete";
977
- JsonErrorCodes[JsonErrorCodes["InvalidFormBodyOrContentType"] = 50035] = "InvalidFormBodyOrContentType";
978
- JsonErrorCodes[JsonErrorCodes["InviteAcceptedToGuildWithoutTheBotBeingIn"] = 50036] = "InviteAcceptedToGuildWithoutTheBotBeingIn";
979
- JsonErrorCodes[JsonErrorCodes["InvalidActivityAction"] = 50039] = "InvalidActivityAction";
980
- JsonErrorCodes[JsonErrorCodes["InvalidAPIVersion"] = 50041] = "InvalidAPIVersion";
981
- JsonErrorCodes[JsonErrorCodes["FileUploadedExceedsMaximumSize"] = 50045] = "FileUploadedExceedsMaximumSize";
982
- JsonErrorCodes[JsonErrorCodes["InvalidFileUploaded"] = 50046] = "InvalidFileUploaded";
983
- JsonErrorCodes[JsonErrorCodes["CannotSelfRedeemThisGift"] = 50054] = "CannotSelfRedeemThisGift";
984
- JsonErrorCodes[JsonErrorCodes["InvalidGuild"] = 50055] = "InvalidGuild";
985
- JsonErrorCodes[JsonErrorCodes["InvalidSku"] = 50057] = "InvalidSku";
986
- JsonErrorCodes[JsonErrorCodes["InvalidRequestOrigin"] = 50067] = "InvalidRequestOrigin";
987
- JsonErrorCodes[JsonErrorCodes["InvalidMessageType"] = 50068] = "InvalidMessageType";
988
- JsonErrorCodes[JsonErrorCodes["PaymentSourceRequiredToRedeemGift"] = 50070] = "PaymentSourceRequiredToRedeemGift";
989
- JsonErrorCodes[JsonErrorCodes["CannotModifyASystemWebhook"] = 50073] = "CannotModifyASystemWebhook";
990
- JsonErrorCodes[JsonErrorCodes["CannotDeleteChannelRequiredForCommunityGuilds"] = 50074] = "CannotDeleteChannelRequiredForCommunityGuilds";
991
- JsonErrorCodes[JsonErrorCodes["CannotEditStickersWithinMessage"] = 50080] = "CannotEditStickersWithinMessage";
992
- JsonErrorCodes[JsonErrorCodes["InvalidStickerSent"] = 50081] = "InvalidStickerSent";
993
- JsonErrorCodes[JsonErrorCodes["InvalidActionOnArchivedThread"] = 50083] = "InvalidActionOnArchivedThread";
994
- JsonErrorCodes[JsonErrorCodes["InvalidThreadNotificationSettings"] = 50084] = "InvalidThreadNotificationSettings";
995
- JsonErrorCodes[JsonErrorCodes["ParameterEarlierThanCreation"] = 50085] = "ParameterEarlierThanCreation";
996
- JsonErrorCodes[JsonErrorCodes["CommunityServerChannelsMustBeTextChannels"] = 50086] = "CommunityServerChannelsMustBeTextChannels";
997
- JsonErrorCodes[JsonErrorCodes["TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor"] = 50091] = "TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor";
998
- JsonErrorCodes[JsonErrorCodes["ServerNotAvailableInYourLocation"] = 50095] = "ServerNotAvailableInYourLocation";
999
- JsonErrorCodes[JsonErrorCodes["ServerNeedsMonetizationEnabledToPerformThisAction"] = 50097] = "ServerNeedsMonetizationEnabledToPerformThisAction";
1000
- JsonErrorCodes[JsonErrorCodes["ServerNeedsMoreBoostsToPerformThisAction"] = 50101] = "ServerNeedsMoreBoostsToPerformThisAction";
1001
- JsonErrorCodes[JsonErrorCodes["RequestBodyContainsInvalidJson"] = 50109] = "RequestBodyContainsInvalidJson";
1002
- JsonErrorCodes[JsonErrorCodes["OwnerCannotBePendingMember"] = 50131] = "OwnerCannotBePendingMember";
1003
- JsonErrorCodes[JsonErrorCodes["OwnershipCannotBeMovedToABotUser"] = 50132] = "OwnershipCannotBeMovedToABotUser";
1004
- JsonErrorCodes[JsonErrorCodes["FailedToResizeAssetBelowTheMinimumSize"] = 50138] = "FailedToResizeAssetBelowTheMinimumSize";
1005
- JsonErrorCodes[JsonErrorCodes["CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji"] = 50144] = "CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji";
1006
- JsonErrorCodes[JsonErrorCodes["CannotConvertBetweenPremiumEmojiAndNormalEmoji"] = 50145] = "CannotConvertBetweenPremiumEmojiAndNormalEmoji";
1007
- JsonErrorCodes[JsonErrorCodes["UploadedFileNotFound"] = 50146] = "UploadedFileNotFound";
1008
- JsonErrorCodes[JsonErrorCodes["VoiceMessagesDoNotSupportAdditionalContent"] = 50159] = "VoiceMessagesDoNotSupportAdditionalContent";
1009
- JsonErrorCodes[JsonErrorCodes["VoiceMessagesMustHaveASingleAudioAttachment"] = 50160] = "VoiceMessagesMustHaveASingleAudioAttachment";
1010
- JsonErrorCodes[JsonErrorCodes["VoiceMessagesMustHaveSupportingMetadata"] = 50161] = "VoiceMessagesMustHaveSupportingMetadata";
1011
- JsonErrorCodes[JsonErrorCodes["VoiceMessagesCannotBeEdited"] = 50162] = "VoiceMessagesCannotBeEdited";
1012
- JsonErrorCodes[JsonErrorCodes["CannotDeleteGuildSubscriptionIntegration"] = 50163] = "CannotDeleteGuildSubscriptionIntegration";
1013
- JsonErrorCodes[JsonErrorCodes["YouCannotSendVoiceMessagesInThisChannel"] = 50173] = "YouCannotSendVoiceMessagesInThisChannel";
1014
- JsonErrorCodes[JsonErrorCodes["TheUserAccountMustFirstBeVerified"] = 50178] = "TheUserAccountMustFirstBeVerified";
1015
- JsonErrorCodes[JsonErrorCodes["YouDoNotHavePermissionToSendThisSticker"] = 50600] = "YouDoNotHavePermissionToSendThisSticker";
1016
- JsonErrorCodes[JsonErrorCodes["TwoFactorAuthenticationIsRequired"] = 60003] = "TwoFactorAuthenticationIsRequired";
1017
- JsonErrorCodes[JsonErrorCodes["NoUsersWithDiscordTagExist"] = 80004] = "NoUsersWithDiscordTagExist";
1018
- JsonErrorCodes[JsonErrorCodes["ReactionWasBlocked"] = 90001] = "ReactionWasBlocked";
1019
- JsonErrorCodes[JsonErrorCodes["ApplicationNotYetAvailable"] = 110001] = "ApplicationNotYetAvailable";
1020
- JsonErrorCodes[JsonErrorCodes["APIResourceOverloaded"] = 130000] = "APIResourceOverloaded";
1021
- JsonErrorCodes[JsonErrorCodes["TheStageIsAlreadyOpen"] = 150006] = "TheStageIsAlreadyOpen";
1022
- JsonErrorCodes[JsonErrorCodes["CannotReplyWithoutPermissionToReadMessageHistory"] = 160002] = "CannotReplyWithoutPermissionToReadMessageHistory";
1023
- JsonErrorCodes[JsonErrorCodes["ThreadAlreadyCreatedForMessage"] = 160004] = "ThreadAlreadyCreatedForMessage";
1024
- JsonErrorCodes[JsonErrorCodes["ThreadLocked"] = 160005] = "ThreadLocked";
1025
- JsonErrorCodes[JsonErrorCodes["MaximumActiveThreads"] = 160006] = "MaximumActiveThreads";
1026
- JsonErrorCodes[JsonErrorCodes["MaximumActiveAnnouncementThreads"] = 160007] = "MaximumActiveAnnouncementThreads";
1027
- JsonErrorCodes[JsonErrorCodes["InvalidJsonForUploadedLottieFile"] = 170001] = "InvalidJsonForUploadedLottieFile";
1028
- JsonErrorCodes[JsonErrorCodes["UploadedLottiesCannotContainRasterizedImages"] = 170002] = "UploadedLottiesCannotContainRasterizedImages";
1029
- JsonErrorCodes[JsonErrorCodes["StickerMaximumFramerateExceeded"] = 170003] = "StickerMaximumFramerateExceeded";
1030
- JsonErrorCodes[JsonErrorCodes["StickerFrameCountExceedsMaximumOf1000Frames"] = 170004] = "StickerFrameCountExceedsMaximumOf1000Frames";
1031
- JsonErrorCodes[JsonErrorCodes["LottieAnimationMaximumDimensionsExceeded"] = 170005] = "LottieAnimationMaximumDimensionsExceeded";
1032
- JsonErrorCodes[JsonErrorCodes["StickerFramerateIsTooSmallOrTooLarge"] = 170006] = "StickerFramerateIsTooSmallOrTooLarge";
1033
- JsonErrorCodes[JsonErrorCodes["StickerAnimationDurationExceedsMaximumOf5Seconds"] = 170007] = "StickerAnimationDurationExceedsMaximumOf5Seconds";
1034
- JsonErrorCodes[JsonErrorCodes["CannotUpdateAFinishedEvent"] = 180000] = "CannotUpdateAFinishedEvent";
1035
- JsonErrorCodes[JsonErrorCodes["FailedToCreateStageNeededForStageEvent"] = 180002] = "FailedToCreateStageNeededForStageEvent";
1036
- JsonErrorCodes[JsonErrorCodes["MessageWasBlockedByAutomaticModeration"] = 200000] = "MessageWasBlockedByAutomaticModeration";
1037
- JsonErrorCodes[JsonErrorCodes["TitleWasBlockedByAutomaticModeration"] = 200001] = "TitleWasBlockedByAutomaticModeration";
1038
- JsonErrorCodes[JsonErrorCodes["WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId"] = 220001] = "WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId";
1039
- JsonErrorCodes[JsonErrorCodes["WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId"] = 220002] = "WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId";
1040
- JsonErrorCodes[JsonErrorCodes["WebhooksCanOnlyCreateThreadsInForumChannels"] = 220003] = "WebhooksCanOnlyCreateThreadsInForumChannels";
1041
- JsonErrorCodes[JsonErrorCodes["WebhookServicesCannotBeUsedInForumChannels"] = 220004] = "WebhookServicesCannotBeUsedInForumChannels";
1042
- JsonErrorCodes[JsonErrorCodes["MessageBlockedByHarmfulLinksFilter"] = 240000] = "MessageBlockedByHarmfulLinksFilter";
1043
- JsonErrorCodes[JsonErrorCodes["CannotEnableOnboardingRequirementsAreNotMet"] = 350000] = "CannotEnableOnboardingRequirementsAreNotMet";
1044
- JsonErrorCodes[JsonErrorCodes["CannotUpdateOnboardingWhileBelowRequirements"] = 350001] = "CannotUpdateOnboardingWhileBelowRequirements";
1045
- })(JsonErrorCodes || (exports.JsonErrorCodes = JsonErrorCodes = {}));
840
+ var JSONErrorCodes;
841
+ (function (JSONErrorCodes) {
842
+ JSONErrorCodes[JSONErrorCodes["GeneralError"] = 0] = "GeneralError";
843
+ JSONErrorCodes[JSONErrorCodes["UnknownAccount"] = 10001] = "UnknownAccount";
844
+ JSONErrorCodes[JSONErrorCodes["UnknownApplication"] = 10002] = "UnknownApplication";
845
+ JSONErrorCodes[JSONErrorCodes["UnknownChannel"] = 10003] = "UnknownChannel";
846
+ JSONErrorCodes[JSONErrorCodes["UnknownGuild"] = 10004] = "UnknownGuild";
847
+ JSONErrorCodes[JSONErrorCodes["UnknownIntegration"] = 10005] = "UnknownIntegration";
848
+ JSONErrorCodes[JSONErrorCodes["UnknownInvite"] = 10006] = "UnknownInvite";
849
+ JSONErrorCodes[JSONErrorCodes["UnknownMember"] = 10007] = "UnknownMember";
850
+ JSONErrorCodes[JSONErrorCodes["UnknownMessage"] = 10008] = "UnknownMessage";
851
+ JSONErrorCodes[JSONErrorCodes["UnknownPermissionOverwrite"] = 10009] = "UnknownPermissionOverwrite";
852
+ JSONErrorCodes[JSONErrorCodes["UnknownProvider"] = 10010] = "UnknownProvider";
853
+ JSONErrorCodes[JSONErrorCodes["UnknownRole"] = 10011] = "UnknownRole";
854
+ JSONErrorCodes[JSONErrorCodes["UnknownToken"] = 10012] = "UnknownToken";
855
+ JSONErrorCodes[JSONErrorCodes["UnknownUser"] = 10013] = "UnknownUser";
856
+ JSONErrorCodes[JSONErrorCodes["UnknownEmoji"] = 10014] = "UnknownEmoji";
857
+ JSONErrorCodes[JSONErrorCodes["UnknownWebhook"] = 10015] = "UnknownWebhook";
858
+ JSONErrorCodes[JSONErrorCodes["UnknownWebhookService"] = 10016] = "UnknownWebhookService";
859
+ JSONErrorCodes[JSONErrorCodes["UnknownSession"] = 10020] = "UnknownSession";
860
+ JSONErrorCodes[JSONErrorCodes["UnknownBan"] = 10026] = "UnknownBan";
861
+ JSONErrorCodes[JSONErrorCodes["UnknownSku"] = 10027] = "UnknownSku";
862
+ JSONErrorCodes[JSONErrorCodes["UnknownStoreListing"] = 10028] = "UnknownStoreListing";
863
+ JSONErrorCodes[JSONErrorCodes["UnknownEntitlement"] = 10029] = "UnknownEntitlement";
864
+ JSONErrorCodes[JSONErrorCodes["UnknownBuild"] = 10030] = "UnknownBuild";
865
+ JSONErrorCodes[JSONErrorCodes["UnknownLobby"] = 10031] = "UnknownLobby";
866
+ JSONErrorCodes[JSONErrorCodes["UnknownBranch"] = 10032] = "UnknownBranch";
867
+ JSONErrorCodes[JSONErrorCodes["UnknownStoreDirectoryLayout"] = 10033] = "UnknownStoreDirectoryLayout";
868
+ JSONErrorCodes[JSONErrorCodes["UnknownRedistributable"] = 10036] = "UnknownRedistributable";
869
+ JSONErrorCodes[JSONErrorCodes["UnknownGiftCode"] = 10038] = "UnknownGiftCode";
870
+ JSONErrorCodes[JSONErrorCodes["UnknownStream"] = 10049] = "UnknownStream";
871
+ JSONErrorCodes[JSONErrorCodes["UnknownPremiumServerSubscribeCooldown"] = 10050] = "UnknownPremiumServerSubscribeCooldown";
872
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildTemplate"] = 10057] = "UnknownGuildTemplate";
873
+ JSONErrorCodes[JSONErrorCodes["UnknownDiscoverableServerCategory"] = 10059] = "UnknownDiscoverableServerCategory";
874
+ JSONErrorCodes[JSONErrorCodes["UnknownSticker"] = 10060] = "UnknownSticker";
875
+ JSONErrorCodes[JSONErrorCodes["UnknownInteraction"] = 10062] = "UnknownInteraction";
876
+ JSONErrorCodes[JSONErrorCodes["UnknownApplicationCommand"] = 10063] = "UnknownApplicationCommand";
877
+ JSONErrorCodes[JSONErrorCodes["UnknownVoiceState"] = 10065] = "UnknownVoiceState";
878
+ JSONErrorCodes[JSONErrorCodes["UnknownApplicationCommandPermissions"] = 10066] = "UnknownApplicationCommandPermissions";
879
+ JSONErrorCodes[JSONErrorCodes["UnknownStageInstance"] = 10067] = "UnknownStageInstance";
880
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildMemberVerificationForm"] = 10068] = "UnknownGuildMemberVerificationForm";
881
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildWelcomeScreen"] = 10069] = "UnknownGuildWelcomeScreen";
882
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildScheduledEvent"] = 10070] = "UnknownGuildScheduledEvent";
883
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildScheduledEventUser"] = 10071] = "UnknownGuildScheduledEventUser";
884
+ JSONErrorCodes[JSONErrorCodes["UnknownTag"] = 10087] = "UnknownTag";
885
+ JSONErrorCodes[JSONErrorCodes["BotsCannotUseThisEndpoint"] = 20001] = "BotsCannotUseThisEndpoint";
886
+ JSONErrorCodes[JSONErrorCodes["OnlyBotsCanUseThisEndpoint"] = 20002] = "OnlyBotsCanUseThisEndpoint";
887
+ JSONErrorCodes[JSONErrorCodes["ExplicitContentCannotBeSentToTheDesiredRecipient"] = 20009] = "ExplicitContentCannotBeSentToTheDesiredRecipient";
888
+ JSONErrorCodes[JSONErrorCodes["NotAuthorizedToPerformThisActionOnThisApplication"] = 20012] = "NotAuthorizedToPerformThisActionOnThisApplication";
889
+ JSONErrorCodes[JSONErrorCodes["ActionCannotBePerformedDueToSlowmodeRateLimit"] = 20016] = "ActionCannotBePerformedDueToSlowmodeRateLimit";
890
+ JSONErrorCodes[JSONErrorCodes["TheMazeIsntMeantForYou"] = 20017] = "TheMazeIsntMeantForYou";
891
+ JSONErrorCodes[JSONErrorCodes["OnlyTheOwnerOfThisAccountCanPerformThisAction"] = 20018] = "OnlyTheOwnerOfThisAccountCanPerformThisAction";
892
+ JSONErrorCodes[JSONErrorCodes["AnnouncementEditLimitExceeded"] = 20022] = "AnnouncementEditLimitExceeded";
893
+ JSONErrorCodes[JSONErrorCodes["UnderMinimumAge"] = 20024] = "UnderMinimumAge";
894
+ JSONErrorCodes[JSONErrorCodes["ChannelSendRateLimit"] = 20028] = "ChannelSendRateLimit";
895
+ JSONErrorCodes[JSONErrorCodes["ServerSendRateLimit"] = 20029] = "ServerSendRateLimit";
896
+ JSONErrorCodes[JSONErrorCodes["StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords"] = 20031] = "StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords";
897
+ JSONErrorCodes[JSONErrorCodes["GuildPremiumSubscriptionLevelTooLow"] = 20035] = "GuildPremiumSubscriptionLevelTooLow";
898
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGuildsReached"] = 30001] = "MaximumNumberOfGuildsReached";
899
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfFriendsReached"] = 30002] = "MaximumNumberOfFriendsReached";
900
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfPinsReachedForTheChannel"] = 30003] = "MaximumNumberOfPinsReachedForTheChannel";
901
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfRecipientsReached"] = 30004] = "MaximumNumberOfRecipientsReached";
902
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGuildRolesReached"] = 30005] = "MaximumNumberOfGuildRolesReached";
903
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfWebhooksReached"] = 30007] = "MaximumNumberOfWebhooksReached";
904
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfEmojisReached"] = 30008] = "MaximumNumberOfEmojisReached";
905
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfReactionsReached"] = 30010] = "MaximumNumberOfReactionsReached";
906
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGroupDMsReached"] = 30011] = "MaximumNumberOfGroupDMsReached";
907
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGuildChannelsReached"] = 30013] = "MaximumNumberOfGuildChannelsReached";
908
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfAttachmentsInAMessageReached"] = 30015] = "MaximumNumberOfAttachmentsInAMessageReached";
909
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfInvitesReached"] = 30016] = "MaximumNumberOfInvitesReached";
910
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfAnimatedEmojisReached"] = 30018] = "MaximumNumberOfAnimatedEmojisReached";
911
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfServerMembersReached"] = 30019] = "MaximumNumberOfServerMembersReached";
912
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfServerCategoriesReached"] = 30030] = "MaximumNumberOfServerCategoriesReached";
913
+ JSONErrorCodes[JSONErrorCodes["GuildAlreadyHasTemplate"] = 30031] = "GuildAlreadyHasTemplate";
914
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfApplicationCommandsReached"] = 30032] = "MaximumNumberOfApplicationCommandsReached";
915
+ JSONErrorCodes[JSONErrorCodes["MaximumThreadParticipantsReached"] = 30033] = "MaximumThreadParticipantsReached";
916
+ JSONErrorCodes[JSONErrorCodes["MaximumDailyApplicationCommandCreatesReached"] = 30034] = "MaximumDailyApplicationCommandCreatesReached";
917
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfNonGuildMemberBansHasBeenExceeded"] = 30035] = "MaximumNumberOfNonGuildMemberBansHasBeenExceeded";
918
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfBanFetchesHasBeenReached"] = 30037] = "MaximumNumberOfBanFetchesHasBeenReached";
919
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfUncompletedGuildScheduledEventsReached"] = 30038] = "MaximumNumberOfUncompletedGuildScheduledEventsReached";
920
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfStickersReached"] = 30039] = "MaximumNumberOfStickersReached";
921
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfPruneRequestsHasBeenReached"] = 30040] = "MaximumNumberOfPruneRequestsHasBeenReached";
922
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached"] = 30042] = "MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached";
923
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfEditsToMessagesOlderThanOneHourReached"] = 30046] = "MaximumNumberOfEditsToMessagesOlderThanOneHourReached";
924
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfPinnedThreadsInForumHasBeenReached"] = 30047] = "MaximumNumberOfPinnedThreadsInForumHasBeenReached";
925
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfTagsInForumHasBeenReached"] = 30048] = "MaximumNumberOfTagsInForumHasBeenReached";
926
+ JSONErrorCodes[JSONErrorCodes["BitrateIsTooHighForChannelOfThisType"] = 30052] = "BitrateIsTooHighForChannelOfThisType";
927
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfPremiumEmojisReached"] = 30056] = "MaximumNumberOfPremiumEmojisReached";
928
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfWebhooksPerGuildReached"] = 30058] = "MaximumNumberOfWebhooksPerGuildReached";
929
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfChannelPermissionOverwritesReached"] = 30060] = "MaximumNumberOfChannelPermissionOverwritesReached";
930
+ JSONErrorCodes[JSONErrorCodes["TheChannelsForThisGuildAreTooLarge"] = 30061] = "TheChannelsForThisGuildAreTooLarge";
931
+ JSONErrorCodes[JSONErrorCodes["Unauthorized"] = 40001] = "Unauthorized";
932
+ JSONErrorCodes[JSONErrorCodes["VerifyYourAccount"] = 40002] = "VerifyYourAccount";
933
+ JSONErrorCodes[JSONErrorCodes["OpeningDirectMessagesTooFast"] = 40003] = "OpeningDirectMessagesTooFast";
934
+ JSONErrorCodes[JSONErrorCodes["SendMessagesHasBeenTemporarilyDisabled"] = 40004] = "SendMessagesHasBeenTemporarilyDisabled";
935
+ JSONErrorCodes[JSONErrorCodes["RequestEntityTooLarge"] = 40005] = "RequestEntityTooLarge";
936
+ JSONErrorCodes[JSONErrorCodes["FeatureTemporarilyDisabledServerSide"] = 40006] = "FeatureTemporarilyDisabledServerSide";
937
+ JSONErrorCodes[JSONErrorCodes["UserBannedFromThisGuild"] = 40007] = "UserBannedFromThisGuild";
938
+ JSONErrorCodes[JSONErrorCodes["ConnectionHasBeenRevoked"] = 40012] = "ConnectionHasBeenRevoked";
939
+ JSONErrorCodes[JSONErrorCodes["TargetUserIsNotConnectedToVoice"] = 40032] = "TargetUserIsNotConnectedToVoice";
940
+ JSONErrorCodes[JSONErrorCodes["ThisMessageWasAlreadyCrossposted"] = 40033] = "ThisMessageWasAlreadyCrossposted";
941
+ JSONErrorCodes[JSONErrorCodes["ApplicationCommandWithThatNameAlreadyExists"] = 40041] = "ApplicationCommandWithThatNameAlreadyExists";
942
+ JSONErrorCodes[JSONErrorCodes["ApplicationInteractionFailedToSend"] = 40043] = "ApplicationInteractionFailedToSend";
943
+ JSONErrorCodes[JSONErrorCodes["CannotSendAMessageInAForumChannel"] = 40058] = "CannotSendAMessageInAForumChannel";
944
+ JSONErrorCodes[JSONErrorCodes["InteractionHasAlreadyBeenAcknowledged"] = 40060] = "InteractionHasAlreadyBeenAcknowledged";
945
+ JSONErrorCodes[JSONErrorCodes["TagNamesMustBeUnique"] = 40061] = "TagNamesMustBeUnique";
946
+ JSONErrorCodes[JSONErrorCodes["ServiceResourceIsBeingRateLimited"] = 40062] = "ServiceResourceIsBeingRateLimited";
947
+ JSONErrorCodes[JSONErrorCodes["ThereAreNoTagsAvailableThatCanBeSetByNonModerators"] = 40066] = "ThereAreNoTagsAvailableThatCanBeSetByNonModerators";
948
+ JSONErrorCodes[JSONErrorCodes["TagRequiredToCreateAForumPostInThisChannel"] = 40067] = "TagRequiredToCreateAForumPostInThisChannel";
949
+ JSONErrorCodes[JSONErrorCodes["AnEntitlementHasAlreadyBeenGrantedForThisResource"] = 40074] = "AnEntitlementHasAlreadyBeenGrantedForThisResource";
950
+ JSONErrorCodes[JSONErrorCodes["MissingAccess"] = 50001] = "MissingAccess";
951
+ JSONErrorCodes[JSONErrorCodes["InvalidAccountType"] = 50002] = "InvalidAccountType";
952
+ JSONErrorCodes[JSONErrorCodes["CannotExecuteActionOnDMChannel"] = 50003] = "CannotExecuteActionOnDMChannel";
953
+ JSONErrorCodes[JSONErrorCodes["GuildWidgetDisabled"] = 50004] = "GuildWidgetDisabled";
954
+ JSONErrorCodes[JSONErrorCodes["CannotEditMessageAuthoredByAnotherUser"] = 50005] = "CannotEditMessageAuthoredByAnotherUser";
955
+ JSONErrorCodes[JSONErrorCodes["CannotSendAnEmptyMessage"] = 50006] = "CannotSendAnEmptyMessage";
956
+ JSONErrorCodes[JSONErrorCodes["CannotSendMessagesToThisUser"] = 50007] = "CannotSendMessagesToThisUser";
957
+ JSONErrorCodes[JSONErrorCodes["CannotSendMessagesInNonTextChannel"] = 50008] = "CannotSendMessagesInNonTextChannel";
958
+ JSONErrorCodes[JSONErrorCodes["ChannelVerificationLevelTooHighForYouToGainAccess"] = 50009] = "ChannelVerificationLevelTooHighForYouToGainAccess";
959
+ JSONErrorCodes[JSONErrorCodes["OAuth2ApplicationDoesNotHaveBot"] = 50010] = "OAuth2ApplicationDoesNotHaveBot";
960
+ JSONErrorCodes[JSONErrorCodes["OAuth2ApplicationLimitReached"] = 50011] = "OAuth2ApplicationLimitReached";
961
+ JSONErrorCodes[JSONErrorCodes["InvalidOAuth2State"] = 50012] = "InvalidOAuth2State";
962
+ JSONErrorCodes[JSONErrorCodes["MissingPermissions"] = 50013] = "MissingPermissions";
963
+ JSONErrorCodes[JSONErrorCodes["InvalidToken"] = 50014] = "InvalidToken";
964
+ JSONErrorCodes[JSONErrorCodes["NoteWasTooLong"] = 50015] = "NoteWasTooLong";
965
+ JSONErrorCodes[JSONErrorCodes["ProvidedTooFewOrTooManyMessagesToDelete"] = 50016] = "ProvidedTooFewOrTooManyMessagesToDelete";
966
+ JSONErrorCodes[JSONErrorCodes["InvalidMFALevel"] = 50017] = "InvalidMFALevel";
967
+ JSONErrorCodes[JSONErrorCodes["MessageCanOnlyBePinnedInTheChannelItWasSentIn"] = 50019] = "MessageCanOnlyBePinnedInTheChannelItWasSentIn";
968
+ JSONErrorCodes[JSONErrorCodes["InviteCodeInvalidOrTaken"] = 50020] = "InviteCodeInvalidOrTaken";
969
+ JSONErrorCodes[JSONErrorCodes["CannotExecuteActionOnSystemMessage"] = 50021] = "CannotExecuteActionOnSystemMessage";
970
+ JSONErrorCodes[JSONErrorCodes["CannotExecuteActionOnThisChannelType"] = 50024] = "CannotExecuteActionOnThisChannelType";
971
+ JSONErrorCodes[JSONErrorCodes["InvalidOAuth2AccessToken"] = 50025] = "InvalidOAuth2AccessToken";
972
+ JSONErrorCodes[JSONErrorCodes["MissingRequiredOAuth2Scope"] = 50026] = "MissingRequiredOAuth2Scope";
973
+ JSONErrorCodes[JSONErrorCodes["InvalidWebhookToken"] = 50027] = "InvalidWebhookToken";
974
+ JSONErrorCodes[JSONErrorCodes["InvalidRole"] = 50028] = "InvalidRole";
975
+ JSONErrorCodes[JSONErrorCodes["InvalidRecipients"] = 50033] = "InvalidRecipients";
976
+ JSONErrorCodes[JSONErrorCodes["OneOfTheMessagesProvidedWasTooOldForBulkDelete"] = 50034] = "OneOfTheMessagesProvidedWasTooOldForBulkDelete";
977
+ JSONErrorCodes[JSONErrorCodes["InvalidFormBodyOrContentType"] = 50035] = "InvalidFormBodyOrContentType";
978
+ JSONErrorCodes[JSONErrorCodes["InviteAcceptedToGuildWithoutTheBotBeingIn"] = 50036] = "InviteAcceptedToGuildWithoutTheBotBeingIn";
979
+ JSONErrorCodes[JSONErrorCodes["InvalidActivityAction"] = 50039] = "InvalidActivityAction";
980
+ JSONErrorCodes[JSONErrorCodes["InvalidAPIVersion"] = 50041] = "InvalidAPIVersion";
981
+ JSONErrorCodes[JSONErrorCodes["FileUploadedExceedsMaximumSize"] = 50045] = "FileUploadedExceedsMaximumSize";
982
+ JSONErrorCodes[JSONErrorCodes["InvalidFileUploaded"] = 50046] = "InvalidFileUploaded";
983
+ JSONErrorCodes[JSONErrorCodes["CannotSelfRedeemThisGift"] = 50054] = "CannotSelfRedeemThisGift";
984
+ JSONErrorCodes[JSONErrorCodes["InvalidGuild"] = 50055] = "InvalidGuild";
985
+ JSONErrorCodes[JSONErrorCodes["InvalidSku"] = 50057] = "InvalidSku";
986
+ JSONErrorCodes[JSONErrorCodes["InvalidRequestOrigin"] = 50067] = "InvalidRequestOrigin";
987
+ JSONErrorCodes[JSONErrorCodes["InvalidMessageType"] = 50068] = "InvalidMessageType";
988
+ JSONErrorCodes[JSONErrorCodes["PaymentSourceRequiredToRedeemGift"] = 50070] = "PaymentSourceRequiredToRedeemGift";
989
+ JSONErrorCodes[JSONErrorCodes["CannotModifyASystemWebhook"] = 50073] = "CannotModifyASystemWebhook";
990
+ JSONErrorCodes[JSONErrorCodes["CannotDeleteChannelRequiredForCommunityGuilds"] = 50074] = "CannotDeleteChannelRequiredForCommunityGuilds";
991
+ JSONErrorCodes[JSONErrorCodes["CannotEditStickersWithinMessage"] = 50080] = "CannotEditStickersWithinMessage";
992
+ JSONErrorCodes[JSONErrorCodes["InvalidStickerSent"] = 50081] = "InvalidStickerSent";
993
+ JSONErrorCodes[JSONErrorCodes["InvalidActionOnArchivedThread"] = 50083] = "InvalidActionOnArchivedThread";
994
+ JSONErrorCodes[JSONErrorCodes["InvalidThreadNotificationSettings"] = 50084] = "InvalidThreadNotificationSettings";
995
+ JSONErrorCodes[JSONErrorCodes["ParameterEarlierThanCreation"] = 50085] = "ParameterEarlierThanCreation";
996
+ JSONErrorCodes[JSONErrorCodes["CommunityServerChannelsMustBeTextChannels"] = 50086] = "CommunityServerChannelsMustBeTextChannels";
997
+ JSONErrorCodes[JSONErrorCodes["TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor"] = 50091] = "TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor";
998
+ JSONErrorCodes[JSONErrorCodes["ServerNotAvailableInYourLocation"] = 50095] = "ServerNotAvailableInYourLocation";
999
+ JSONErrorCodes[JSONErrorCodes["ServerNeedsMonetizationEnabledToPerformThisAction"] = 50097] = "ServerNeedsMonetizationEnabledToPerformThisAction";
1000
+ JSONErrorCodes[JSONErrorCodes["ServerNeedsMoreBoostsToPerformThisAction"] = 50101] = "ServerNeedsMoreBoostsToPerformThisAction";
1001
+ JSONErrorCodes[JSONErrorCodes["RequestBodyContainsInvalidJSON"] = 50109] = "RequestBodyContainsInvalidJSON";
1002
+ JSONErrorCodes[JSONErrorCodes["OwnerCannotBePendingMember"] = 50131] = "OwnerCannotBePendingMember";
1003
+ JSONErrorCodes[JSONErrorCodes["OwnershipCannotBeMovedToABotUser"] = 50132] = "OwnershipCannotBeMovedToABotUser";
1004
+ JSONErrorCodes[JSONErrorCodes["FailedToResizeAssetBelowTheMinimumSize"] = 50138] = "FailedToResizeAssetBelowTheMinimumSize";
1005
+ JSONErrorCodes[JSONErrorCodes["CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji"] = 50144] = "CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji";
1006
+ JSONErrorCodes[JSONErrorCodes["CannotConvertBetweenPremiumEmojiAndNormalEmoji"] = 50145] = "CannotConvertBetweenPremiumEmojiAndNormalEmoji";
1007
+ JSONErrorCodes[JSONErrorCodes["UploadedFileNotFound"] = 50146] = "UploadedFileNotFound";
1008
+ JSONErrorCodes[JSONErrorCodes["VoiceMessagesDoNotSupportAdditionalContent"] = 50159] = "VoiceMessagesDoNotSupportAdditionalContent";
1009
+ JSONErrorCodes[JSONErrorCodes["VoiceMessagesMustHaveASingleAudioAttachment"] = 50160] = "VoiceMessagesMustHaveASingleAudioAttachment";
1010
+ JSONErrorCodes[JSONErrorCodes["VoiceMessagesMustHaveSupportingMetadata"] = 50161] = "VoiceMessagesMustHaveSupportingMetadata";
1011
+ JSONErrorCodes[JSONErrorCodes["VoiceMessagesCannotBeEdited"] = 50162] = "VoiceMessagesCannotBeEdited";
1012
+ JSONErrorCodes[JSONErrorCodes["CannotDeleteGuildSubscriptionIntegration"] = 50163] = "CannotDeleteGuildSubscriptionIntegration";
1013
+ JSONErrorCodes[JSONErrorCodes["YouCannotSendVoiceMessagesInThisChannel"] = 50173] = "YouCannotSendVoiceMessagesInThisChannel";
1014
+ JSONErrorCodes[JSONErrorCodes["TheUserAccountMustFirstBeVerified"] = 50178] = "TheUserAccountMustFirstBeVerified";
1015
+ JSONErrorCodes[JSONErrorCodes["YouDoNotHavePermissionToSendThisSticker"] = 50600] = "YouDoNotHavePermissionToSendThisSticker";
1016
+ JSONErrorCodes[JSONErrorCodes["TwoFactorAuthenticationIsRequired"] = 60003] = "TwoFactorAuthenticationIsRequired";
1017
+ JSONErrorCodes[JSONErrorCodes["NoUsersWithDiscordTagExist"] = 80004] = "NoUsersWithDiscordTagExist";
1018
+ JSONErrorCodes[JSONErrorCodes["ReactionWasBlocked"] = 90001] = "ReactionWasBlocked";
1019
+ JSONErrorCodes[JSONErrorCodes["ApplicationNotYetAvailable"] = 110001] = "ApplicationNotYetAvailable";
1020
+ JSONErrorCodes[JSONErrorCodes["APIResourceOverloaded"] = 130000] = "APIResourceOverloaded";
1021
+ JSONErrorCodes[JSONErrorCodes["TheStageIsAlreadyOpen"] = 150006] = "TheStageIsAlreadyOpen";
1022
+ JSONErrorCodes[JSONErrorCodes["CannotReplyWithoutPermissionToReadMessageHistory"] = 160002] = "CannotReplyWithoutPermissionToReadMessageHistory";
1023
+ JSONErrorCodes[JSONErrorCodes["ThreadAlreadyCreatedForMessage"] = 160004] = "ThreadAlreadyCreatedForMessage";
1024
+ JSONErrorCodes[JSONErrorCodes["ThreadLocked"] = 160005] = "ThreadLocked";
1025
+ JSONErrorCodes[JSONErrorCodes["MaximumActiveThreads"] = 160006] = "MaximumActiveThreads";
1026
+ JSONErrorCodes[JSONErrorCodes["MaximumActiveAnnouncementThreads"] = 160007] = "MaximumActiveAnnouncementThreads";
1027
+ JSONErrorCodes[JSONErrorCodes["InvalidJSONForUploadedLottieFile"] = 170001] = "InvalidJSONForUploadedLottieFile";
1028
+ JSONErrorCodes[JSONErrorCodes["UploadedLottiesCannotContainRasterizedImages"] = 170002] = "UploadedLottiesCannotContainRasterizedImages";
1029
+ JSONErrorCodes[JSONErrorCodes["StickerMaximumFramerateExceeded"] = 170003] = "StickerMaximumFramerateExceeded";
1030
+ JSONErrorCodes[JSONErrorCodes["StickerFrameCountExceedsMaximumOf1000Frames"] = 170004] = "StickerFrameCountExceedsMaximumOf1000Frames";
1031
+ JSONErrorCodes[JSONErrorCodes["LottieAnimationMaximumDimensionsExceeded"] = 170005] = "LottieAnimationMaximumDimensionsExceeded";
1032
+ JSONErrorCodes[JSONErrorCodes["StickerFramerateIsTooSmallOrTooLarge"] = 170006] = "StickerFramerateIsTooSmallOrTooLarge";
1033
+ JSONErrorCodes[JSONErrorCodes["StickerAnimationDurationExceedsMaximumOf5Seconds"] = 170007] = "StickerAnimationDurationExceedsMaximumOf5Seconds";
1034
+ JSONErrorCodes[JSONErrorCodes["CannotUpdateAFinishedEvent"] = 180000] = "CannotUpdateAFinishedEvent";
1035
+ JSONErrorCodes[JSONErrorCodes["FailedToCreateStageNeededForStageEvent"] = 180002] = "FailedToCreateStageNeededForStageEvent";
1036
+ JSONErrorCodes[JSONErrorCodes["MessageWasBlockedByAutomaticModeration"] = 200000] = "MessageWasBlockedByAutomaticModeration";
1037
+ JSONErrorCodes[JSONErrorCodes["TitleWasBlockedByAutomaticModeration"] = 200001] = "TitleWasBlockedByAutomaticModeration";
1038
+ JSONErrorCodes[JSONErrorCodes["WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId"] = 220001] = "WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId";
1039
+ JSONErrorCodes[JSONErrorCodes["WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId"] = 220002] = "WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId";
1040
+ JSONErrorCodes[JSONErrorCodes["WebhooksCanOnlyCreateThreadsInForumChannels"] = 220003] = "WebhooksCanOnlyCreateThreadsInForumChannels";
1041
+ JSONErrorCodes[JSONErrorCodes["WebhookServicesCannotBeUsedInForumChannels"] = 220004] = "WebhookServicesCannotBeUsedInForumChannels";
1042
+ JSONErrorCodes[JSONErrorCodes["MessageBlockedByHarmfulLinksFilter"] = 240000] = "MessageBlockedByHarmfulLinksFilter";
1043
+ JSONErrorCodes[JSONErrorCodes["CannotEnableOnboardingRequirementsAreNotMet"] = 350000] = "CannotEnableOnboardingRequirementsAreNotMet";
1044
+ JSONErrorCodes[JSONErrorCodes["CannotUpdateOnboardingWhileBelowRequirements"] = 350001] = "CannotUpdateOnboardingWhileBelowRequirements";
1045
+ })(JSONErrorCodes || (exports.JSONErrorCodes = JSONErrorCodes = {}));
1046
1046
  /** https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc-rpc-error-codes */
1047
1047
  var RPCErrorCodes;
1048
1048
  (function (RPCErrorCodes) {
@@ -37,7 +37,7 @@ export declare const guildVoiceState: (guildId: string, userId?: string | "@me")
37
37
  export declare const guildWebhooks: (guildId: string) => `guilds/${string}/webhooks`;
38
38
  export declare const guildWelcomeScreen: (guildId: string) => `guilds/${string}/welcome-screen`;
39
39
  export declare const guildWidgetImage: (guildId: string) => `guilds/${string}/widget.png`;
40
- export declare const guildWidgetJson: (guildId: string) => `guilds/${string}/widget.json`;
40
+ export declare const guildWidgetJSON: (guildId: string) => `guilds/${string}/widget.json`;
41
41
  export declare const guildWidgetSettings: (guildId: string) => `guilds/${string}/widget`;
42
42
  export declare const template: (code: string) => `guilds/templates/${string}`;
43
43
  export declare const channel: (channelId: string) => `channels/${string}`;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.channelMessageReaction = exports.channelMessageCrosspost = exports.channelMessageAllReactions = exports.channelMessage = exports.channelInvites = exports.channelFollowers = exports.channelBulkDelete = exports.channel = exports.template = exports.guildWidgetSettings = exports.guildWidgetJson = exports.guildWidgetImage = exports.guildWelcomeScreen = exports.guildWebhooks = exports.guildVoiceState = exports.guildVoiceRegions = exports.guildVanityUrl = exports.guildTemplates = exports.guildTemplate = exports.guildStickers = exports.guildSticker = exports.guildScheduledEventUsers = exports.guildScheduledEvents = exports.guildScheduledEvent = exports.guildRoles = exports.guildRole = exports.guildPrune = exports.guildPreview = exports.guildOnboarding = exports.guildMemberVerification = exports.guildMembersSearch = exports.guildMembers = exports.guildMemberRole = exports.guildMember = exports.guildMFA = exports.guildInvites = exports.guildIntegrations = exports.guildIntegration = exports.guildEmojis = exports.guildEmoji = exports.guildCurrentMemberNickname = exports.guildChannels = exports.guildBans = exports.guildBan = exports.guildAutoModerationRules = exports.guildAutoModerationRule = exports.guildAuditLog = exports.guildActiveThreads = exports.guilds = exports.guild = void 0;
3
+ exports.channelMessageReaction = exports.channelMessageCrosspost = exports.channelMessageAllReactions = exports.channelMessage = exports.channelInvites = exports.channelFollowers = exports.channelBulkDelete = exports.channel = exports.template = exports.guildWidgetSettings = exports.guildWidgetJSON = exports.guildWidgetImage = exports.guildWelcomeScreen = exports.guildWebhooks = exports.guildVoiceState = exports.guildVoiceRegions = exports.guildVanityUrl = exports.guildTemplates = exports.guildTemplate = exports.guildStickers = exports.guildSticker = exports.guildScheduledEventUsers = exports.guildScheduledEvents = exports.guildScheduledEvent = exports.guildRoles = exports.guildRole = exports.guildPrune = exports.guildPreview = exports.guildOnboarding = exports.guildMemberVerification = exports.guildMembersSearch = exports.guildMembers = exports.guildMemberRole = exports.guildMember = exports.guildMFA = exports.guildInvites = exports.guildIntegrations = exports.guildIntegration = exports.guildEmojis = exports.guildEmoji = exports.guildCurrentMemberNickname = exports.guildChannels = exports.guildBans = exports.guildBan = exports.guildAutoModerationRules = exports.guildAutoModerationRule = exports.guildAuditLog = exports.guildActiveThreads = exports.guilds = exports.guild = void 0;
4
4
  exports.voiceRegions = exports.stickerPacks = exports.sticker = exports.stageInstances = exports.stageInstance = exports.invite = exports.interactionCallback = exports.oauth2TokenRevocation = exports.oauth2TokenExchange = exports.oauth2CurrentAuthorization = exports.oauth2CurrentApplication = exports.oauth2Authorization = exports.gatewayBot = exports.gateway = exports.webhookPlatform = exports.webhookMessage = exports.webhook = exports.guildApplicationCommandsPermissions = exports.applicationSkus = exports.applicationRoleConnectionMetadata = exports.applicationGuildCommands = exports.applicationGuildCommand = exports.applicationEntitlements = exports.applicationEntitlement = exports.applicationCurrentUser = exports.applicationCommandPermissions = exports.applicationCommands = exports.applicationCommand = exports.userGuilds = exports.userGuild = exports.userConnections = exports.userChannels = exports.userApplicationRoleConnection = exports.user = exports.threadMembers = exports.threads = exports.channelWebhooks = exports.channelTyping = exports.channelThreads = exports.channelRecipient = exports.channelPins = exports.channelPin = exports.channelPermission = exports.channelMessages = void 0;
5
5
  // Guilds
6
6
  const guild = (guildId) => `guilds/${guildId}`;
@@ -81,8 +81,8 @@ const guildWelcomeScreen = (guildId) => `guilds/${guildId}/welcome-screen`;
81
81
  exports.guildWelcomeScreen = guildWelcomeScreen;
82
82
  const guildWidgetImage = (guildId) => `guilds/${guildId}/widget.png`;
83
83
  exports.guildWidgetImage = guildWidgetImage;
84
- const guildWidgetJson = (guildId) => `guilds/${guildId}/widget.json`;
85
- exports.guildWidgetJson = guildWidgetJson;
84
+ const guildWidgetJSON = (guildId) => `guilds/${guildId}/widget.json`;
85
+ exports.guildWidgetJSON = guildWidgetJSON;
86
86
  const guildWidgetSettings = (guildId) => `guilds/${guildId}/widget`;
87
87
  exports.guildWidgetSettings = guildWidgetSettings;
88
88
  const template = (code) => `guilds/templates/${code}`;
@@ -1 +1 @@
1
- {"version":3,"file":"Endpoints.js","sourceRoot":"","sources":["../../../lib/rest/Endpoints.ts"],"names":[],"mappings":";;;;AAAA,SAAS;AACF,MAAM,KAAK,GAAG,CAAC,OAAe,EAAE,EAAE,CAAC,UAAU,OAAO,EAAW,CAAC;AAA1D,QAAA,KAAK,SAAqD;AAChE,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,QAAiB,CAAC;AAAjC,QAAA,MAAM,UAA2B;AACvC,MAAM,kBAAkB,GAAG,CAAC,OAAe,EAAE,EAAE,CACpD,UAAU,OAAO,iBAA0B,CAAC;AADjC,QAAA,kBAAkB,sBACe;AACvC,MAAM,aAAa,GAAG,CAAC,OAAe,EAAE,EAAE,CAC/C,UAAU,OAAO,aAAsB,CAAC;AAD7B,QAAA,aAAa,iBACgB;AACnC,MAAM,uBAAuB,GAAG,CAAC,OAAe,EAAE,MAAc,EAAE,EAAE,CACzE,UAAU,OAAO,0BAA0B,MAAM,EAAW,CAAC;AADlD,QAAA,uBAAuB,2BAC2B;AACxD,MAAM,wBAAwB,GAAG,CAAC,OAAe,EAAE,EAAE,CAC1D,UAAU,OAAO,wBAAiC,CAAC;AADxC,QAAA,wBAAwB,4BACgB;AAC9C,MAAM,QAAQ,GAAG,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node" />
3
- export declare enum RestMethods {
3
+ export declare enum RESTMethods {
4
4
  Get = "GET",
5
5
  Post = "POST",
6
6
  Delete = "DELETE",
@@ -24,5 +24,5 @@ export declare class RequestManager {
24
24
  auth: "Bot" | "Bearer";
25
25
  globalBlock: boolean;
26
26
  constructor(token: string, auth: "Bot" | "Bearer");
27
- request<T = unknown>(method: RestMethods, endpoint: string, data?: RequestData): Promise<T>;
27
+ request<T = unknown>(method: RESTMethods, endpoint: string, data?: RequestData): Promise<T>;
28
28
  }