oceanic.js 1.8.1-dev.fb65f1e → 1.8.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.
- package/dist/lib/Constants.d.ts +249 -66
- package/dist/lib/Constants.js +273 -63
- package/dist/lib/routes/Channels.d.ts +9 -0
- package/dist/lib/routes/Channels.js +14 -3
- package/dist/lib/routes/Guilds.js +2 -2
- package/dist/lib/structures/Attachment.d.ts +2 -0
- package/dist/lib/structures/Attachment.js +5 -1
- package/dist/lib/structures/ThreadOnlyChannel.js +2 -2
- package/dist/lib/types/channels.d.ts +18 -8
- package/dist/lib/types/interactions.d.ts +7 -0
- package/dist/lib/types/json.d.ts +1 -0
- package/dist/lib/util/Util.js +7 -1
- package/dist/package.json +15 -15
- package/package.json +22 -28
- package/patches/typedoc-plugin-merge-modules@5.1.0.patch +18 -0
- package/patches/typedoc-plugin-merge-modules@5.0.1.patch +0 -26
package/dist/lib/Constants.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ export declare enum ApplicationFlags {
|
|
|
104
104
|
APPLICATION_COMMAND_BADGE = 8388608,
|
|
105
105
|
ACTIVE = 16777216
|
|
106
106
|
}
|
|
107
|
-
export declare const GuildFeatures: readonly ["ACTIVITIES_ALPHA", "ACTIVITIES_EMPLOYEE", "ACTIVITIES_INTERNAL_DEV", "ANIMATED_BANNER", "ANIMATED_ICON", "APPLICATION_COMMAND_PERMISSIONS_V2", "AUTO_MODERATION", "BANNER", "BOT_DEVELOPER_EARLY_ACCESS", "CHANNEL_ICON_EMOJIS_GENERATED", "CLYDE_ENABLED", "CLYDE_EXPERIMENT_ENABLED", "COMMUNITY_CANARY", "COMMUNITY_EXP_LARGE_GATED", "COMMUNITY_EXP_LARGE_UNGATED", "COMMUNITY_EXP_MEDIUM", "COMMUNITY", "CREATOR_ACCEPTED_NEW_TERMS", "CREATOR_MONETIZABLE_DISABLED", "CREATOR_MONETIZABLE_PROVISIONAL", "CREATOR_MONETIZABLE", "CREATOR_STORE_PAGE", "DEVELOPER_SUPPORT_SERVER", "DISCOVERABLE_DISABLED", "DISCOVERABLE", "ENABLED_DISCOVERABLE_BEFORE", "EXPOSED_TO_ACTIVITIES_WTP_EXPERIMENT", "FEATURABLE", "GUESTS_ENABLED", "GUILD_HOME_TEST", "GUILD_ONBOARDING_EVER_ENABLED", "GUILD_ONBOARDING_HAS_PROMPTS", "GUILD_ONBOARDING", "GUILD_ROLE_SUBSCRIPTION_TIER_TEMPLATE", "GUILD_WEB_PAGE_VANITY_URL", "HAD_EARLY_ACTIVITIES_ACCESS", "HAS_DIRECTORY_ENTRY", "HUB", "INCREASED_THREAD_LIMIT", "INTERNAL_EMPLOYEE_ONLY", "INVITE_SPLASH", "INVITES_DISABLED", "LINKED_TO_HUB", "MARKETPLACES_CONNECTION_ROLES", "MEMBER_PROFILES", "MEMBER_SAFETY_PAGE_ROLLOUT", "MEMBER_VERIFICATION_GATE_ENABLED", "MONETIZATION_ENABLED", "MORE_EMOJI", "MORE_EMOJIS", "MORE_STICKERS", "NEW_THREAD_PERMISSIONS", "NEWS", "PARTNERED", "PREVIEW_ENABLED", "PREVIOUSLY_DISCOVERABLE", "PRIVATE_THREADS", "RAID_ALERTS_ENABLED", "ROLE_ICONS", "ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE", "ROLE_SUBSCRIPTIONS_ENABLED", "SEVEN_DAY_THREAD_ARCHIVE", "SOUNDBOARD", "SUMMARIES_ENABLED_GA", "SUMMARIES_ENABLED", "TEXT_IN_VOICE_ENABLED", "THREADS_ENABLED_TESTING", "THREADS_ENABLED", "THREE_DAY_THREAD_ARCHIVE", "TICKETED_EVENTS_ENABLED", "VANITY_URL", "VERIFIED", "VIP_REGIONS", "VOICE_IN_THREADS", "WELCOME_SCREEN_ENABLED"];
|
|
107
|
+
export declare const GuildFeatures: readonly ["ACTIVITIES_ALPHA", "ACTIVITIES_EMPLOYEE", "ACTIVITIES_INTERNAL_DEV", "ANIMATED_BANNER", "ANIMATED_ICON", "APPLICATION_COMMAND_PERMISSIONS_V2", "AUTO_MODERATION", "AUTOMOD_TRIGGER_USER_PROFILE", "BANNER", "BOT_DEVELOPER_EARLY_ACCESS", "BURST_REACTIONS", "CHANNEL_HIGHLIGHTS_DISABLED", "CHANNEL_HIGHLIGHTS", "CHANNEL_ICON_EMOJIS_GENERATED", "CLYDE_DISABLED", "CLYDE_ENABLED", "CLYDE_EXPERIMENT_ENABLED", "COMMERCE", "COMMUNITY_CANARY", "COMMUNITY_EXP_LARGE_GATED", "COMMUNITY_EXP_LARGE_UNGATED", "COMMUNITY_EXP_MEDIUM", "COMMUNITY", "CREATOR_ACCEPTED_NEW_TERMS", "CREATOR_MONETIZABLE_DISABLED", "CREATOR_MONETIZABLE_PENDING_NEW_OWNER_ONBOARDING", "CREATOR_MONETIZABLE_PROVISIONAL", "CREATOR_MONETIZABLE_RESTRICTED", "CREATOR_MONETIZABLE_WHITEGLOVE", "CREATOR_MONETIZABLE", "CREATOR_STORE_PAGE", "DEVELOPER_SUPPORT_SERVER", "DISCOVERABLE_DISABLED", "DISCOVERABLE", "ENABLED_DISCOVERABLE_BEFORE", "ENABLED_MODERATION_EXPERIENCE_FOR_NON_COMMUNITY", "EXPOSED_TO_ACTIVITIES_WTP_EXPERIMENT", "FEATURABLE", "GUESTS_ENABLED", "GUILD_HOME_DEPRECATION_OVERRIDE", "GUILD_HOME_OVERRIDE", "GUILD_HOME_TEST", "GUILD_ONBOARDING_EVER_ENABLED", "GUILD_ONBOARDING_HAS_PROMPTS", "GUILD_ONBOARDING", "GUILD_ROLE_SUBSCRIPTION_TIER_TEMPLATE", "GUILD_SERVER_GUIDE", "GUILD_WEB_PAGE_VANITY_URL", "HAD_EARLY_ACTIVITIES_ACCESS", "HAS_DIRECTORY_ENTRY", "HUB", "INCREASED_THREAD_LIMIT", "INTERNAL_EMPLOYEE_ONLY", "INVITE_SPLASH", "INVITES_DISABLED", "LINKED_TO_HUB", "MARKETPLACES_CONNECTION_ROLES", "MEMBER_PROFILES", "MEMBER_SAFETY_PAGE_ROLLOUT", "MEMBER_VERIFICATION_GATE_ENABLED", "MONETIZATION_ENABLED", "MORE_EMOJI", "MORE_EMOJIS", "MORE_STICKERS", "NEW_THREAD_PERMISSIONS", "NEWS", "NON_COMMUNITY_RAID_ALERTS", "PARTNERED", "PREVIEW_ENABLED", "PREVIOUSLY_DISCOVERABLE", "PRIVATE_THREADS", "PRODUCTS_AVAILABLE_FOR_PURCHASE", "RAID_ALERTS_DISABLED", "RAID_ALERTS_ENABLED", "ROLE_ICONS", "ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE", "ROLE_SUBSCRIPTIONS_ENABLED", "SEVEN_DAY_THREAD_ARCHIVE", "SHARD", "SOUNDBOARD", "SUMMARIES_DISABLED_BY_USER", "SUMMARIES_ENABLED_BY_USER", "SUMMARIES_ENABLED_GA", "SUMMARIES_ENABLED", "SUMMARIES_OPT_OUT_EXPERIENCE", "SUMMARIES_PAUSED", "TEXT_IN_STAGE_ENABLED", "TEXT_IN_VOICE_ENABLED", "THREADS_ENABLED_TESTING", "THREADS_ENABLED", "THREE_DAY_THREAD_ARCHIVE", "TICKETED_EVENTS_ENABLED", "VANITY_URL", "VERIFIED", "VIP_REGIONS", "VOICE_IN_THREADS", "WELCOME_SCREEN_ENABLED"];
|
|
108
108
|
export type GuildFeature = typeof GuildFeatures[number];
|
|
109
109
|
export type MutableGuildFeatures = "COMMUNITY" | "DISCOVERABLE" | "INVITES_DISABLED" | "RAID_ALERTS_ENABLED";
|
|
110
110
|
export declare enum DefaultMessageNotificationLevels {
|
|
@@ -147,7 +147,8 @@ export declare enum SystemChannelFlags {
|
|
|
147
147
|
SUPPRESS_GUILD_REMINDER_NOTIFICATIONS = 4,
|
|
148
148
|
SUPPRESS_JOIN_NOTIFICATION_REPLIES = 8,
|
|
149
149
|
SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATIONS = 16,
|
|
150
|
-
SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATION_REPLIES = 32
|
|
150
|
+
SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATION_REPLIES = 32,
|
|
151
|
+
SUPPRESS_CHANNEL_PROMPT_DEADCHAT = 128
|
|
151
152
|
}
|
|
152
153
|
export declare enum StickerTypes {
|
|
153
154
|
STANDARD = 1,
|
|
@@ -234,7 +235,7 @@ export declare enum ConnectionVisibilityTypes {
|
|
|
234
235
|
NONE = 0,
|
|
235
236
|
EVERYONE = 1
|
|
236
237
|
}
|
|
237
|
-
export declare const ConnectionServices: readonly ["battlenet", "domain", "ebay", "epicgames", "facebook", "github", "instagram", "leagueoflegends", "paypal", "playstation", "reddit", "riotgames", "skype", "spotify", "steam", "tiktok", "twitch", "twitter", "xbox", "youtube"];
|
|
238
|
+
export declare const ConnectionServices: readonly ["battlenet", "crunchyroll", "domain", "ebay", "epicgames", "facebook", "github", "instagram", "leagueoflegends", "paypal", "playstation", "reddit", "riotgames", "skype", "spotify", "steam", "tiktok", "twitch", "twitter_legacy", "twitter", "xbox", "youtube"];
|
|
238
239
|
export type ConnectionService = typeof ConnectionServices[number];
|
|
239
240
|
export declare const IntegrationTypes: readonly ["twitch", "youtube", "discord", "guild_subscription"];
|
|
240
241
|
export type IntegrationType = typeof IntegrationTypes[number];
|
|
@@ -320,6 +321,7 @@ export declare enum ChannelFlags {
|
|
|
320
321
|
SUMMARIES_DISABLED = 2048,
|
|
321
322
|
APPLICATION_SHELF_CONSENT = 4096,
|
|
322
323
|
IS_ROLE_SUBSCRIPTION_TEMPLATE_PREVIEW_CHANNEL = 8192,
|
|
324
|
+
IS_BROADCASTING = 16384,
|
|
323
325
|
/** For media channls, hides the embedded media download options. */
|
|
324
326
|
HIDE_MEDIA_DOWNLOAD_OPTIONS = 32768
|
|
325
327
|
}
|
|
@@ -482,7 +484,9 @@ export declare enum MessageTypes {
|
|
|
482
484
|
GUILD_INCIDENT_REPORT_RAID = 38,
|
|
483
485
|
GUILD_INCIDENT_REPORT_FALSE_ALARM = 39,
|
|
484
486
|
GUILD_DEADCHAT_REVIVE_PROMPT = 40,
|
|
485
|
-
CUSTOM_GIFT = 41
|
|
487
|
+
CUSTOM_GIFT = 41,
|
|
488
|
+
GUILD_GAMING_STATS_PROMPT = 42,
|
|
489
|
+
POLL = 43
|
|
486
490
|
}
|
|
487
491
|
export declare enum MessageActivityTypes {
|
|
488
492
|
JOIN = 1,
|
|
@@ -805,6 +809,13 @@ export declare enum ReactionType {
|
|
|
805
809
|
NORMAL = 0,
|
|
806
810
|
SUPER = 1
|
|
807
811
|
}
|
|
812
|
+
export declare enum AttachmentFlags {
|
|
813
|
+
IS_CLIP = 1,
|
|
814
|
+
IS_THUMBNAIL = 2,
|
|
815
|
+
IS_REMIX = 4,
|
|
816
|
+
IS_SPOILER = 8,
|
|
817
|
+
CONTAINS_EXPLICIT_MEDIA = 16
|
|
818
|
+
}
|
|
808
819
|
/** The error codes that can be received. See [Discord's Documentation](https://discord.com/developers/docs/topics/opcodes-and-status-codes#json). */
|
|
809
820
|
export declare enum JSONErrorCodes {
|
|
810
821
|
GENERAL_ERROR = 0,
|
|
@@ -849,57 +860,74 @@ export declare enum JSONErrorCodes {
|
|
|
849
860
|
UNKNOWN_GUILD_SCHEDULED_EVENT = 10070,
|
|
850
861
|
UNKNOWN_GUILD_SCHEDULED_EVENT_USER = 10071,
|
|
851
862
|
UNKNOWN_TAG = 10087,
|
|
863
|
+
BOT_DISALLOWED = 20001,
|
|
852
864
|
BOTS_CANNOT_USE_THIS_ENDPOINT = 20001,
|
|
865
|
+
BOT_REQUIRED = 20002,
|
|
853
866
|
ONLY_BOTS_CAN_USE_THIS_ENDPOINT = 20002,
|
|
867
|
+
RPC_PROXY_DISALLOWED = 20003,
|
|
854
868
|
EXPLICIT_CONTENT = 20009,
|
|
869
|
+
ACCOUNT_SCHEDULED_FOR_DELETION = 20011,
|
|
855
870
|
NOT_AUTHORIZED_FOR_APPLICATION = 20012,
|
|
856
|
-
|
|
871
|
+
ACCOUNT_DISABLED = 20013,
|
|
872
|
+
SLOWMODE_RATE_LIMITED = 20016,
|
|
857
873
|
ACCOUNT_OWNER_ONLY = 20018,
|
|
858
|
-
|
|
874
|
+
CHANNEL_FOLLOWING_EDIT_RATE_LIMITED = 20022,
|
|
859
875
|
UNDER_MINIMUM_AGE = 20024,
|
|
876
|
+
QUARANTINED = 20026,
|
|
860
877
|
CHANNEL_WRITE_RATE_LIMIT = 20028,
|
|
861
878
|
GUILD_WRITE_RATE_LIMIT = 20029,
|
|
862
879
|
WORDS_NOT_ALLOWED = 20031,
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
880
|
+
VANITY_URL_REQUIRED_FOR_PUBLISHED_GUILDS = 20040,
|
|
881
|
+
VANITY_URL_EMPLOYEE_ONLY_GUILD_DISABLED = 20044,
|
|
882
|
+
VANITY_URL_REQUIREMENTS_NOT_MET = 20045,
|
|
883
|
+
TOO_MANY_GUILDS = 30001,
|
|
884
|
+
TOO_MANY_FRIENDS = 30002,
|
|
885
|
+
TOO_MANY_PINS_IN_CHANNEL = 30003,
|
|
886
|
+
TOO_MANY_RECIPIENTS = 30004,
|
|
887
|
+
TOO_MANY_GUILD_ROLES = 30005,
|
|
888
|
+
TOO_MANY_USING_USERNAME = 30006,
|
|
889
|
+
TOO_MANY_WEBHOOKS = 30007,
|
|
890
|
+
TOO_MANY_EMOJI = 30008,
|
|
891
|
+
TOO_MANY_REACTIONS = 30010,
|
|
892
|
+
TOO_MANY_GROUP_CHANNELS = 30011,
|
|
893
|
+
TOO_MANY_CHANNELS = 30013,
|
|
894
|
+
TOO_MANY_ATTACHMENTS = 30015,
|
|
895
|
+
TOO_MANY_INVITES = 30016,
|
|
896
|
+
TOO_MANY_ANIMATED_EMOJI = 30018,
|
|
897
|
+
GUILD_AT_CAPACITY = 30019,
|
|
898
|
+
NOT_ENOUGH_GUILD_MEMBERS = 30029,
|
|
899
|
+
TOO_MANY_SERVER_CATEGORIES = 30030,
|
|
878
900
|
GUILD_ALREADY_HAS_TEMPLATE = 30031,
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
901
|
+
TOO_MANY_APPLICATION_COMMANDS = 30032,
|
|
902
|
+
TOO_MANY_THREAD_MEMBERS = 30033,
|
|
903
|
+
TOO_MANY_APPLICATION_COMMAND_CREATES = 30034,
|
|
904
|
+
TOO_MANY_BANS_FOR_NON_GUILD_MEMBERS = 30035,
|
|
905
|
+
TOO_MANY_BAN_FETCHES = 30037,
|
|
906
|
+
TOO_MANY_UNCOMPLETED_GUILD_SCHEDULED_EVENTS = 30038,
|
|
907
|
+
TOO_MANY_STICKERS = 30039,
|
|
908
|
+
TOO_MANY_PRUNE_REQUESTS = 30040,
|
|
909
|
+
TOO_MANY_GUILD_WIDGET_SETTINGS_UPDATES = 30042,
|
|
888
910
|
MAXIMUM_NUMBER_OR_EDITS_TO_MESSAGES_OLDER_THAN_1_HOUR = 30046,
|
|
889
|
-
|
|
890
|
-
|
|
911
|
+
TOO_MANY_PINNED_THREADS = 30047,
|
|
912
|
+
TOO_MANY_FORUM_TAGS = 30048,
|
|
891
913
|
BITRATE_TOO_HIGH = 30052,
|
|
892
|
-
|
|
893
|
-
|
|
914
|
+
TOO_MANY_PREMIUM_EMOJIS = 30056,
|
|
915
|
+
TOO_MANY_GUILD_WEBHOOKS = 30058,
|
|
916
|
+
TOO_MANY_BLOCKED_USERS = 30059,
|
|
917
|
+
TOO_MANY_PUBLISHED_PRODUCT_LISTINGS = 30065,
|
|
894
918
|
RESOURCE_RATE_LIMITED = 31002,
|
|
895
919
|
UNAUTHORIZED = 40001,
|
|
896
|
-
|
|
920
|
+
EMAIL_VERIFICATION_REQUIRED = 40002,
|
|
921
|
+
RATE_LIMIT_DM_OPEN = 40003,
|
|
897
922
|
DIRECT_MESSAGES_RATE_LIMIT = 40003,
|
|
898
923
|
SENDING_MESSAGES_TEMPORARILY_DISABLED = 40004,
|
|
924
|
+
ENTITY_TOO_LARGE = 40005,
|
|
899
925
|
REQUEST_ENTITY_TOO_LARGE = 40005,
|
|
926
|
+
ENTITY_EMPTY = 40006,
|
|
900
927
|
FEATURE_TEMPORARILY_DISABLED = 40006,
|
|
901
928
|
USER_BANNED = 40007,
|
|
902
929
|
CONNECTION_REVOKED = 40012,
|
|
930
|
+
DELETE_ACCOUNT_TRANSFER_TEAM_OWNERSHIP = 40028,
|
|
903
931
|
TARGET_USER_NOT_CONNECTED_TO_VOICE = 40032,
|
|
904
932
|
ALREADY_CROSSPOSTED = 40033,
|
|
905
933
|
APPLICATION_COMMAND_ALREADY_EXISTS = 40041,
|
|
@@ -908,31 +936,37 @@ export declare enum JSONErrorCodes {
|
|
|
908
936
|
INTERACTION_ALREADY_ACKNOWLEDGED = 40060,
|
|
909
937
|
TAG_NAMES_MUST_BE_UNIQUE = 40061,
|
|
910
938
|
SERVICE_RESOURCE_RATE_LIMITED = 40062,
|
|
911
|
-
|
|
939
|
+
NON_MODERATED_TAG_REQUIRED = 40066,
|
|
912
940
|
TAG_REQUIRED = 40067,
|
|
941
|
+
USER_QUARANTINED = 40068,
|
|
942
|
+
INVITES_DISABLED = 40069,
|
|
943
|
+
INVALID_ACCESS = 50001,
|
|
913
944
|
MISSING_ACCESS = 50001,
|
|
914
945
|
INVALID_ACCOUNT_TYPE = 50002,
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
946
|
+
INVALID_ACTION_DM = 50003,
|
|
947
|
+
INVALID_EMBED_DISABLED = 50004,
|
|
948
|
+
INVALID_MESSAGE_AUTHOR = 50005,
|
|
949
|
+
INVALID_MESSAGE_EMPTY = 50006,
|
|
950
|
+
INVALID_MESSAGE_SEND_USER = 50007,
|
|
951
|
+
INVALID_MESSAGE_SEND_NON_TEXT = 50008,
|
|
952
|
+
INVALID_MESSAGE_VERIFICATION_LEVEL = 50009,
|
|
953
|
+
INVALID_OAUTH_APP_BOT = 50010,
|
|
954
|
+
INVALID_OAUTH_APP_LIMIT = 50011,
|
|
924
955
|
INVALID_OAUTH_STATE = 50012,
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
956
|
+
INVALID_PERMISSIONS = 50013,
|
|
957
|
+
INVALID_TOKEN = 50014,
|
|
958
|
+
INVALID_NOTE = 50015,
|
|
959
|
+
INVALID_BULK_DELETE_COUNT = 50016,
|
|
929
960
|
INVALID_MFA_LEVEL = 50017,
|
|
930
|
-
|
|
931
|
-
|
|
961
|
+
INVALID_PASSWORD = 50018,
|
|
962
|
+
INVALID_PIN_MESSAGE_CHANNEL = 50019,
|
|
963
|
+
INVALID_INVITE_CODE = 50020,
|
|
932
964
|
CANNOT_EXECUTE_ON_SYSTEM_MESSAGE = 50021,
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
965
|
+
INVALID_PHONE_NUMBER = 50022,
|
|
966
|
+
INVALID_CLIENT_ID = 50023,
|
|
967
|
+
INVALID_CHANNEL_TYPE = 50024,
|
|
968
|
+
INVALID_OAUTH2_ACCESS_TOKEN = 50025,
|
|
969
|
+
INVALID_OAUTH2_MISSING_SCOPE = 50026,
|
|
936
970
|
INVALID_WEBHOOK_TOKEN = 50027,
|
|
937
971
|
INVALID_ROLE = 50028,
|
|
938
972
|
INVALID_RECIPIENTS = 50033,
|
|
@@ -941,9 +975,11 @@ export declare enum JSONErrorCodes {
|
|
|
941
975
|
INVITE_ACCEPTED_TO_GUILD_NOT_CONTAINING_BOT = 50036,
|
|
942
976
|
INVALID_ACTIVITY_ACTION = 500039,
|
|
943
977
|
INVALID_API_VERSION = 50041,
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
978
|
+
INVALID_FILE_ASSET_SIZE = 50045,
|
|
979
|
+
INVALID_FILE_ASSET = 50046,
|
|
980
|
+
INVALID_GIFT_REDEMPTION_EXHAUSTED = 50050,
|
|
981
|
+
INVALID_GIFT_REDEMPTION_OWNED = 50051,
|
|
982
|
+
INVALID_GIFT_SELF_REDEMPTION = 50054,
|
|
947
983
|
INVALID_GUILD = 50055,
|
|
948
984
|
INVALID_REQUEST_ORIGIN = 50067,
|
|
949
985
|
INVALID_MESSAGE_TYPE = 50068,
|
|
@@ -956,37 +992,68 @@ export declare enum JSONErrorCodes {
|
|
|
956
992
|
INVALID_THREAD_NOTIFICATION_SETTINGS = 50084,
|
|
957
993
|
BEFORE_EARLIER_THAN_THREAD_CREATION_DATE = 50085,
|
|
958
994
|
COMMUNITY_CHANNELS_MUST_BE_TEXT = 50086,
|
|
959
|
-
|
|
995
|
+
INVALID_COUNTRY_CODE = 50095,
|
|
996
|
+
INVALID_CANNOT_FRIEND_SELF = 50096,
|
|
997
|
+
INVALID_GIFT_REDEMPTION_FRAUD_REJECTED = 50097,
|
|
960
998
|
MONETIZATION_REQUIRED = 50097,
|
|
961
999
|
BOOSTS_REQUIRED = 50101,
|
|
1000
|
+
INVALID_USER_SETTINGS_DATA = 50105,
|
|
1001
|
+
INVALID_ACTIVITY_LAUNCH_NO_ACCESS = 50106,
|
|
1002
|
+
INVALID_ACTIVITY_LAUNCH_PREMIUM_TIER = 50107,
|
|
1003
|
+
INVALID_ACTIVITY_LAUNCH_CONCURRENT_ACTIVITIES = 50108,
|
|
962
1004
|
INVALID_JSON = 50109,
|
|
963
1005
|
OWNER_CANNOT_BE_PENDING_MEMBER = 50131,
|
|
964
1006
|
OWNERSHIP_CANNOT_BE_TRANSFERRED_TO_BOT = 50132,
|
|
965
|
-
|
|
1007
|
+
INVALID_FILE_ASSET_SIZE_RESIZE_GIF = 50138,
|
|
966
1008
|
CANNOT_MIX_SUBSCRIPTION_AND_NON_SUBSCRIPTION_ROLES = 50144,
|
|
967
1009
|
CANNOT_CONVERT_BETWEEN_PREMIUM_AND_NORMAL_EMOJI = 50145,
|
|
968
1010
|
UPLOADED_FILE_NOT_FOUND = 50146,
|
|
1011
|
+
INVALID_ACTIVITY_LAUNCH_AFK_CHANNEL = 50148,
|
|
969
1012
|
VOICE_MESSAGES_DO_NOT_SUPPORT_ADDITIONAL_CONTENT = 50159,
|
|
970
1013
|
VOICE_MESSAGES_MUST_HAVE_A_SINGLE_AUDIO_ATTACHMENT = 50160,
|
|
971
1014
|
VOICE_MESSAGES_MUST_HAVE_SUPPORTING_METADATA = 50161,
|
|
972
1015
|
VOICE_MESSAGES_CANNOT_BE_EDITED = 50162,
|
|
973
1016
|
CANNOT_DELETE_GUILD_SUBSCRIPTION_INTEGRATION = 50163,
|
|
1017
|
+
NEW_OWNER_INELIGIBLE_FOR_SERVER_SUBSCRIPTION = 50164,
|
|
1018
|
+
INVALID_ACTIVITY_LAUNCH_AGE_GATED = 50165,
|
|
974
1019
|
CANNOT_SEND_VOICE_MESSAGES_IN_CHANNEL = 50173,
|
|
975
1020
|
USER_MUST_FIRST_BE_VERIFIED = 50178,
|
|
1021
|
+
INVALID_SKU_ATTACHMENT_NO_ARCHIVES = 50186,
|
|
976
1022
|
NO_PERMISSION_TO_SEND_STICKER = 50600,
|
|
977
|
-
|
|
978
|
-
|
|
1023
|
+
MFA_ENABLED = 60001,
|
|
1024
|
+
MFA_DISABLED = 60002,
|
|
1025
|
+
MFA_REQUIRED = 60003,
|
|
1026
|
+
MFA_UNVERIFIED = 60004,
|
|
1027
|
+
MFA_INVALID_SECRET = 60005,
|
|
1028
|
+
MFA_INVALID_TICKET = 60006,
|
|
1029
|
+
MFA_INVALID_CODE = 60008,
|
|
1030
|
+
MFA_INVALID_SESSION = 60009,
|
|
1031
|
+
PHONE_NUMBER_UNABLE_TO_SEND = 70003,
|
|
1032
|
+
PHONE_VERIFICATION_REQUIRED = 70007,
|
|
1033
|
+
RELATIONSHIP_INCOMING_DISABLED = 80000,
|
|
1034
|
+
RELATIONSHIP_INCOMING_BLOCKED = 80001,
|
|
1035
|
+
RELATIONSHIP_INVALID_USER_BOT = 80002,
|
|
1036
|
+
RELATIONSHIP_INVALID_SELF = 80003,
|
|
1037
|
+
RELATIONSHIP_INVALID_DISCORD_TAG = 80004,
|
|
1038
|
+
RELATIONSHIP_ALREADY_FRIENDS = 80007,
|
|
979
1039
|
REACTION_BLOCKED = 90001,
|
|
980
1040
|
USER_CANNOT_USE_BURST_REACTIONS = 90002,
|
|
1041
|
+
INVALID_GIFT_REDEMPTION_SUBSCRIPTION_MANAGED = 100021,
|
|
1042
|
+
INVALID_GIFT_REDEMPTION_SUBSCRIPTION_INCOMPATIBLE = 100023,
|
|
1043
|
+
INVALID_GIFT_REDEMPTION_INVOICE_OPEN = 100024,
|
|
981
1044
|
INELIGIBLE_FOR_SUBSCRIPTION = 100053,
|
|
1045
|
+
BILLING_NON_REFUNDABLE_PAYMENT_SOURCE = 100060,
|
|
982
1046
|
APPLICATION_NOT_AVAILABLE = 110001,
|
|
1047
|
+
LISTING_ALREADY_JOINED = 120000,
|
|
1048
|
+
LISTING_TOO_MANY_MEMBERS = 120001,
|
|
1049
|
+
LISTING_JOIN_BLOCKED = 120002,
|
|
983
1050
|
API_RESOURCE_IS_CURRENTLY_OVERLOADED = 130000,
|
|
984
1051
|
STAGE_ALREADY_OPEN = 150006,
|
|
985
1052
|
CANNOT_REPLY_WITHOUT_READ_MESSAGE_HISTORY = 160002,
|
|
986
1053
|
THREAD_ALREADY_CREATED_FOR_MESSAGE = 160004,
|
|
987
1054
|
THREAD_IS_LOCKED = 160005,
|
|
988
|
-
|
|
989
|
-
|
|
1055
|
+
TOO_MANY_THREADS = 160006,
|
|
1056
|
+
TOO_MANY_ANNOUNCEMENT_THREADS = 160007,
|
|
990
1057
|
INVALID_LOTTIE_JSON = 170001,
|
|
991
1058
|
UPLOADED_LOTTIE_RASTERIZED = 170002,
|
|
992
1059
|
STICKER_MAXIMUM_FRAMERATE_EXCEEDED = 170003,
|
|
@@ -994,13 +1061,129 @@ export declare enum JSONErrorCodes {
|
|
|
994
1061
|
LOTTIE_ANIMATION_MAXIMUM_DIMENSIONS_EXCEEDED = 170005,
|
|
995
1062
|
STICKER_FRAME_RATE_TOO_SMALL_OR_LARGE = 170006,
|
|
996
1063
|
STICKER_ANIMATION_DURATION_TOO_LONG = 170007,
|
|
1064
|
+
POGGERMODE_TEMPORARILY_DISABLED = 170008,
|
|
997
1065
|
CANNOT_UPDATE_FINISHED_EVENT = 180000,
|
|
998
1066
|
FAILED_TO_CREATE_STAGE_INSTANCE = 180002,
|
|
999
|
-
|
|
1000
|
-
|
|
1067
|
+
AUTOMOD_MESSAGE_BLOCKED = 200000,
|
|
1068
|
+
AUTOMOD_TITLE_BLOCKED = 200001,
|
|
1069
|
+
AUTOMOD_INVALID_RUST_SERVICE_RESPONSE = 200002,
|
|
1070
|
+
MONETIZATION_TERMS_NOT_ACCEPTED = 210003,
|
|
1071
|
+
TWO_FA_NOT_ENABLED = 210011,
|
|
1072
|
+
GUILD_PRODUCT_LISTING_CANNOT_PUBLISH_WITHOUT_BENEFIT = 210021,
|
|
1073
|
+
CREATOR_MONETIZATION_PAYMENT_TEAM_REQUIRED = 210026,
|
|
1074
|
+
CREATOR_MONETIZATION_PAYMENT_ACCOUNT_VERIFICATION_REQUIRED = 210027,
|
|
1001
1075
|
WEBHOOKS_POSTED_TO_FORUM_CHANNELS_MUST_HAVE_THREAD_NAME_OR_THREAD_ID = 220001,
|
|
1002
1076
|
WEBHOOKS_POSTED_TO_FORUM_CHANNELS_CANNOT_HAVE_BOTH_THREAD_NAME_AND_THREAD_ID = 220002,
|
|
1003
1077
|
WEBHOOKS_CAN_ONLY_CREATE_THREADS_IN_FORUM_CHANNELS = 220003,
|
|
1004
1078
|
WEBHOOK_SERVICES_CANNOT_BE_USED_IN_FORUM_CHANNELS = 220004,
|
|
1005
|
-
MESSAGE_BLOCKED_BY_HARMFUL_LINKS_FILTER = 220005
|
|
1079
|
+
MESSAGE_BLOCKED_BY_HARMFUL_LINKS_FILTER = 220005,
|
|
1080
|
+
HARMFUL_LINK_MESSAGE_BLOCKED = 240000,
|
|
1081
|
+
CLYDE_CONSENT_REQUIRED = 310000,
|
|
1082
|
+
CLYDE_UNSAFE_PERSONALITY = 310003,
|
|
1083
|
+
USER_LIMITED_ACCESS_DEFAULT = 340000,
|
|
1084
|
+
USER_FRIEND_REQUEST_LIMITED_ACCESS = 340007,
|
|
1085
|
+
USER_LIMITED_ACCESS_MAX = 349999,
|
|
1086
|
+
CANNOT_ENABLE_ONBOARDING_REQUIREMENTS_NOT_MET = 350000,
|
|
1087
|
+
CANNOT_ENABLE_ONBOARDING_BELOW_REQUIREMENTS = 350001,
|
|
1088
|
+
GUILD_LIMITED_ACCESS_DEFAULT = 400000,
|
|
1089
|
+
GUILD_FILE_UPLOAD_RATE_LIMITED_ACCESS = 400001,
|
|
1090
|
+
GUILD_JOIN_INVITE_LIMITED_ACCESS = 400002,
|
|
1091
|
+
GUILD_GO_LIVE_LIMITED_ACCESS = 400003,
|
|
1092
|
+
GUILD_LIMITED_ACCESS_MAX = 409999,
|
|
1093
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.SLOWMODE_RATE_LIMITED | SLOWMODE_RATE_LIMITED } instead. This will be removed in `1.10.0`. */
|
|
1094
|
+
SLOWMODE_RATE_LIMIT = 20016,
|
|
1095
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.CHANNEL_FOLLOWING_EDIT_RATE_LIMITED | CHANNEL_FOLLOWING_EDIT_RATE_LIMITED } instead. This will be removed in `1.10.0`. */
|
|
1096
|
+
ANNOUNCEMENT_EDIT_LIMIT_EXCEEDED = 20022,
|
|
1097
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_GUILDS | TOO_MANY_GUILDS } instead. This will be removed in `1.10.0`. */
|
|
1098
|
+
MAXIMUM_NUMBER_OF_GUILDS = 30001,
|
|
1099
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_FRIENDS | TOO_MANY_FRIENDS } instead. This will be removed in `1.10.0`. */
|
|
1100
|
+
MAXIMUM_NUMBER_OF_FRIENDS = 30002,
|
|
1101
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_PINS_IN_CHANNEL | TOO_MANY_PINS_IN_CHANNEL } instead. This will be removed in `1.10.0`. */
|
|
1102
|
+
MAXIMUM_NUMBER_OF_PINS = 30003,
|
|
1103
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_RECIPIENTS | TOO_MANY_RECIPIENTS } instead. This will be removed in `1.10.0`. */
|
|
1104
|
+
MAXIMUM_NUMBER_OF_RECIPIENTS = 30004,
|
|
1105
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_GUILD_ROLES | TOO_MANY_GUILD_ROLES } instead. This will be removed in `1.10.0`. */
|
|
1106
|
+
MAXIMUM_NUMBER_OF_GUILD_ROLES = 30005,
|
|
1107
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_WEBHOOKS | TOO_MANY_WEBHOOKS } instead. This will be removed in `1.10.0`. */
|
|
1108
|
+
MAXIMUM_NUMBER_OF_WEBHOOKS = 30007,
|
|
1109
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_EMOJI | TOO_MANY_EMOJI } instead. This will be removed in `1.10.0`. */
|
|
1110
|
+
MAXIMUM_NUMBER_OF_EMOJIS = 30008,
|
|
1111
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_REACTIONS | TOO_MANY_REACTIONS } instead. This will be removed in `1.10.0`. */
|
|
1112
|
+
MAXIMUM_NUMBER_OF_REACTIONS = 30010,
|
|
1113
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_ATTACHMENTS | TOO_MANY_ATTACHMENTS } instead. This will be removed in `1.10.0`. */
|
|
1114
|
+
MAXIMUM_NUMBER_OF_ATTACHMENTS = 30015,
|
|
1115
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_INVITES | TOO_MANY_INVITES } instead. This will be removed in `1.10.0`. */
|
|
1116
|
+
MAXIMUM_NUMBER_OF_INVITES = 30016,
|
|
1117
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_ANIMATED_EMOJI | TOO_MANY_ANIMATED_EMOJI } instead. This will be removed in `1.10.0`. */
|
|
1118
|
+
MAXIMUM_NUMBER_OF_ANIMATED_EMOJIS = 30018,
|
|
1119
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.GUILD_AT_CAPACITY | GUILD_AT_CAPACITY } instead. This will be removed in `1.10.0`. */
|
|
1120
|
+
MAXIMUM_NUMBER_OF_SERVER_MEMBERS = 30019,
|
|
1121
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_THREAD_MEMBERS | TOO_MANY_THREAD_MEMBERS } instead. This will be removed in `1.10.0`. */
|
|
1122
|
+
TOO_MANY_THREAD_PARTICIPANTS = 30033,
|
|
1123
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_PREMIUM_EMOJIS | TOO_MANY_PREMIUM_EMOJIS } instead. This will be removed in `1.10.0`. */
|
|
1124
|
+
MAXIMUM_PREMIUM_EMOJIS = 30056,
|
|
1125
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_GUILD_WEBHOOKS | TOO_MANY_GUILD_WEBHOOKS } instead. This will be removed in `1.10.0`. */
|
|
1126
|
+
MAXIMUM_GUILD_WEBHOOKS = 30058,
|
|
1127
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.EMAIL_VERIFICATION_REQUIRED | EMAIL_VERIFICATION_REQUIRED } instead. This will be removed in `1.10.0`. */
|
|
1128
|
+
ACCOUNT_VERIFICATION_REQUIRED = 40002,
|
|
1129
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.NON_MODERATED_TAG_REQUIRED | NON_MODERATED_TAG_REQUIRED } instead. This will be removed in `1.10.0`. */
|
|
1130
|
+
NO_NON_MODERATOR_TAGS = 40066,
|
|
1131
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_ACTION_DM | INVALID_ACTION_DM } instead. This will be removed in `1.10.0`. */
|
|
1132
|
+
CANNOT_EXECUTE_ON_DM = 50003,
|
|
1133
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_EMBED_DISABLED | INVALID_EMBED_DISABLED } instead. This will be removed in `1.10.0`. */
|
|
1134
|
+
GUILD_WIDGET_DISABLED = 50004,
|
|
1135
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_MESSAGE_AUTHOR | INVALID_MESSAGE_AUTHOR } instead. This will be removed in `1.10.0`. */
|
|
1136
|
+
CANNOT_EDIT_MESSAGE_BY_OTHER = 50005,
|
|
1137
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_MESSAGE_EMPTY | INVALID_MESSAGE_EMPTY } instead. This will be removed in `1.10.0`. */
|
|
1138
|
+
CANNOT_SEND_EMPTY_MESSAGE = 50006,
|
|
1139
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_MESSAGE_SEND_USER | INVALID_MESSAGE_SEND_USER } instead. This will be removed in `1.10.0`. */
|
|
1140
|
+
CANNOT_MESSAGE_USER = 50007,
|
|
1141
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_MESSAGE_SEND_NON_TEXT | INVALID_MESSAGE_SEND_NON_TEXT } instead. This will be removed in `1.10.0`. */
|
|
1142
|
+
CANNOT_SEND_MESSAGES_IN_NON_TEXT_CHANNEL = 50008,
|
|
1143
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_MESSAGE_VERIFICATION_LEVEL | INVALID_MESSAGE_VERIFICATION_LEVEL } instead. This will be removed in `1.10.0`. */
|
|
1144
|
+
CHANNEL_VERIFICATION_LEVEL_TOO_HIGH = 50009,
|
|
1145
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_OAUTH_APP_BOT | INVALID_OAUTH_APP_BOT } instead. This will be removed in `1.10.0`. */
|
|
1146
|
+
OAUTH2_APPLICATION_BOT_ABSENT = 50010,
|
|
1147
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_OAUTH_APP_LIMIT | INVALID_OAUTH_APP_LIMIT } instead. This will be removed in `1.10.0`. */
|
|
1148
|
+
MAXIMUM_OAUTH2_APPLICATIONS = 50011,
|
|
1149
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_PERMISSIONS | INVALID_PERMISSIONS } instead. This will be removed in `1.10.0`. */
|
|
1150
|
+
YOU_LACK_PERMISSIONS = 50013,
|
|
1151
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_TOKEN | INVALID_TOKEN } instead. This will be removed in `1.10.0`. */
|
|
1152
|
+
INVALID_AUTHENTICATION_TOKEN = 50014,
|
|
1153
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_NOTE | INVALID_NOTE } instead. This will be removed in `1.10.0`. */
|
|
1154
|
+
NOTE_IS_TOO_LONG = 50015,
|
|
1155
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_BULK_DELETE_COUNT | INVALID_BULK_DELETE_COUNT } instead. This will be removed in `1.10.0`. */
|
|
1156
|
+
INVALID_BULK_DELETE_QUANTITY = 50016,
|
|
1157
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_PIN_MESSAGE_CHANNEL | INVALID_PIN_MESSAGE_CHANNEL } instead. This will be removed in `1.10.0`. */
|
|
1158
|
+
INVALID_CHANNEL_PIN = 50019,
|
|
1159
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_INVITE_CODE | INVALID_INVITE_CODE } instead. This will be removed in `1.10.0`. */
|
|
1160
|
+
INVALID_OR_TAKEN_INVITE_CODE = 50020,
|
|
1161
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_CHANNEL_TYPE | INVALID_CHANNEL_TYPE } instead. This will be removed in `1.10.0`. */
|
|
1162
|
+
CANNOT_EXECUTE_ON_CHANNEL_TYPE = 50024,
|
|
1163
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_OAUTH2_ACCESS_TOKEN | INVALID_OAUTH2_ACCESS_TOKEN } instead. This will be removed in `1.10.0`. */
|
|
1164
|
+
INVALID_OAUTH_TOKEN = 50025,
|
|
1165
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_OAUTH2_MISSING_SCOPE | INVALID_OAUTH2_MISSING_SCOPE } instead. This will be removed in `1.10.0`. */
|
|
1166
|
+
MISSING_OAUTH_SCOPE = 50026,
|
|
1167
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_FILE_ASSET_SIZE | INVALID_FILE_ASSET_SIZE } instead. This will be removed in `1.10.0`. */
|
|
1168
|
+
FILE_UPLOADED_EXCEEDS_MAXIMUM_SIZE = 50045,
|
|
1169
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_FILE_ASSET | INVALID_FILE_ASSET } instead. This will be removed in `1.10.0`. */
|
|
1170
|
+
INVALID_FILE_UPLOADED = 50046,
|
|
1171
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_GIFT_SELF_REDEMPTION | INVALID_GIFT_SELF_REDEMPTION } instead. This will be removed in `1.10.0`. */
|
|
1172
|
+
CANNOT_SELF_REDEEM_GIFT = 50054,
|
|
1173
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_COUNTRY_CODE | INVALID_COUNTRY_CODE } instead. This will be removed in `1.10.0`. */
|
|
1174
|
+
SERVER_NOT_AVAILABLE_IN_LOCATION = 50095,
|
|
1175
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.INVALID_FILE_ASSET_SIZE_RESIZE_GIF | INVALID_FILE_ASSET_SIZE_RESIZE_GIF } instead. This will be removed in `1.10.0`. */
|
|
1176
|
+
FAILED_TO_RESIZE_ASSET = 50138,
|
|
1177
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.MFA_REQUIRED | MFA_REQUIRED } instead. This will be removed in `1.10.0`. */
|
|
1178
|
+
TWO_FACTOR_REQUIRED = 60003,
|
|
1179
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.RELATIONSHIP_INVALID_DISCORD_TAG | RELATIONSHIP_INVALID_DISCORD_TAG } instead. This will be removed in `1.10.0`. */
|
|
1180
|
+
NO_USERS_WITH_DISCORDTAG_EXIST = 80004,
|
|
1181
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_THREADS | TOO_MANY_THREADS } instead. This will be removed in `1.10.0`. */
|
|
1182
|
+
MAXIMUM_NUMBER_OF_ACTIVE_THREADS = 160006,
|
|
1183
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.TOO_MANY_ANNOUNCEMENT_THREADS | TOO_MANY_ANNOUNCEMENT_THREADS } instead. This will be removed in `1.10.0`. */
|
|
1184
|
+
MAXIMUM_NUMBER_OF_ACTIVE_ANNOUNCEMENT_THREADS = 160007,
|
|
1185
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.AUTOMOD_MESSAGE_BLOCKED | AUTOMOD_MESSAGE_BLOCKED } instead. This will be removed in `1.10.0`. */
|
|
1186
|
+
MESSAGE_BLOCKED_BY_AUTOMATIC_MODERATION = 200000,
|
|
1187
|
+
/** @deprecated Use {@link Constants~JSONErrorCodes.AUTOMOD_TITLE_BLOCKED | AUTOMOD_TITLE_BLOCKED } instead. This will be removed in `1.10.0`. */
|
|
1188
|
+
TITLE_BLOCKED_BY_AUTOMATIC_MODERATION = 200001
|
|
1006
1189
|
}
|