disgroove 0.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.
Files changed (151) hide show
  1. package/dist/class/Client.d.ts +306 -0
  2. package/dist/class/Client.js +771 -0
  3. package/dist/class/Client.js.map +1 -0
  4. package/dist/class/index.d.ts +1 -0
  5. package/dist/class/index.js +18 -0
  6. package/dist/class/index.js.map +1 -0
  7. package/dist/index.d.ts +5 -0
  8. package/dist/index.js +22 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/rest/Endpoints.d.ts +97 -0
  11. package/dist/rest/Endpoints.js +205 -0
  12. package/dist/rest/Endpoints.js.map +1 -0
  13. package/dist/rest/REST.d.ts +16 -0
  14. package/dist/rest/REST.js +55 -0
  15. package/dist/rest/REST.js.map +1 -0
  16. package/dist/rest/index.d.ts +2 -0
  17. package/dist/rest/index.js +32 -0
  18. package/dist/rest/index.js.map +1 -0
  19. package/dist/structures/Application.d.ts +250 -0
  20. package/dist/structures/Application.js +258 -0
  21. package/dist/structures/Application.js.map +1 -0
  22. package/dist/structures/ApplicationCommand.d.ts +68 -0
  23. package/dist/structures/ApplicationCommand.js +133 -0
  24. package/dist/structures/ApplicationCommand.js.map +1 -0
  25. package/dist/structures/AuditLogEntry.d.ts +16 -0
  26. package/dist/structures/AuditLogEntry.js +54 -0
  27. package/dist/structures/AuditLogEntry.js.map +1 -0
  28. package/dist/structures/AutoModerationRule.d.ts +29 -0
  29. package/dist/structures/AutoModerationRule.js +85 -0
  30. package/dist/structures/AutoModerationRule.js.map +1 -0
  31. package/dist/structures/Channel.d.ts +296 -0
  32. package/dist/structures/Channel.js +579 -0
  33. package/dist/structures/Channel.js.map +1 -0
  34. package/dist/structures/Guild.d.ts +452 -0
  35. package/dist/structures/Guild.js +1161 -0
  36. package/dist/structures/Guild.js.map +1 -0
  37. package/dist/structures/GuildMember.d.ts +46 -0
  38. package/dist/structures/GuildMember.js +126 -0
  39. package/dist/structures/GuildMember.js.map +1 -0
  40. package/dist/structures/GuildScheduledEvent.d.ts +45 -0
  41. package/dist/structures/GuildScheduledEvent.js +115 -0
  42. package/dist/structures/GuildScheduledEvent.js.map +1 -0
  43. package/dist/structures/GuildTemplate.d.ts +25 -0
  44. package/dist/structures/GuildTemplate.js +80 -0
  45. package/dist/structures/GuildTemplate.js.map +1 -0
  46. package/dist/structures/Integration.d.ts +28 -0
  47. package/dist/structures/Integration.js +96 -0
  48. package/dist/structures/Integration.js.map +1 -0
  49. package/dist/structures/Interaction.d.ts +204 -0
  50. package/dist/structures/Interaction.js +368 -0
  51. package/dist/structures/Interaction.js.map +1 -0
  52. package/dist/structures/Invite.d.ts +22 -0
  53. package/dist/structures/Invite.js +108 -0
  54. package/dist/structures/Invite.js.map +1 -0
  55. package/dist/structures/Message.d.ts +97 -0
  56. package/dist/structures/Message.js +327 -0
  57. package/dist/structures/Message.js.map +1 -0
  58. package/dist/structures/Role.d.ts +35 -0
  59. package/dist/structures/Role.js +81 -0
  60. package/dist/structures/Role.js.map +1 -0
  61. package/dist/structures/StageInstance.d.ts +20 -0
  62. package/dist/structures/StageInstance.js +53 -0
  63. package/dist/structures/StageInstance.js.map +1 -0
  64. package/dist/structures/User.d.ts +53 -0
  65. package/dist/structures/User.js +168 -0
  66. package/dist/structures/User.js.map +1 -0
  67. package/dist/structures/Webhook.d.ts +133 -0
  68. package/dist/structures/Webhook.js +189 -0
  69. package/dist/structures/Webhook.js.map +1 -0
  70. package/dist/structures/index.d.ts +17 -0
  71. package/dist/structures/index.js +34 -0
  72. package/dist/structures/index.js.map +1 -0
  73. package/dist/types/application-command.d.ts +97 -0
  74. package/dist/types/application-command.js +3 -0
  75. package/dist/types/application-command.js.map +1 -0
  76. package/dist/types/application-role-connection-metadata.d.ts +17 -0
  77. package/dist/types/application-role-connection-metadata.js +3 -0
  78. package/dist/types/application-role-connection-metadata.js.map +1 -0
  79. package/dist/types/application.d.ts +55 -0
  80. package/dist/types/application.js +3 -0
  81. package/dist/types/application.js.map +1 -0
  82. package/dist/types/audit-log.d.ts +77 -0
  83. package/dist/types/audit-log.js +3 -0
  84. package/dist/types/audit-log.js.map +1 -0
  85. package/dist/types/auto-moderation.d.ts +61 -0
  86. package/dist/types/auto-moderation.js +3 -0
  87. package/dist/types/auto-moderation.js.map +1 -0
  88. package/dist/types/channel.d.ts +411 -0
  89. package/dist/types/channel.js +3 -0
  90. package/dist/types/channel.js.map +1 -0
  91. package/dist/types/emoji.d.ts +22 -0
  92. package/dist/types/emoji.js +3 -0
  93. package/dist/types/emoji.js.map +1 -0
  94. package/dist/types/gateway-events.d.ts +53 -0
  95. package/dist/types/gateway-events.js +3 -0
  96. package/dist/types/gateway-events.js.map +1 -0
  97. package/dist/types/guild-scheduled-event.d.ts +55 -0
  98. package/dist/types/guild-scheduled-event.js +3 -0
  99. package/dist/types/guild-scheduled-event.js.map +1 -0
  100. package/dist/types/guild-template.d.ts +28 -0
  101. package/dist/types/guild-template.js +3 -0
  102. package/dist/types/guild-template.js.map +1 -0
  103. package/dist/types/guild.d.ts +305 -0
  104. package/dist/types/guild.js +3 -0
  105. package/dist/types/guild.js.map +1 -0
  106. package/dist/types/index.d.ts +22 -0
  107. package/dist/types/index.js +39 -0
  108. package/dist/types/index.js.map +1 -0
  109. package/dist/types/interaction.d.ts +141 -0
  110. package/dist/types/interaction.js +3 -0
  111. package/dist/types/interaction.js.map +1 -0
  112. package/dist/types/invite.d.ts +56 -0
  113. package/dist/types/invite.js +3 -0
  114. package/dist/types/invite.js.map +1 -0
  115. package/dist/types/message-components.d.ts +76 -0
  116. package/dist/types/message-components.js +3 -0
  117. package/dist/types/message-components.js.map +1 -0
  118. package/dist/types/oauth2.d.ts +14 -0
  119. package/dist/types/oauth2.js +3 -0
  120. package/dist/types/oauth2.js.map +1 -0
  121. package/dist/types/role.d.ts +42 -0
  122. package/dist/types/role.js +3 -0
  123. package/dist/types/role.js.map +1 -0
  124. package/dist/types/stage-instance.d.ts +18 -0
  125. package/dist/types/stage-instance.js +3 -0
  126. package/dist/types/stage-instance.js.map +1 -0
  127. package/dist/types/sticker.d.ts +59 -0
  128. package/dist/types/sticker.js +3 -0
  129. package/dist/types/sticker.js.map +1 -0
  130. package/dist/types/team.d.ts +28 -0
  131. package/dist/types/team.js +3 -0
  132. package/dist/types/team.js.map +1 -0
  133. package/dist/types/user.d.ts +73 -0
  134. package/dist/types/user.js +3 -0
  135. package/dist/types/user.js.map +1 -0
  136. package/dist/types/voice.d.ts +46 -0
  137. package/dist/types/voice.js +3 -0
  138. package/dist/types/voice.js.map +1 -0
  139. package/dist/types/webhook.d.ts +31 -0
  140. package/dist/types/webhook.js +3 -0
  141. package/dist/types/webhook.js.map +1 -0
  142. package/dist/utils/constants.d.ts +963 -0
  143. package/dist/utils/constants.js +1147 -0
  144. package/dist/utils/constants.js.map +1 -0
  145. package/dist/utils/index.d.ts +2 -0
  146. package/dist/utils/index.js +19 -0
  147. package/dist/utils/index.js.map +1 -0
  148. package/dist/utils/rawers.d.ts +467 -0
  149. package/dist/utils/rawers.js +295 -0
  150. package/dist/utils/rawers.js.map +1 -0
  151. package/package.json +27 -0
@@ -0,0 +1,1147 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Services = 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.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.Locale = exports.ImageFormats = void 0;
4
+ exports.MembershipState = exports.BitwisePermissionFlags = exports.RPCCloseEventCodes = exports.RPCErrorCodes = exports.JSONErrorCodes = exports.HTTPResponseCodes = exports.VoiceCloseEventCodes = exports.VoiceOPCodes = exports.GatewayCloseEventCodes = exports.GatewayOPCodes = exports.BotAuthParameters = exports.OAuth2Scopes = exports.ActivityFlags = exports.ActivityType = exports.GatewayEvents = exports.StatusTypes = exports.GatewayIntents = exports.DeviceType = exports.WebhookTypes = exports.VisibilityTypes = void 0;
5
+ /* https://discord.com/developers/docs/reference#image-formatting-image-formats */
6
+ var ImageFormats;
7
+ (function (ImageFormats) {
8
+ ImageFormats["JPG"] = "JPG";
9
+ ImageFormats["JPEG"] = "jpeg";
10
+ ImageFormats["PNG"] = "png";
11
+ ImageFormats["WebP"] = "webp";
12
+ ImageFormats["GIF"] = "gif";
13
+ ImageFormats["Lottie"] = "json";
14
+ })(ImageFormats || (exports.ImageFormats = ImageFormats = {}));
15
+ /* https://discord.com/developers/docs/reference#locales */
16
+ var Locale;
17
+ (function (Locale) {
18
+ Locale["Indonesian"] = "id";
19
+ Locale["EnglishUS"] = "en-US";
20
+ Locale["EnglishGB"] = "en-GB";
21
+ Locale["Bulgarian"] = "bg";
22
+ Locale["ChineseCN"] = "zh-CN";
23
+ Locale["ChineseTW"] = "zh-TW";
24
+ Locale["Croatian"] = "hr";
25
+ Locale["Czech"] = "cs";
26
+ Locale["Danish"] = "da";
27
+ Locale["Dutch"] = "nl";
28
+ Locale["Finnish"] = "fi";
29
+ Locale["French"] = "fr";
30
+ Locale["German"] = "de";
31
+ Locale["Greek"] = "el";
32
+ Locale["Hindi"] = "hi";
33
+ Locale["Hungarian"] = "hu";
34
+ Locale["Italian"] = "it";
35
+ Locale["Japanese"] = "ja";
36
+ Locale["Korean"] = "ko";
37
+ Locale["Lithuanian"] = "lt";
38
+ Locale["Norwegian"] = "no";
39
+ Locale["Polish"] = "pl";
40
+ Locale["PortugueseBR"] = "pt-BR";
41
+ Locale["Romanian"] = "ro";
42
+ Locale["Russian"] = "ru";
43
+ Locale["SpanishES"] = "es-ES";
44
+ Locale["Swedish"] = "sv-SE";
45
+ Locale["Thai"] = "th";
46
+ Locale["Turkish"] = "tr";
47
+ Locale["Ukrainian"] = "uk";
48
+ Locale["Vietnamese"] = "vi";
49
+ })(Locale || (exports.Locale = Locale = {}));
50
+ /* https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-types */
51
+ var ApplicationCommandTypes;
52
+ (function (ApplicationCommandTypes) {
53
+ ApplicationCommandTypes[ApplicationCommandTypes["ChatInput"] = 1] = "ChatInput";
54
+ ApplicationCommandTypes[ApplicationCommandTypes["User"] = 2] = "User";
55
+ ApplicationCommandTypes[ApplicationCommandTypes["Message"] = 3] = "Message";
56
+ })(ApplicationCommandTypes || (exports.ApplicationCommandTypes = ApplicationCommandTypes = {}));
57
+ /* https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-option-type */
58
+ var ApplicationCommandOptionType;
59
+ (function (ApplicationCommandOptionType) {
60
+ ApplicationCommandOptionType[ApplicationCommandOptionType["SubCommand"] = 1] = "SubCommand";
61
+ ApplicationCommandOptionType[ApplicationCommandOptionType["SubCommandGroup"] = 2] = "SubCommandGroup";
62
+ ApplicationCommandOptionType[ApplicationCommandOptionType["String"] = 3] = "String";
63
+ ApplicationCommandOptionType[ApplicationCommandOptionType["Integer"] = 4] = "Integer";
64
+ ApplicationCommandOptionType[ApplicationCommandOptionType["Boolean"] = 5] = "Boolean";
65
+ ApplicationCommandOptionType[ApplicationCommandOptionType["User"] = 6] = "User";
66
+ ApplicationCommandOptionType[ApplicationCommandOptionType["Channel"] = 7] = "Channel";
67
+ ApplicationCommandOptionType[ApplicationCommandOptionType["Role"] = 8] = "Role";
68
+ ApplicationCommandOptionType[ApplicationCommandOptionType["Mentionable"] = 9] = "Mentionable";
69
+ ApplicationCommandOptionType[ApplicationCommandOptionType["Number"] = 10] = "Number";
70
+ ApplicationCommandOptionType[ApplicationCommandOptionType["Attachment"] = 11] = "Attachment";
71
+ })(ApplicationCommandOptionType || (exports.ApplicationCommandOptionType = ApplicationCommandOptionType = {}));
72
+ /* https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permission-type */
73
+ var ApplicationCommandPermissionType;
74
+ (function (ApplicationCommandPermissionType) {
75
+ ApplicationCommandPermissionType[ApplicationCommandPermissionType["Role"] = 1] = "Role";
76
+ ApplicationCommandPermissionType[ApplicationCommandPermissionType["User"] = 2] = "User";
77
+ ApplicationCommandPermissionType[ApplicationCommandPermissionType["Channel"] = 3] = "Channel";
78
+ })(ApplicationCommandPermissionType || (exports.ApplicationCommandPermissionType = ApplicationCommandPermissionType = {}));
79
+ /* https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object-interaction-type */
80
+ var InteractionType;
81
+ (function (InteractionType) {
82
+ InteractionType[InteractionType["Ping"] = 1] = "Ping";
83
+ InteractionType[InteractionType["ApplicationCommand"] = 2] = "ApplicationCommand";
84
+ InteractionType[InteractionType["MessageComponent"] = 3] = "MessageComponent";
85
+ InteractionType[InteractionType["ApplicationCommandAutocomplete"] = 4] = "ApplicationCommandAutocomplete";
86
+ InteractionType[InteractionType["ModalSubmit"] = 5] = "ModalSubmit";
87
+ })(InteractionType || (exports.InteractionType = InteractionType = {}));
88
+ /* https://discord.com/developers/docs/interactions/message-components#component-object-component-types */
89
+ var ComponentTypes;
90
+ (function (ComponentTypes) {
91
+ ComponentTypes[ComponentTypes["ActionRow"] = 1] = "ActionRow";
92
+ ComponentTypes[ComponentTypes["Button"] = 2] = "Button";
93
+ ComponentTypes[ComponentTypes["SelectMenu"] = 3] = "SelectMenu";
94
+ ComponentTypes[ComponentTypes["TextInput"] = 4] = "TextInput";
95
+ ComponentTypes[ComponentTypes["UserSelect"] = 5] = "UserSelect";
96
+ ComponentTypes[ComponentTypes["RoleSelect"] = 6] = "RoleSelect";
97
+ ComponentTypes[ComponentTypes["MentionableSelect"] = 7] = "MentionableSelect";
98
+ ComponentTypes[ComponentTypes["ChannelSelect"] = 8] = "ChannelSelect";
99
+ })(ComponentTypes || (exports.ComponentTypes = ComponentTypes = {}));
100
+ /* https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-response-object-interaction-callback-type */
101
+ var InteractionCallbackType;
102
+ (function (InteractionCallbackType) {
103
+ InteractionCallbackType[InteractionCallbackType["Pong"] = 1] = "Pong";
104
+ InteractionCallbackType[InteractionCallbackType["ChannelMessageWithSource"] = 4] = "ChannelMessageWithSource";
105
+ InteractionCallbackType[InteractionCallbackType["DeferredChannelMessageWithSource"] = 5] = "DeferredChannelMessageWithSource";
106
+ InteractionCallbackType[InteractionCallbackType["DeferredUpdateMessage"] = 6] = "DeferredUpdateMessage";
107
+ InteractionCallbackType[InteractionCallbackType["UpdateMessage"] = 7] = "UpdateMessage";
108
+ InteractionCallbackType[InteractionCallbackType["ApplicationCommandAutocompleteResult"] = 8] = "ApplicationCommandAutocompleteResult";
109
+ InteractionCallbackType[InteractionCallbackType["Modal"] = 9] = "Modal";
110
+ })(InteractionCallbackType || (exports.InteractionCallbackType = InteractionCallbackType = {}));
111
+ /* https://discord.com/developers/docs/interactions/message-components#button-object-button-styles */
112
+ var ButtonStyles;
113
+ (function (ButtonStyles) {
114
+ ButtonStyles[ButtonStyles["Primary"] = 1] = "Primary";
115
+ ButtonStyles[ButtonStyles["Secondary"] = 2] = "Secondary";
116
+ ButtonStyles[ButtonStyles["Success"] = 3] = "Success";
117
+ ButtonStyles[ButtonStyles["Danger"] = 4] = "Danger";
118
+ ButtonStyles[ButtonStyles["Link"] = 5] = "Link";
119
+ })(ButtonStyles || (exports.ButtonStyles = ButtonStyles = {}));
120
+ /* https://discord.com/developers/docs/interactions/message-components#text-inputs-text-input-styles */
121
+ var TextInputStyles;
122
+ (function (TextInputStyles) {
123
+ TextInputStyles[TextInputStyles["Short"] = 1] = "Short";
124
+ TextInputStyles[TextInputStyles["Paragraph"] = 2] = "Paragraph";
125
+ })(TextInputStyles || (exports.TextInputStyles = TextInputStyles = {}));
126
+ /* https://discord.com/developers/docs/resources/application#application-object-application-flags */
127
+ var ApplicationFlags;
128
+ (function (ApplicationFlags) {
129
+ ApplicationFlags[ApplicationFlags["GatewayPresence"] = 4096] = "GatewayPresence";
130
+ ApplicationFlags[ApplicationFlags["GatewayPresenceLimited"] = 8192] = "GatewayPresenceLimited";
131
+ ApplicationFlags[ApplicationFlags["GatewayGuildMembers"] = 16384] = "GatewayGuildMembers";
132
+ ApplicationFlags[ApplicationFlags["GatewayGuildMembersLimited"] = 32768] = "GatewayGuildMembersLimited";
133
+ ApplicationFlags[ApplicationFlags["VerificationPendingGuildLimit"] = 65536] = "VerificationPendingGuildLimit";
134
+ ApplicationFlags[ApplicationFlags["Embedded"] = 131072] = "Embedded";
135
+ ApplicationFlags[ApplicationFlags["GatewayMessageContent"] = 262144] = "GatewayMessageContent";
136
+ ApplicationFlags[ApplicationFlags["GatewayMessageContentLimited"] = 524288] = "GatewayMessageContentLimited";
137
+ ApplicationFlags[ApplicationFlags["ApplicationCommandBadge"] = 8388608] = "ApplicationCommandBadge";
138
+ })(ApplicationFlags || (exports.ApplicationFlags = ApplicationFlags = {}));
139
+ /* https://discOrd.com/developers/docs/resources/application-role-connection-metadata#application-role-connection-metadata-object-application-role-connection-metadata-type */
140
+ var ApplicationRoleConnectionMetadataType;
141
+ (function (ApplicationRoleConnectionMetadataType) {
142
+ ApplicationRoleConnectionMetadataType[ApplicationRoleConnectionMetadataType["IntegerLessThanOrEqual"] = 1] = "IntegerLessThanOrEqual";
143
+ ApplicationRoleConnectionMetadataType[ApplicationRoleConnectionMetadataType["IntegerGreaterThanOrEqual"] = 2] = "IntegerGreaterThanOrEqual";
144
+ ApplicationRoleConnectionMetadataType[ApplicationRoleConnectionMetadataType["IntegerEqual"] = 3] = "IntegerEqual";
145
+ ApplicationRoleConnectionMetadataType[ApplicationRoleConnectionMetadataType["IntegerNotEqual"] = 4] = "IntegerNotEqual";
146
+ ApplicationRoleConnectionMetadataType[ApplicationRoleConnectionMetadataType["DatetimeLessThanOrEqual"] = 5] = "DatetimeLessThanOrEqual";
147
+ ApplicationRoleConnectionMetadataType[ApplicationRoleConnectionMetadataType["DatetimeGreaterThanOrEqual"] = 6] = "DatetimeGreaterThanOrEqual";
148
+ ApplicationRoleConnectionMetadataType[ApplicationRoleConnectionMetadataType["BooleanEqual"] = 7] = "BooleanEqual";
149
+ ApplicationRoleConnectionMetadataType[ApplicationRoleConnectionMetadataType["BooleanNotEqual"] = 8] = "BooleanNotEqual";
150
+ })(ApplicationRoleConnectionMetadataType || (exports.ApplicationRoleConnectionMetadataType = ApplicationRoleConnectionMetadataType = {}));
151
+ /* https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events */
152
+ var AuditLogEvents;
153
+ (function (AuditLogEvents) {
154
+ AuditLogEvents[AuditLogEvents["GuildUpdate"] = 1] = "GuildUpdate";
155
+ AuditLogEvents[AuditLogEvents["ChannelCreate"] = 10] = "ChannelCreate";
156
+ AuditLogEvents[AuditLogEvents["ChannelUpdate"] = 11] = "ChannelUpdate";
157
+ AuditLogEvents[AuditLogEvents["ChannelDelete"] = 12] = "ChannelDelete";
158
+ AuditLogEvents[AuditLogEvents["ChannelOverwriteCreate"] = 13] = "ChannelOverwriteCreate";
159
+ AuditLogEvents[AuditLogEvents["ChannelOverwriteUpdate"] = 14] = "ChannelOverwriteUpdate";
160
+ AuditLogEvents[AuditLogEvents["ChannelOverwriteDelete"] = 15] = "ChannelOverwriteDelete";
161
+ AuditLogEvents[AuditLogEvents["MemberKick"] = 20] = "MemberKick";
162
+ AuditLogEvents[AuditLogEvents["MemberPrune"] = 21] = "MemberPrune";
163
+ AuditLogEvents[AuditLogEvents["MemberBanAdd"] = 22] = "MemberBanAdd";
164
+ AuditLogEvents[AuditLogEvents["MemberBanRemove"] = 23] = "MemberBanRemove";
165
+ AuditLogEvents[AuditLogEvents["MemberUpdate"] = 24] = "MemberUpdate";
166
+ AuditLogEvents[AuditLogEvents["MemberRoleUpdate"] = 25] = "MemberRoleUpdate";
167
+ AuditLogEvents[AuditLogEvents["MemberMove"] = 26] = "MemberMove";
168
+ AuditLogEvents[AuditLogEvents["MemberDisconnect"] = 27] = "MemberDisconnect";
169
+ AuditLogEvents[AuditLogEvents["BotAdd"] = 28] = "BotAdd";
170
+ AuditLogEvents[AuditLogEvents["RoleCreate"] = 30] = "RoleCreate";
171
+ AuditLogEvents[AuditLogEvents["RoleUpdate"] = 31] = "RoleUpdate";
172
+ AuditLogEvents[AuditLogEvents["RoleDelete"] = 32] = "RoleDelete";
173
+ AuditLogEvents[AuditLogEvents["InviteCreate"] = 40] = "InviteCreate";
174
+ AuditLogEvents[AuditLogEvents["InviteUpdate"] = 41] = "InviteUpdate";
175
+ AuditLogEvents[AuditLogEvents["InviteDelete"] = 42] = "InviteDelete";
176
+ AuditLogEvents[AuditLogEvents["WebhookCreate"] = 50] = "WebhookCreate";
177
+ AuditLogEvents[AuditLogEvents["WebhookUpdate"] = 51] = "WebhookUpdate";
178
+ AuditLogEvents[AuditLogEvents["WebhookDelete"] = 52] = "WebhookDelete";
179
+ AuditLogEvents[AuditLogEvents["EmojiCreate"] = 60] = "EmojiCreate";
180
+ AuditLogEvents[AuditLogEvents["EmojiUpdate"] = 61] = "EmojiUpdate";
181
+ AuditLogEvents[AuditLogEvents["EmojiDelete"] = 62] = "EmojiDelete";
182
+ AuditLogEvents[AuditLogEvents["MessageDelete"] = 72] = "MessageDelete";
183
+ AuditLogEvents[AuditLogEvents["MessageBulkDelete"] = 73] = "MessageBulkDelete";
184
+ AuditLogEvents[AuditLogEvents["MessagePin"] = 74] = "MessagePin";
185
+ AuditLogEvents[AuditLogEvents["MessageUnpin"] = 75] = "MessageUnpin";
186
+ AuditLogEvents[AuditLogEvents["IntegrationCreate"] = 80] = "IntegrationCreate";
187
+ AuditLogEvents[AuditLogEvents["IntegrationUpdate"] = 81] = "IntegrationUpdate";
188
+ AuditLogEvents[AuditLogEvents["IntegrationDelete"] = 82] = "IntegrationDelete";
189
+ AuditLogEvents[AuditLogEvents["StageInstanceCreate"] = 83] = "StageInstanceCreate";
190
+ AuditLogEvents[AuditLogEvents["StageInstanceUpdate"] = 84] = "StageInstanceUpdate";
191
+ AuditLogEvents[AuditLogEvents["StageInstanceDelete"] = 85] = "StageInstanceDelete";
192
+ AuditLogEvents[AuditLogEvents["StickerCreate"] = 90] = "StickerCreate";
193
+ AuditLogEvents[AuditLogEvents["StickerUpdate"] = 91] = "StickerUpdate";
194
+ AuditLogEvents[AuditLogEvents["StickerDelete"] = 92] = "StickerDelete";
195
+ AuditLogEvents[AuditLogEvents["GuildScheduledEventCreate"] = 100] = "GuildScheduledEventCreate";
196
+ AuditLogEvents[AuditLogEvents["GuildScheduledEventUpdate"] = 101] = "GuildScheduledEventUpdate";
197
+ AuditLogEvents[AuditLogEvents["GuildScheduledEventDelete"] = 102] = "GuildScheduledEventDelete";
198
+ AuditLogEvents[AuditLogEvents["ThreadCreate"] = 110] = "ThreadCreate";
199
+ AuditLogEvents[AuditLogEvents["ThreadUpdate"] = 111] = "ThreadUpdate";
200
+ AuditLogEvents[AuditLogEvents["ThreadDelete"] = 112] = "ThreadDelete";
201
+ AuditLogEvents[AuditLogEvents["ApplicationCommandPermissionUpdate"] = 121] = "ApplicationCommandPermissionUpdate";
202
+ AuditLogEvents[AuditLogEvents["AutoModerationRuleCreate"] = 140] = "AutoModerationRuleCreate";
203
+ AuditLogEvents[AuditLogEvents["AutoModerationRuleUpdate"] = 141] = "AutoModerationRuleUpdate";
204
+ AuditLogEvents[AuditLogEvents["AutoModerationRuleDelete"] = 142] = "AutoModerationRuleDelete";
205
+ AuditLogEvents[AuditLogEvents["AutoModerationBlockMessage"] = 143] = "AutoModerationBlockMessage";
206
+ AuditLogEvents[AuditLogEvents["AutoModerationFlagToChannel"] = 144] = "AutoModerationFlagToChannel";
207
+ AuditLogEvents[AuditLogEvents["AutoModerationUserCommunicationDisabled"] = 145] = "AutoModerationUserCommunicationDisabled";
208
+ })(AuditLogEvents || (exports.AuditLogEvents = AuditLogEvents = {}));
209
+ /* https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-trigger-types */
210
+ var TriggerTypes;
211
+ (function (TriggerTypes) {
212
+ TriggerTypes[TriggerTypes["Keyword"] = 1] = "Keyword";
213
+ TriggerTypes[TriggerTypes["Spam"] = 3] = "Spam";
214
+ TriggerTypes[TriggerTypes["KeywordPreset"] = 4] = "KeywordPreset";
215
+ TriggerTypes[TriggerTypes["MentionSpam"] = 5] = "MentionSpam";
216
+ })(TriggerTypes || (exports.TriggerTypes = TriggerTypes = {}));
217
+ /* https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-preset-types */
218
+ var KeywordPresetTypes;
219
+ (function (KeywordPresetTypes) {
220
+ KeywordPresetTypes[KeywordPresetTypes["Profanity"] = 1] = "Profanity";
221
+ KeywordPresetTypes[KeywordPresetTypes["SexualContent"] = 2] = "SexualContent";
222
+ KeywordPresetTypes[KeywordPresetTypes["Slurs"] = 3] = "Slurs";
223
+ })(KeywordPresetTypes || (exports.KeywordPresetTypes = KeywordPresetTypes = {}));
224
+ /* https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-event-types */
225
+ var EventTypes;
226
+ (function (EventTypes) {
227
+ EventTypes[EventTypes["MessageSend"] = 1] = "MessageSend";
228
+ })(EventTypes || (exports.EventTypes = EventTypes = {}));
229
+ /* https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-action-object-action-types */
230
+ var ActionTypes;
231
+ (function (ActionTypes) {
232
+ ActionTypes[ActionTypes["BlockMessage"] = 1] = "BlockMessage";
233
+ ActionTypes[ActionTypes["SendAlertMessage"] = 2] = "SendAlertMessage";
234
+ ActionTypes[ActionTypes["Timeout"] = 3] = "Timeout";
235
+ })(ActionTypes || (exports.ActionTypes = ActionTypes = {}));
236
+ /* https://discord.com/developers/docs/resources/channel#channel-object-channel-types */
237
+ var ChannelTypes;
238
+ (function (ChannelTypes) {
239
+ ChannelTypes[ChannelTypes["GuildText"] = 0] = "GuildText";
240
+ ChannelTypes[ChannelTypes["DM"] = 1] = "DM";
241
+ ChannelTypes[ChannelTypes["GuildVoice"] = 2] = "GuildVoice";
242
+ ChannelTypes[ChannelTypes["GroupDM"] = 3] = "GroupDM";
243
+ ChannelTypes[ChannelTypes["GuildCategory"] = 4] = "GuildCategory";
244
+ ChannelTypes[ChannelTypes["GuildAnnouncement"] = 5] = "GuildAnnouncement";
245
+ ChannelTypes[ChannelTypes["AnnouncementThread"] = 10] = "AnnouncementThread";
246
+ ChannelTypes[ChannelTypes["PublicThread"] = 11] = "PublicThread";
247
+ ChannelTypes[ChannelTypes["PrivateThread"] = 12] = "PrivateThread";
248
+ ChannelTypes[ChannelTypes["GuildStageVoice"] = 13] = "GuildStageVoice";
249
+ ChannelTypes[ChannelTypes["GuildDirectory"] = 14] = "GuildDirectory";
250
+ ChannelTypes[ChannelTypes["GuildForum"] = 15] = "GuildForum";
251
+ })(ChannelTypes || (exports.ChannelTypes = ChannelTypes = {}));
252
+ /* https://discord.com/developers/docs/resources/channel#channel-object-video-quality-modes */
253
+ var VideoQualityModes;
254
+ (function (VideoQualityModes) {
255
+ VideoQualityModes[VideoQualityModes["Auto"] = 1] = "Auto";
256
+ VideoQualityModes[VideoQualityModes["Full"] = 2] = "Full";
257
+ })(VideoQualityModes || (exports.VideoQualityModes = VideoQualityModes = {}));
258
+ /* https://discord.com/developers/docs/resources/channel#channel-object-channel-flags */
259
+ var ChannelFlags;
260
+ (function (ChannelFlags) {
261
+ ChannelFlags[ChannelFlags["Pinned"] = 2] = "Pinned";
262
+ ChannelFlags[ChannelFlags["RequiredTag"] = 16] = "RequiredTag";
263
+ })(ChannelFlags || (exports.ChannelFlags = ChannelFlags = {}));
264
+ /* https://discord.com/developers/docs/resources/channel#channel-object-sort-order-types */
265
+ var SortOrderTypes;
266
+ (function (SortOrderTypes) {
267
+ SortOrderTypes[SortOrderTypes["LatestActivity"] = 0] = "LatestActivity";
268
+ SortOrderTypes[SortOrderTypes["CreationDate"] = 1] = "CreationDate";
269
+ })(SortOrderTypes || (exports.SortOrderTypes = SortOrderTypes = {}));
270
+ /* https://discord.com/developers/docs/resources/channel#channel-object-forum-layout-types */
271
+ var ForumLayoutTypes;
272
+ (function (ForumLayoutTypes) {
273
+ ForumLayoutTypes[ForumLayoutTypes["NotSet"] = 0] = "NotSet";
274
+ ForumLayoutTypes[ForumLayoutTypes["ListView"] = 1] = "ListView";
275
+ ForumLayoutTypes[ForumLayoutTypes["GalleryView"] = 2] = "GalleryView";
276
+ })(ForumLayoutTypes || (exports.ForumLayoutTypes = ForumLayoutTypes = {}));
277
+ /* https://discord.com/developers/docs/resources/channel#message-object-message-types */
278
+ var MessageTypes;
279
+ (function (MessageTypes) {
280
+ MessageTypes[MessageTypes["Default"] = 0] = "Default";
281
+ MessageTypes[MessageTypes["RecipientAdd"] = 1] = "RecipientAdd";
282
+ MessageTypes[MessageTypes["RecipientRemove"] = 2] = "RecipientRemove";
283
+ MessageTypes[MessageTypes["Call"] = 3] = "Call";
284
+ MessageTypes[MessageTypes["ChannelNameChange"] = 4] = "ChannelNameChange";
285
+ MessageTypes[MessageTypes["ChannelIconChange"] = 5] = "ChannelIconChange";
286
+ MessageTypes[MessageTypes["ChannelPinnedMessage"] = 6] = "ChannelPinnedMessage";
287
+ MessageTypes[MessageTypes["UserJoin"] = 7] = "UserJoin";
288
+ MessageTypes[MessageTypes["GuildBoost"] = 8] = "GuildBoost";
289
+ MessageTypes[MessageTypes["GuildBoostTier1"] = 9] = "GuildBoostTier1";
290
+ MessageTypes[MessageTypes["GuildBoostTier2"] = 10] = "GuildBoostTier2";
291
+ MessageTypes[MessageTypes["GuildBoostTier3"] = 11] = "GuildBoostTier3";
292
+ MessageTypes[MessageTypes["ChannelFollowAdd"] = 12] = "ChannelFollowAdd";
293
+ MessageTypes[MessageTypes["GuildDiscoveryDisqualified"] = 14] = "GuildDiscoveryDisqualified";
294
+ MessageTypes[MessageTypes["GuildDiscoveryRequalified"] = 15] = "GuildDiscoveryRequalified";
295
+ MessageTypes[MessageTypes["GuildDiscoveryGracePeriodInitialWarning"] = 16] = "GuildDiscoveryGracePeriodInitialWarning";
296
+ MessageTypes[MessageTypes["GuildDiscoveryGracePeriodFinalWarning"] = 17] = "GuildDiscoveryGracePeriodFinalWarning";
297
+ MessageTypes[MessageTypes["ThreadCreated"] = 18] = "ThreadCreated";
298
+ MessageTypes[MessageTypes["Reply"] = 19] = "Reply";
299
+ MessageTypes[MessageTypes["ChatInputCommand"] = 20] = "ChatInputCommand";
300
+ MessageTypes[MessageTypes["ThreadStarterMessage"] = 21] = "ThreadStarterMessage";
301
+ MessageTypes[MessageTypes["GuildInviteReminder"] = 22] = "GuildInviteReminder";
302
+ MessageTypes[MessageTypes["ContextMenuCommand"] = 23] = "ContextMenuCommand";
303
+ MessageTypes[MessageTypes["AutoModerationAction"] = 24] = "AutoModerationAction";
304
+ MessageTypes[MessageTypes["RoleSubscriptionPurchase"] = 25] = "RoleSubscriptionPurchase";
305
+ MessageTypes[MessageTypes["InteractionPremiumUpsell"] = 26] = "InteractionPremiumUpsell";
306
+ MessageTypes[MessageTypes["StageStart"] = 27] = "StageStart";
307
+ MessageTypes[MessageTypes["StageEnd"] = 28] = "StageEnd";
308
+ MessageTypes[MessageTypes["StageSpeaker"] = 29] = "StageSpeaker";
309
+ MessageTypes[MessageTypes["StageTopic"] = 31] = "StageTopic";
310
+ MessageTypes[MessageTypes["GuildApplicationPremiumSubscription"] = 32] = "GuildApplicationPremiumSubscription";
311
+ })(MessageTypes || (exports.MessageTypes = MessageTypes = {}));
312
+ /* https://discord.com/developers/docs/resources/channel#message-object-message-activity-types */
313
+ var MessageActivityTypes;
314
+ (function (MessageActivityTypes) {
315
+ MessageActivityTypes[MessageActivityTypes["Join"] = 1] = "Join";
316
+ MessageActivityTypes[MessageActivityTypes["Spectate"] = 2] = "Spectate";
317
+ MessageActivityTypes[MessageActivityTypes["Listen"] = 3] = "Listen";
318
+ MessageActivityTypes[MessageActivityTypes["JoinRequest"] = 5] = "JoinRequest";
319
+ })(MessageActivityTypes || (exports.MessageActivityTypes = MessageActivityTypes = {}));
320
+ /* https://discord.com/developers/docs/resources/channel#message-object-message-flags */
321
+ var MessageFlags;
322
+ (function (MessageFlags) {
323
+ MessageFlags[MessageFlags["Crossposted"] = 1] = "Crossposted";
324
+ MessageFlags[MessageFlags["IsCrosspost"] = 2] = "IsCrosspost";
325
+ MessageFlags[MessageFlags["SuppressEmbeds"] = 4] = "SuppressEmbeds";
326
+ MessageFlags[MessageFlags["SourceMessageDeleted"] = 8] = "SourceMessageDeleted";
327
+ MessageFlags[MessageFlags["Urgent"] = 16] = "Urgent";
328
+ MessageFlags[MessageFlags["HasThread"] = 32] = "HasThread";
329
+ MessageFlags[MessageFlags["Ephemeral"] = 64] = "Ephemeral";
330
+ MessageFlags[MessageFlags["Loading"] = 128] = "Loading";
331
+ MessageFlags[MessageFlags["FailedToMentionSomeRolesInThread"] = 256] = "FailedToMentionSomeRolesInThread";
332
+ MessageFlags[MessageFlags["SuppressNotifications"] = 4096] = "SuppressNotifications";
333
+ })(MessageFlags || (exports.MessageFlags = MessageFlags = {}));
334
+ /* https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types */
335
+ var AllowedMentionTypes;
336
+ (function (AllowedMentionTypes) {
337
+ AllowedMentionTypes["RoleMentions"] = "roles";
338
+ AllowedMentionTypes["UserMentions"] = "users";
339
+ AllowedMentionTypes["EveryoneMentions"] = "everyone";
340
+ })(AllowedMentionTypes || (exports.AllowedMentionTypes = AllowedMentionTypes = {}));
341
+ /* https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level */
342
+ var DefaultMessageNotificationLevel;
343
+ (function (DefaultMessageNotificationLevel) {
344
+ DefaultMessageNotificationLevel[DefaultMessageNotificationLevel["AllMessages"] = 0] = "AllMessages";
345
+ DefaultMessageNotificationLevel[DefaultMessageNotificationLevel["OnlyMentions"] = 1] = "OnlyMentions";
346
+ })(DefaultMessageNotificationLevel || (exports.DefaultMessageNotificationLevel = DefaultMessageNotificationLevel = {}));
347
+ /* https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level */
348
+ var ExplicitContentFilterLevel;
349
+ (function (ExplicitContentFilterLevel) {
350
+ ExplicitContentFilterLevel[ExplicitContentFilterLevel["Disabled"] = 0] = "Disabled";
351
+ ExplicitContentFilterLevel[ExplicitContentFilterLevel["MembersWithoutRoles"] = 1] = "MembersWithoutRoles";
352
+ ExplicitContentFilterLevel[ExplicitContentFilterLevel["AllMembers"] = 2] = "AllMembers";
353
+ })(ExplicitContentFilterLevel || (exports.ExplicitContentFilterLevel = ExplicitContentFilterLevel = {}));
354
+ /* https://discord.com/developers/docs/resources/guild#guild-object-mfa-level */
355
+ var MFALevel;
356
+ (function (MFALevel) {
357
+ MFALevel[MFALevel["None"] = 0] = "None";
358
+ MFALevel[MFALevel["Elevated"] = 1] = "Elevated";
359
+ })(MFALevel || (exports.MFALevel = MFALevel = {}));
360
+ /* https://discord.com/developers/docs/resources/guild#guild-object-verification-level */
361
+ var VerificationLevel;
362
+ (function (VerificationLevel) {
363
+ VerificationLevel[VerificationLevel["None"] = 0] = "None";
364
+ VerificationLevel[VerificationLevel["Low"] = 1] = "Low";
365
+ VerificationLevel[VerificationLevel["Medium"] = 2] = "Medium";
366
+ VerificationLevel[VerificationLevel["High"] = 3] = "High";
367
+ VerificationLevel[VerificationLevel["VeryHigh"] = 4] = "VeryHigh";
368
+ })(VerificationLevel || (exports.VerificationLevel = VerificationLevel = {}));
369
+ /* https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level */
370
+ var GuildNSFWLevel;
371
+ (function (GuildNSFWLevel) {
372
+ GuildNSFWLevel[GuildNSFWLevel["Default"] = 0] = "Default";
373
+ GuildNSFWLevel[GuildNSFWLevel["Explicit"] = 1] = "Explicit";
374
+ GuildNSFWLevel[GuildNSFWLevel["Safe"] = 2] = "Safe";
375
+ GuildNSFWLevel[GuildNSFWLevel["AgeRestricted"] = 3] = "AgeRestricted";
376
+ })(GuildNSFWLevel || (exports.GuildNSFWLevel = GuildNSFWLevel = {}));
377
+ /* https://discord.com/developers/docs/resources/guild#guild-object-premium-tier */
378
+ var PremiumTier;
379
+ (function (PremiumTier) {
380
+ PremiumTier[PremiumTier["None"] = 0] = "None";
381
+ PremiumTier[PremiumTier["Tier_1"] = 1] = "Tier_1";
382
+ PremiumTier[PremiumTier["Tier_2"] = 2] = "Tier_2";
383
+ PremiumTier[PremiumTier["Tier_3"] = 3] = "Tier_3";
384
+ })(PremiumTier || (exports.PremiumTier = PremiumTier = {}));
385
+ /* https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags */
386
+ var SystemChannelFlags;
387
+ (function (SystemChannelFlags) {
388
+ SystemChannelFlags[SystemChannelFlags["SuppressJoinNotifications"] = 1] = "SuppressJoinNotifications";
389
+ SystemChannelFlags[SystemChannelFlags["SuppressPremiumSubscriptions"] = 2] = "SuppressPremiumSubscriptions";
390
+ SystemChannelFlags[SystemChannelFlags["SuppressGuildReminderNotifications"] = 4] = "SuppressGuildReminderNotifications";
391
+ SystemChannelFlags[SystemChannelFlags["SuppressJoinNotificationReplies"] = 8] = "SuppressJoinNotificationReplies";
392
+ SystemChannelFlags[SystemChannelFlags["SuppressRoleSubscriptionPurchaseNotifications"] = 16] = "SuppressRoleSubscriptionPurchaseNotifications";
393
+ SystemChannelFlags[SystemChannelFlags["SuppressRoleSubscriptionPurchaseNotificationReplies"] = 32] = "SuppressRoleSubscriptionPurchaseNotificationReplies";
394
+ })(SystemChannelFlags || (exports.SystemChannelFlags = SystemChannelFlags = {}));
395
+ /* https://discord.com/developers/docs/resources/guild#guild-object-guild-features */
396
+ var GuildFeatures;
397
+ (function (GuildFeatures) {
398
+ GuildFeatures["AnimatedBanner"] = "ANIMATED_BANNER";
399
+ GuildFeatures["AnimatedIcon"] = "ANIMATED_ICON";
400
+ GuildFeatures["ApplicationCommandPermissionsV2"] = "APPLICATION_COMMAND_PERMISSIONS_V2";
401
+ GuildFeatures["AutoModeration"] = "AUTO_MODERATION";
402
+ GuildFeatures["Banner"] = "BANNER";
403
+ GuildFeatures["Community"] = "COMMUNITY";
404
+ GuildFeatures["CreatorMonetizableProvisional"] = "CREATOR_MONETIZABLE_PROVISIONAL";
405
+ GuildFeatures["CreatorStorePage"] = "CREATOR_STORE_PAGE";
406
+ GuildFeatures["DeveloperSupportServer"] = "DEVELOPER_SUPPORT_SERVER";
407
+ GuildFeatures["Discoverable"] = "DISCOVERABLE";
408
+ GuildFeatures["Featurable"] = "FEATURABLE";
409
+ GuildFeatures["InvitesDisabled"] = "INVITES_DISABLED";
410
+ GuildFeatures["InviteSplash"] = "INVITE_SPLASH";
411
+ GuildFeatures["MemberVerificationGateEnabled"] = "MEMBER_VERIFICATION_GATE_ENABLED";
412
+ GuildFeatures["MoreStickers"] = "MORE_STICKERS";
413
+ GuildFeatures["News"] = "NEWS";
414
+ GuildFeatures["Partnered"] = "PARTNERED";
415
+ GuildFeatures["PreviewEnabled"] = "PREVIEW_ENABLED";
416
+ GuildFeatures["RaidAlertsDisabled"] = "RaidAlertsDisabled";
417
+ GuildFeatures["RoleIcons"] = "ROLE_ICONS";
418
+ GuildFeatures["RoleSubscriptionsAvailableForPurchase"] = "ROLE_SUBSCRIPTIONS_AVAILABLE_FOR_PURCHASE";
419
+ GuildFeatures["RoleSubscriptionsEnabled"] = "ROLE_SUBSCRIPTIONS_ENABLED";
420
+ GuildFeatures["TicketedEventsEnabled"] = "TICKETED_EVENTS_ENABLED";
421
+ GuildFeatures["VanityURL"] = "VANITY_URL";
422
+ GuildFeatures["Verified"] = "VERIFIED";
423
+ GuildFeatures["VipRegions"] = "VIP_REGIONS";
424
+ GuildFeatures["WelcomeScreenEnabled"] = "WELCOME_SCREEN_ENABLED";
425
+ })(GuildFeatures || (exports.GuildFeatures = GuildFeatures = {}));
426
+ /* https://discord.com/developers/docs/resources/guild#guild-object-mutable-guild-features */
427
+ var MutableGuildFeatures;
428
+ (function (MutableGuildFeatures) {
429
+ MutableGuildFeatures["Community"] = "COMMUNITY";
430
+ MutableGuildFeatures["InvitesDisabled"] = "INVITES_DISABLED";
431
+ MutableGuildFeatures["Discoverable"] = "DISCOVERABLE";
432
+ })(MutableGuildFeatures || (exports.MutableGuildFeatures = MutableGuildFeatures = {}));
433
+ /* https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-flags */
434
+ var GuildMemberFlags;
435
+ (function (GuildMemberFlags) {
436
+ GuildMemberFlags[GuildMemberFlags["DidRejoin"] = 1] = "DidRejoin";
437
+ GuildMemberFlags[GuildMemberFlags["CompletedOnboarding"] = 2] = "CompletedOnboarding";
438
+ GuildMemberFlags[GuildMemberFlags["BypassesVerification"] = 4] = "BypassesVerification";
439
+ GuildMemberFlags[GuildMemberFlags["StartedOnboarding"] = 8] = "StartedOnboarding";
440
+ })(GuildMemberFlags || (exports.GuildMemberFlags = GuildMemberFlags = {}));
441
+ /* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors */
442
+ var IntegrationExpireBehaviors;
443
+ (function (IntegrationExpireBehaviors) {
444
+ IntegrationExpireBehaviors[IntegrationExpireBehaviors["RemoveRole"] = 0] = "RemoveRole";
445
+ IntegrationExpireBehaviors[IntegrationExpireBehaviors["Kick"] = 1] = "Kick";
446
+ })(IntegrationExpireBehaviors || (exports.IntegrationExpireBehaviors = IntegrationExpireBehaviors = {}));
447
+ /* https://discord.com/developers/docs/resources/guild#guild-onboarding-object-onboarding-mode */
448
+ var OnboardingMode;
449
+ (function (OnboardingMode) {
450
+ OnboardingMode[OnboardingMode["OnboardingDefault"] = 0] = "OnboardingDefault";
451
+ OnboardingMode[OnboardingMode["OnboardingAdvanced"] = 1] = "OnboardingAdvanced";
452
+ })(OnboardingMode || (exports.OnboardingMode = OnboardingMode = {}));
453
+ /* https://discord.com/developers/docs/resources/guild#guild-onboarding-object-prompt-types */
454
+ var PromptTypes;
455
+ (function (PromptTypes) {
456
+ PromptTypes[PromptTypes["MultipleChoice"] = 0] = "MultipleChoice";
457
+ PromptTypes[PromptTypes["Dropdown"] = 1] = "Dropdown";
458
+ })(PromptTypes || (exports.PromptTypes = PromptTypes = {}));
459
+ /* https://discord.com/developers/docs/resources/guild#get-guild-widget-image-widget-style-options */
460
+ var ImageWidgetStyleOptions;
461
+ (function (ImageWidgetStyleOptions) {
462
+ ImageWidgetStyleOptions["Shield"] = "shield";
463
+ ImageWidgetStyleOptions["Banner1"] = "banner1";
464
+ ImageWidgetStyleOptions["Banner2"] = "banner2";
465
+ ImageWidgetStyleOptions["Banner3"] = "banner3";
466
+ ImageWidgetStyleOptions["Banner4"] = "banner4";
467
+ })(ImageWidgetStyleOptions || (exports.ImageWidgetStyleOptions = ImageWidgetStyleOptions = {}));
468
+ /* https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-privacy-level */
469
+ var GuildScheduledEventPrivacyLevel;
470
+ (function (GuildScheduledEventPrivacyLevel) {
471
+ GuildScheduledEventPrivacyLevel[GuildScheduledEventPrivacyLevel["GuildOnly"] = 2] = "GuildOnly";
472
+ })(GuildScheduledEventPrivacyLevel || (exports.GuildScheduledEventPrivacyLevel = GuildScheduledEventPrivacyLevel = {}));
473
+ /* https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-entity-types */
474
+ var GuildScheduledEventEntityTypes;
475
+ (function (GuildScheduledEventEntityTypes) {
476
+ GuildScheduledEventEntityTypes[GuildScheduledEventEntityTypes["StageIstance"] = 1] = "StageIstance";
477
+ GuildScheduledEventEntityTypes[GuildScheduledEventEntityTypes["Voice"] = 2] = "Voice";
478
+ GuildScheduledEventEntityTypes[GuildScheduledEventEntityTypes["External"] = 3] = "External";
479
+ })(GuildScheduledEventEntityTypes || (exports.GuildScheduledEventEntityTypes = GuildScheduledEventEntityTypes = {}));
480
+ /* https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-status */
481
+ var GuildScheduledEventStatus;
482
+ (function (GuildScheduledEventStatus) {
483
+ GuildScheduledEventStatus[GuildScheduledEventStatus["Scheduled"] = 1] = "Scheduled";
484
+ GuildScheduledEventStatus[GuildScheduledEventStatus["Active"] = 2] = "Active";
485
+ GuildScheduledEventStatus[GuildScheduledEventStatus["Completed"] = 3] = "Completed";
486
+ GuildScheduledEventStatus[GuildScheduledEventStatus["Canceled"] = 4] = "Canceled";
487
+ })(GuildScheduledEventStatus || (exports.GuildScheduledEventStatus = GuildScheduledEventStatus = {}));
488
+ /* https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types */
489
+ var InviteTargetTypes;
490
+ (function (InviteTargetTypes) {
491
+ InviteTargetTypes[InviteTargetTypes["Stream"] = 1] = "Stream";
492
+ InviteTargetTypes[InviteTargetTypes["EmbeddedApplication"] = 2] = "EmbeddedApplication";
493
+ })(InviteTargetTypes || (exports.InviteTargetTypes = InviteTargetTypes = {}));
494
+ /* https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-privacy-level */
495
+ var PrivacyLevel;
496
+ (function (PrivacyLevel) {
497
+ PrivacyLevel[PrivacyLevel["Public"] = 1] = "Public";
498
+ PrivacyLevel[PrivacyLevel["GuildOnly"] = 2] = "GuildOnly";
499
+ })(PrivacyLevel || (exports.PrivacyLevel = PrivacyLevel = {}));
500
+ /* https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-types */
501
+ var StickerTypes;
502
+ (function (StickerTypes) {
503
+ StickerTypes[StickerTypes["Standard"] = 1] = "Standard";
504
+ StickerTypes[StickerTypes["Guild"] = 2] = "Guild";
505
+ })(StickerTypes || (exports.StickerTypes = StickerTypes = {}));
506
+ /* https://discord.com/developers/docs/resources/sticker#sticker-object-sticker-format-types */
507
+ var StickerFormatTypes;
508
+ (function (StickerFormatTypes) {
509
+ StickerFormatTypes[StickerFormatTypes["PNG"] = 1] = "PNG";
510
+ StickerFormatTypes[StickerFormatTypes["APNG"] = 2] = "APNG";
511
+ StickerFormatTypes[StickerFormatTypes["LOTTIE"] = 3] = "LOTTIE";
512
+ StickerFormatTypes[StickerFormatTypes["GIF"] = 4] = "GIF";
513
+ })(StickerFormatTypes || (exports.StickerFormatTypes = StickerFormatTypes = {}));
514
+ /* https://discord.com/developers/docs/resources/user#user-object-user-flags */
515
+ var UserFlags;
516
+ (function (UserFlags) {
517
+ UserFlags[UserFlags["Staff"] = 1] = "Staff";
518
+ UserFlags[UserFlags["Partner"] = 2] = "Partner";
519
+ UserFlags[UserFlags["Hypesquad"] = 4] = "Hypesquad";
520
+ UserFlags[UserFlags["BugHunterLevel_1"] = 8] = "BugHunterLevel_1";
521
+ UserFlags[UserFlags["HypesquadOnlineHouse_1"] = 64] = "HypesquadOnlineHouse_1";
522
+ UserFlags[UserFlags["HypesquadOnlineHouse_2"] = 128] = "HypesquadOnlineHouse_2";
523
+ UserFlags[UserFlags["HypesquadOnlineHouse_3"] = 256] = "HypesquadOnlineHouse_3";
524
+ UserFlags[UserFlags["PremiumEarlySupporter"] = 512] = "PremiumEarlySupporter";
525
+ UserFlags[UserFlags["TeamPseudoUser"] = 1024] = "TeamPseudoUser";
526
+ UserFlags[UserFlags["BugHunterLevel_2"] = 16384] = "BugHunterLevel_2";
527
+ UserFlags[UserFlags["VerifiedBot"] = 65536] = "VerifiedBot";
528
+ UserFlags[UserFlags["VerifiedDeveloper"] = 131072] = "VerifiedDeveloper";
529
+ UserFlags[UserFlags["CertifiedModerator"] = 262144] = "CertifiedModerator";
530
+ UserFlags[UserFlags["BotHTTPInteractions"] = 524288] = "BotHTTPInteractions";
531
+ UserFlags[UserFlags["ActiveDeveloper"] = 4194304] = "ActiveDeveloper";
532
+ })(UserFlags || (exports.UserFlags = UserFlags = {}));
533
+ /* https://discord.com/developers/docs/resources/user#user-object-premium-types */
534
+ var PremiumTypes;
535
+ (function (PremiumTypes) {
536
+ PremiumTypes[PremiumTypes["None"] = 0] = "None";
537
+ PremiumTypes[PremiumTypes["NitroClassic"] = 1] = "NitroClassic";
538
+ PremiumTypes[PremiumTypes["Nitro"] = 2] = "Nitro";
539
+ PremiumTypes[PremiumTypes["NitroBasic"] = 3] = "NitroBasic";
540
+ })(PremiumTypes || (exports.PremiumTypes = PremiumTypes = {}));
541
+ /* https://discord.com/developers/docs/resources/user#connection-object-services */
542
+ var Services;
543
+ (function (Services) {
544
+ Services["BattleNet"] = "battlenet";
545
+ Services["Ebay"] = "ebay";
546
+ Services["EpicGames"] = "epicgames";
547
+ Services["Facebook"] = "facebook";
548
+ Services["GitHub"] = "github";
549
+ Services["Instagram"] = "instagram";
550
+ Services["LeagueOfLegends"] = "leagueoflegends";
551
+ Services["PayPal"] = "paypal";
552
+ Services["Playstation"] = "playstation";
553
+ Services["Reddit"] = "reddit";
554
+ Services["RiotGames"] = "riotgames";
555
+ Services["Spotify"] = "spotify";
556
+ Services["Skype"] = "skype";
557
+ Services["Steam"] = "steam";
558
+ Services["TikTok"] = "tiktok";
559
+ Services["Twitch"] = "twitch";
560
+ Services["Twitter"] = "twitter";
561
+ Services["Xbox"] = "xbox";
562
+ Services["YouTube"] = "youtube";
563
+ })(Services || (exports.Services = Services = {}));
564
+ /* https://discord.com/developers/docs/resources/user#connection-object-visibility-types */
565
+ var VisibilityTypes;
566
+ (function (VisibilityTypes) {
567
+ VisibilityTypes[VisibilityTypes["None"] = 0] = "None";
568
+ VisibilityTypes[VisibilityTypes["Everyone"] = 1] = "Everyone";
569
+ })(VisibilityTypes || (exports.VisibilityTypes = VisibilityTypes = {}));
570
+ /* https://discord.com/developers/docs/resources/webhook#webhook-object-webhook-types */
571
+ var WebhookTypes;
572
+ (function (WebhookTypes) {
573
+ WebhookTypes[WebhookTypes["Incoming"] = 1] = "Incoming";
574
+ WebhookTypes[WebhookTypes["ChannelFollower"] = 2] = "ChannelFollower";
575
+ WebhookTypes[WebhookTypes["Application"] = 3] = "Application";
576
+ })(WebhookTypes || (exports.WebhookTypes = WebhookTypes = {}));
577
+ /* https://discord.com/developers/docs/topics/certified-devices#models-device-type */
578
+ var DeviceType;
579
+ (function (DeviceType) {
580
+ DeviceType["AudioInput"] = "audioinput";
581
+ DeviceType["AudioOutput"] = "audiooutput";
582
+ DeviceType["VideoInput"] = "videoinput";
583
+ })(DeviceType || (exports.DeviceType = DeviceType = {}));
584
+ /* https://discord.com/developers/docs/topics/gateway#list-of-intents */
585
+ var GatewayIntents;
586
+ (function (GatewayIntents) {
587
+ GatewayIntents[GatewayIntents["Guilds"] = 1] = "Guilds";
588
+ GatewayIntents[GatewayIntents["GuildMembers"] = 2] = "GuildMembers";
589
+ GatewayIntents[GatewayIntents["GuildModeration"] = 4] = "GuildModeration";
590
+ GatewayIntents[GatewayIntents["GuildEmojisAndStickers"] = 8] = "GuildEmojisAndStickers";
591
+ GatewayIntents[GatewayIntents["GuildIntegrations"] = 16] = "GuildIntegrations";
592
+ GatewayIntents[GatewayIntents["GuildWebhooks"] = 32] = "GuildWebhooks";
593
+ GatewayIntents[GatewayIntents["GuildInvites"] = 64] = "GuildInvites";
594
+ GatewayIntents[GatewayIntents["GuildVoiceStates"] = 128] = "GuildVoiceStates";
595
+ GatewayIntents[GatewayIntents["GuildPresences"] = 256] = "GuildPresences";
596
+ GatewayIntents[GatewayIntents["GuildMessages"] = 512] = "GuildMessages";
597
+ GatewayIntents[GatewayIntents["GuildMessageReactions"] = 1024] = "GuildMessageReactions";
598
+ GatewayIntents[GatewayIntents["GuildMessageTyping"] = 2048] = "GuildMessageTyping";
599
+ GatewayIntents[GatewayIntents["DirectMessages"] = 4096] = "DirectMessages";
600
+ GatewayIntents[GatewayIntents["DirectMessageReactions"] = 8192] = "DirectMessageReactions";
601
+ GatewayIntents[GatewayIntents["DirectMessageTyping"] = 16384] = "DirectMessageTyping";
602
+ GatewayIntents[GatewayIntents["MessageContent"] = 32768] = "MessageContent";
603
+ GatewayIntents[GatewayIntents["GuildScheduledEvents"] = 65536] = "GuildScheduledEvents";
604
+ GatewayIntents[GatewayIntents["AutoModerationConfiguration"] = 1048576] = "AutoModerationConfiguration";
605
+ GatewayIntents[GatewayIntents["AutoModerationActionExecution"] = 2097152] = "AutoModerationActionExecution";
606
+ GatewayIntents[GatewayIntents["AllNonPrivileged"] = 3243773] = "AllNonPrivileged";
607
+ GatewayIntents[GatewayIntents["AllPrivileged"] = 33026] = "AllPrivileged";
608
+ GatewayIntents[GatewayIntents["All"] = 3276799] = "All";
609
+ })(GatewayIntents || (exports.GatewayIntents = GatewayIntents = {}));
610
+ /* https://discord.com/developers/docs/topics/gateway-events#update-presence-status-types */
611
+ var StatusTypes;
612
+ (function (StatusTypes) {
613
+ StatusTypes["Online"] = "online";
614
+ StatusTypes["DoNotDisturb"] = "dnd";
615
+ StatusTypes["Idle"] = "idle";
616
+ StatusTypes["Invisible"] = "invisible";
617
+ StatusTypes["Offline"] = "offline";
618
+ })(StatusTypes || (exports.StatusTypes = StatusTypes = {}));
619
+ /* https://discord.com/developers/docs/topics/gateway-events#receive-events */
620
+ var GatewayEvents;
621
+ (function (GatewayEvents) {
622
+ GatewayEvents["Hello"] = "hello";
623
+ GatewayEvents["Ready"] = "ready";
624
+ GatewayEvents["Resumed"] = "resumed";
625
+ GatewayEvents["Reconnect"] = "reconnect";
626
+ GatewayEvents["InvalidSession"] = "invalidSession";
627
+ GatewayEvents["ApplicationCommandPermissionsUpdate"] = "applicationCommandPermissionsUpdate";
628
+ GatewayEvents["AutoModerationRuleCreate"] = "autoModerationRuleCreate";
629
+ GatewayEvents["AutoModerationRuleUpdate"] = "autoModerationRuleUpdate";
630
+ GatewayEvents["AutoModerationRuleDelete"] = "autoModerationRuleDelete";
631
+ GatewayEvents["AutoModerationActionExecution"] = "autoModerationActionExecution";
632
+ GatewayEvents["ChannelCreate"] = "channelCreate";
633
+ GatewayEvents["ChannelUpdate"] = "channelUpdate";
634
+ GatewayEvents["ChannelDelete"] = "channelDelete";
635
+ GatewayEvents["ChannelPinsUpdate"] = "channelPinsUpdate";
636
+ GatewayEvents["ThreadCreate"] = "threadCreate";
637
+ GatewayEvents["ThreadUpdate"] = "threadUpdate";
638
+ GatewayEvents["ThreadDelete"] = "threadDelete";
639
+ GatewayEvents["ThreadListSync"] = "threadListSync";
640
+ GatewayEvents["ThreadMemberUpdate"] = "threadMemberUpdate";
641
+ GatewayEvents["ThreadMembersUpdate"] = "threadMembersUpdate";
642
+ GatewayEvents["GuildCreate"] = "guildCreate";
643
+ GatewayEvents["GuildUpdate"] = "guildUpdate";
644
+ GatewayEvents["GuildDelete"] = "guildDelete";
645
+ GatewayEvents["GuildAuditLogEntryCreate"] = "guildAuditLogEntryCreate";
646
+ GatewayEvents["GuildBanAdd"] = "guildBanAdd";
647
+ GatewayEvents["GuildBanRemove"] = "guildBanRemove";
648
+ GatewayEvents["GuildEmojisUpdate"] = "guildEmojisUpdate";
649
+ GatewayEvents["GuildStickersUpdate"] = "guildStickersUpdate";
650
+ GatewayEvents["GuildIntegrationsUpdate"] = "guildIntegrationsUpdate";
651
+ GatewayEvents["GuildMemberAdd"] = "guildMemberAdd";
652
+ GatewayEvents["GuildMemberRemove"] = "guildMemberRemove";
653
+ GatewayEvents["GuildMemberUpdate"] = "guildMemberUpdate";
654
+ GatewayEvents["GuildMembersChunk"] = "guildMembersChunk";
655
+ GatewayEvents["GuildRoleCreate"] = "guildRoleCreate";
656
+ GatewayEvents["GuildRoleUpdate"] = "guildRoleUpdate";
657
+ GatewayEvents["GuildRoleDelete"] = "guildRoleDelete";
658
+ GatewayEvents["GuildScheduledEventCreate"] = "guildScheduledEventCreate";
659
+ GatewayEvents["GuildScheduledEventUpdate"] = "guildScheduledEventUpdate";
660
+ GatewayEvents["GuildScheduledEventDelete"] = "guildScheduledEventDelete";
661
+ GatewayEvents["GuildScheduledEventUserAdd"] = "guildScheduledEventUserAdd";
662
+ GatewayEvents["GuildScheduledEventUserRemove"] = "guildScheduledEventUserRemove";
663
+ GatewayEvents["IntegrationCreate"] = "integrationCreate";
664
+ GatewayEvents["IntegrationUpdate"] = "integrationUpdate";
665
+ GatewayEvents["IntegrationDelete"] = "integrationDelete";
666
+ GatewayEvents["InteractionCreate"] = "interactionCreate";
667
+ GatewayEvents["InviteCreate"] = "inviteCreate";
668
+ GatewayEvents["InviteDelete"] = "inviteDelete";
669
+ GatewayEvents["MessageCreate"] = "messageCreate";
670
+ GatewayEvents["MessageUpdate"] = "messageUpdate";
671
+ GatewayEvents["MessageDelete"] = "messageDelete";
672
+ GatewayEvents["MessageDeleteBulk"] = "messageDeleteBulk";
673
+ GatewayEvents["MessageReactionAdd"] = "messageReactionAdd";
674
+ GatewayEvents["MessageReactionRemove"] = "messageReactionRemove";
675
+ GatewayEvents["MessageReactionRemoveAll"] = "messageReactionRemoveAll";
676
+ GatewayEvents["MessageReactionRemoveEmoji"] = "messageReactionRemoveEmoji";
677
+ GatewayEvents["PresenceUpdate"] = "presenceUpdate";
678
+ GatewayEvents["StageInstanceCreate"] = "stageInstanceCreate";
679
+ GatewayEvents["StageInstanceUpdate"] = "stageInstanceUpdate";
680
+ GatewayEvents["StageInstanceDelete"] = "stageInstanceDelete";
681
+ GatewayEvents["TypingStart"] = "typingStart";
682
+ GatewayEvents["UserUpdate"] = "userUpdate";
683
+ GatewayEvents["VoiceStateUpdate"] = "voiceStateUpdate";
684
+ GatewayEvents["VoiceServerUpdate"] = "voiceServerUpdate";
685
+ GatewayEvents["WebhooksUpdate"] = "webhooksUpdate";
686
+ })(GatewayEvents || (exports.GatewayEvents = GatewayEvents = {}));
687
+ /* https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-types */
688
+ var ActivityType;
689
+ (function (ActivityType) {
690
+ ActivityType[ActivityType["Game"] = 0] = "Game";
691
+ ActivityType[ActivityType["Streaming"] = 1] = "Streaming";
692
+ ActivityType[ActivityType["Listening"] = 2] = "Listening";
693
+ ActivityType[ActivityType["Watching"] = 3] = "Watching";
694
+ ActivityType[ActivityType["Custom"] = 4] = "Custom";
695
+ ActivityType[ActivityType["Competing"] = 5] = "Competing";
696
+ })(ActivityType || (exports.ActivityType = ActivityType = {}));
697
+ /* https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-flags */
698
+ var ActivityFlags;
699
+ (function (ActivityFlags) {
700
+ ActivityFlags[ActivityFlags["Instance"] = 1] = "Instance";
701
+ ActivityFlags[ActivityFlags["Join"] = 2] = "Join";
702
+ ActivityFlags[ActivityFlags["Spectate"] = 4] = "Spectate";
703
+ ActivityFlags[ActivityFlags["JoinRequest"] = 8] = "JoinRequest";
704
+ ActivityFlags[ActivityFlags["Sync"] = 16] = "Sync";
705
+ ActivityFlags[ActivityFlags["Play"] = 32] = "Play";
706
+ ActivityFlags[ActivityFlags["PartyPrivacyFriends"] = 64] = "PartyPrivacyFriends";
707
+ ActivityFlags[ActivityFlags["PartyPrivacyVoiceChannel"] = 128] = "PartyPrivacyVoiceChannel";
708
+ ActivityFlags[ActivityFlags["Embedded"] = 256] = "Embedded";
709
+ })(ActivityFlags || (exports.ActivityFlags = ActivityFlags = {}));
710
+ /* https://discord.com/developers/docs/topics/oauth2#shared-resources-oauth2-scopes */
711
+ var OAuth2Scopes;
712
+ (function (OAuth2Scopes) {
713
+ OAuth2Scopes["ActivitiesRead"] = "activities.read";
714
+ OAuth2Scopes["ActivitiesWrite"] = "activities.write";
715
+ OAuth2Scopes["ApplicationsBuildsRead"] = "applications.builds.read";
716
+ OAuth2Scopes["ApplicationsBuildsUpload"] = "applications.builds.upload";
717
+ OAuth2Scopes["ApplicationsCommands"] = "applications.commands";
718
+ OAuth2Scopes["ApplicationsCommandsUpdate"] = "applications.commands.update";
719
+ OAuth2Scopes["ApplicationsCommandsPermissionsUpdate"] = "applications.commands.permissions.update";
720
+ OAuth2Scopes["ApplicationsEntitlements"] = "applications.entitlements";
721
+ OAuth2Scopes["ApplicationsStoreUpdate"] = "applications.store.update";
722
+ OAuth2Scopes["Bot"] = "bot";
723
+ OAuth2Scopes["Connections"] = "connections";
724
+ OAuth2Scopes["DMChannelsRead"] = "dm_channels.read";
725
+ OAuth2Scopes["Email"] = "email";
726
+ OAuth2Scopes["GDMJoin"] = "gdm.join";
727
+ OAuth2Scopes["Guilds"] = "guilds";
728
+ OAuth2Scopes["GuildsJoin"] = "guilds.join";
729
+ OAuth2Scopes["GuildsMembersRead"] = "guilds.members.read";
730
+ OAuth2Scopes["Identify"] = "identify";
731
+ OAuth2Scopes["MessagesRead"] = "messages.read";
732
+ OAuth2Scopes["RelationShipsRead"] = "relationships.read";
733
+ OAuth2Scopes["RoleConnectionsWrite"] = "role_connections.write";
734
+ OAuth2Scopes["RPC"] = "rpc";
735
+ OAuth2Scopes["RPCActivitiesWrite"] = "rpc.activities.write";
736
+ OAuth2Scopes["RPCNotificationsRead"] = "rpc.notifications.read";
737
+ OAuth2Scopes["RPCVoiceRead"] = "rpc.voice.read";
738
+ OAuth2Scopes["RPCVoiceWrite"] = "rpc.voice.write";
739
+ OAuth2Scopes["Voice"] = "voice";
740
+ OAuth2Scopes["WebhookIncoming"] = "webhook.incoming";
741
+ })(OAuth2Scopes || (exports.OAuth2Scopes = OAuth2Scopes = {}));
742
+ /* https://discord.com/developers/docs/topics/oauth2#bot-authorization-flow-bot-auth-parameters */
743
+ var BotAuthParameters;
744
+ (function (BotAuthParameters) {
745
+ BotAuthParameters["ClientId"] = "client_id";
746
+ BotAuthParameters["Scope"] = "scope";
747
+ BotAuthParameters["Permissions"] = "permissions";
748
+ BotAuthParameters["GuildId"] = "guild_id";
749
+ BotAuthParameters["DisabledGuildSelect"] = "disable_guild_select";
750
+ })(BotAuthParameters || (exports.BotAuthParameters = BotAuthParameters = {}));
751
+ /* https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes */
752
+ var GatewayOPCodes;
753
+ (function (GatewayOPCodes) {
754
+ GatewayOPCodes[GatewayOPCodes["Dispatch"] = 0] = "Dispatch";
755
+ GatewayOPCodes[GatewayOPCodes["Heartbeat"] = 1] = "Heartbeat";
756
+ GatewayOPCodes[GatewayOPCodes["Identify"] = 2] = "Identify";
757
+ GatewayOPCodes[GatewayOPCodes["PresenceUpdate"] = 3] = "PresenceUpdate";
758
+ GatewayOPCodes[GatewayOPCodes["VoiceStateUpdate"] = 4] = "VoiceStateUpdate";
759
+ GatewayOPCodes[GatewayOPCodes["Resume"] = 6] = "Resume";
760
+ GatewayOPCodes[GatewayOPCodes["Reconnect"] = 7] = "Reconnect";
761
+ GatewayOPCodes[GatewayOPCodes["RequestGuildMembers"] = 8] = "RequestGuildMembers";
762
+ GatewayOPCodes[GatewayOPCodes["InvalidSession"] = 9] = "InvalidSession";
763
+ GatewayOPCodes[GatewayOPCodes["Hello"] = 10] = "Hello";
764
+ GatewayOPCodes[GatewayOPCodes["HeartbeatACK"] = 11] = "HeartbeatACK";
765
+ })(GatewayOPCodes || (exports.GatewayOPCodes = GatewayOPCodes = {}));
766
+ /* https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes */
767
+ var GatewayCloseEventCodes;
768
+ (function (GatewayCloseEventCodes) {
769
+ GatewayCloseEventCodes[GatewayCloseEventCodes["UnknownError"] = 4000] = "UnknownError";
770
+ GatewayCloseEventCodes[GatewayCloseEventCodes["UnknownOPCode"] = 4001] = "UnknownOPCode";
771
+ GatewayCloseEventCodes[GatewayCloseEventCodes["DecodeError"] = 4002] = "DecodeError";
772
+ GatewayCloseEventCodes[GatewayCloseEventCodes["NotAuthenticated"] = 4003] = "NotAuthenticated";
773
+ GatewayCloseEventCodes[GatewayCloseEventCodes["AuthenticationFailed"] = 4004] = "AuthenticationFailed";
774
+ GatewayCloseEventCodes[GatewayCloseEventCodes["AlreadyAuthenticated"] = 4005] = "AlreadyAuthenticated";
775
+ GatewayCloseEventCodes[GatewayCloseEventCodes["InvalidSequence"] = 4007] = "InvalidSequence";
776
+ GatewayCloseEventCodes[GatewayCloseEventCodes["RateLimited"] = 4008] = "RateLimited";
777
+ GatewayCloseEventCodes[GatewayCloseEventCodes["SessionTimedOut"] = 4009] = "SessionTimedOut";
778
+ GatewayCloseEventCodes[GatewayCloseEventCodes["InvalidShard"] = 4010] = "InvalidShard";
779
+ GatewayCloseEventCodes[GatewayCloseEventCodes["ShardingRequired"] = 4011] = "ShardingRequired";
780
+ GatewayCloseEventCodes[GatewayCloseEventCodes["InvalidAPIVersion"] = 4012] = "InvalidAPIVersion";
781
+ GatewayCloseEventCodes[GatewayCloseEventCodes["InvalidIntents"] = 4013] = "InvalidIntents";
782
+ GatewayCloseEventCodes[GatewayCloseEventCodes["DisallowedIntents"] = 4014] = "DisallowedIntents";
783
+ })(GatewayCloseEventCodes || (exports.GatewayCloseEventCodes = GatewayCloseEventCodes = {}));
784
+ /* https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-opcodes */
785
+ var VoiceOPCodes;
786
+ (function (VoiceOPCodes) {
787
+ VoiceOPCodes[VoiceOPCodes["Identify"] = 0] = "Identify";
788
+ VoiceOPCodes[VoiceOPCodes["SelectProtocol"] = 1] = "SelectProtocol";
789
+ VoiceOPCodes[VoiceOPCodes["Ready"] = 2] = "Ready";
790
+ VoiceOPCodes[VoiceOPCodes["Heartbeat"] = 3] = "Heartbeat";
791
+ VoiceOPCodes[VoiceOPCodes["SessionDescription"] = 4] = "SessionDescription";
792
+ VoiceOPCodes[VoiceOPCodes["Speaking"] = 5] = "Speaking";
793
+ VoiceOPCodes[VoiceOPCodes["HeartbeatACK"] = 6] = "HeartbeatACK";
794
+ VoiceOPCodes[VoiceOPCodes["Resume"] = 7] = "Resume";
795
+ VoiceOPCodes[VoiceOPCodes["Hello"] = 8] = "Hello";
796
+ VoiceOPCodes[VoiceOPCodes["Resumed"] = 9] = "Resumed";
797
+ VoiceOPCodes[VoiceOPCodes["ClientDisconnect"] = 13] = "ClientDisconnect";
798
+ })(VoiceOPCodes || (exports.VoiceOPCodes = VoiceOPCodes = {}));
799
+ /* https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-close-event-codes */
800
+ var VoiceCloseEventCodes;
801
+ (function (VoiceCloseEventCodes) {
802
+ VoiceCloseEventCodes[VoiceCloseEventCodes["UnknownOPCode"] = 4001] = "UnknownOPCode";
803
+ VoiceCloseEventCodes[VoiceCloseEventCodes["FailedToDecodePayload"] = 4002] = "FailedToDecodePayload";
804
+ VoiceCloseEventCodes[VoiceCloseEventCodes["NotAuthenticated"] = 4003] = "NotAuthenticated";
805
+ VoiceCloseEventCodes[VoiceCloseEventCodes["AuthenticationFailed"] = 4004] = "AuthenticationFailed";
806
+ VoiceCloseEventCodes[VoiceCloseEventCodes["AlreadyAuthenticated"] = 4005] = "AlreadyAuthenticated";
807
+ VoiceCloseEventCodes[VoiceCloseEventCodes["SessionNoLongerValid"] = 4006] = "SessionNoLongerValid";
808
+ VoiceCloseEventCodes[VoiceCloseEventCodes["SessionTimeout"] = 4009] = "SessionTimeout";
809
+ VoiceCloseEventCodes[VoiceCloseEventCodes["ServerNotFound"] = 4011] = "ServerNotFound";
810
+ VoiceCloseEventCodes[VoiceCloseEventCodes["UnknownProtocol"] = 4012] = "UnknownProtocol";
811
+ VoiceCloseEventCodes[VoiceCloseEventCodes["Disconnect"] = 4014] = "Disconnect";
812
+ VoiceCloseEventCodes[VoiceCloseEventCodes["VoiceServerCrashed"] = 4015] = "VoiceServerCrashed";
813
+ VoiceCloseEventCodes[VoiceCloseEventCodes["UnknownEncryptionMode"] = 4016] = "UnknownEncryptionMode";
814
+ })(VoiceCloseEventCodes || (exports.VoiceCloseEventCodes = VoiceCloseEventCodes = {}));
815
+ /* https://discord.com/developers/docs/topics/opcodes-and-status-codes#http-http-response-codes */
816
+ var HTTPResponseCodes;
817
+ (function (HTTPResponseCodes) {
818
+ HTTPResponseCodes[HTTPResponseCodes["Ok"] = 200] = "Ok";
819
+ HTTPResponseCodes[HTTPResponseCodes["Created"] = 201] = "Created";
820
+ HTTPResponseCodes[HTTPResponseCodes["NoContent"] = 204] = "NoContent";
821
+ HTTPResponseCodes[HTTPResponseCodes["NotModified"] = 304] = "NotModified";
822
+ HTTPResponseCodes[HTTPResponseCodes["BadRequest"] = 400] = "BadRequest";
823
+ HTTPResponseCodes[HTTPResponseCodes["Unathorized"] = 401] = "Unathorized";
824
+ HTTPResponseCodes[HTTPResponseCodes["Forbidden"] = 403] = "Forbidden";
825
+ HTTPResponseCodes[HTTPResponseCodes["NotFound"] = 404] = "NotFound";
826
+ HTTPResponseCodes[HTTPResponseCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed";
827
+ HTTPResponseCodes[HTTPResponseCodes["TooManyRequests"] = 429] = "TooManyRequests";
828
+ HTTPResponseCodes[HTTPResponseCodes["GatewayUnavailable"] = 502] = "GatewayUnavailable";
829
+ HTTPResponseCodes["ServerError"] = "5xx";
830
+ })(HTTPResponseCodes || (exports.HTTPResponseCodes = HTTPResponseCodes = {}));
831
+ /* https://discord.com/developers/docs/topics/opcodes-and-status-codes#json-json-error-codes */
832
+ var JSONErrorCodes;
833
+ (function (JSONErrorCodes) {
834
+ JSONErrorCodes[JSONErrorCodes["GeneralError"] = 0] = "GeneralError";
835
+ JSONErrorCodes[JSONErrorCodes["UnknownAccount"] = 10001] = "UnknownAccount";
836
+ JSONErrorCodes[JSONErrorCodes["UnknownApplication"] = 10002] = "UnknownApplication";
837
+ JSONErrorCodes[JSONErrorCodes["UnknownChannel"] = 10003] = "UnknownChannel";
838
+ JSONErrorCodes[JSONErrorCodes["UnknownGuild"] = 10004] = "UnknownGuild";
839
+ JSONErrorCodes[JSONErrorCodes["UnknownIntegration"] = 10005] = "UnknownIntegration";
840
+ JSONErrorCodes[JSONErrorCodes["UnknownInvite"] = 10006] = "UnknownInvite";
841
+ JSONErrorCodes[JSONErrorCodes["UnknownMember"] = 10007] = "UnknownMember";
842
+ JSONErrorCodes[JSONErrorCodes["UnknownMessage"] = 10008] = "UnknownMessage";
843
+ JSONErrorCodes[JSONErrorCodes["UnknownPermissionOverwrite"] = 10009] = "UnknownPermissionOverwrite";
844
+ JSONErrorCodes[JSONErrorCodes["UnknownProvider"] = 10010] = "UnknownProvider";
845
+ JSONErrorCodes[JSONErrorCodes["UnknownRole"] = 10011] = "UnknownRole";
846
+ JSONErrorCodes[JSONErrorCodes["UnknownToken"] = 10012] = "UnknownToken";
847
+ JSONErrorCodes[JSONErrorCodes["UnknownUser"] = 10013] = "UnknownUser";
848
+ JSONErrorCodes[JSONErrorCodes["UnknownEmoji"] = 10014] = "UnknownEmoji";
849
+ JSONErrorCodes[JSONErrorCodes["UnknownWebhook"] = 10015] = "UnknownWebhook";
850
+ JSONErrorCodes[JSONErrorCodes["UnknownWebhookService"] = 10016] = "UnknownWebhookService";
851
+ JSONErrorCodes[JSONErrorCodes["UnknownSession"] = 10020] = "UnknownSession";
852
+ JSONErrorCodes[JSONErrorCodes["UnknownBan"] = 10026] = "UnknownBan";
853
+ JSONErrorCodes[JSONErrorCodes["UnknownSKU"] = 10027] = "UnknownSKU";
854
+ JSONErrorCodes[JSONErrorCodes["UnknownStoreListing"] = 10028] = "UnknownStoreListing";
855
+ JSONErrorCodes[JSONErrorCodes["UnknownEntitlement"] = 10029] = "UnknownEntitlement";
856
+ JSONErrorCodes[JSONErrorCodes["UnknownBuild"] = 10030] = "UnknownBuild";
857
+ JSONErrorCodes[JSONErrorCodes["UnknownLobby"] = 10031] = "UnknownLobby";
858
+ JSONErrorCodes[JSONErrorCodes["UnknownBranch"] = 10032] = "UnknownBranch";
859
+ JSONErrorCodes[JSONErrorCodes["UnknownStoreDirectoryLayout"] = 10033] = "UnknownStoreDirectoryLayout";
860
+ JSONErrorCodes[JSONErrorCodes["UnknownRedistributable"] = 10036] = "UnknownRedistributable";
861
+ JSONErrorCodes[JSONErrorCodes["UnknownGiftCode"] = 10038] = "UnknownGiftCode";
862
+ JSONErrorCodes[JSONErrorCodes["UnknownStream"] = 10049] = "UnknownStream";
863
+ JSONErrorCodes[JSONErrorCodes["UnknownPremiumServerSubscribeCooldown"] = 10050] = "UnknownPremiumServerSubscribeCooldown";
864
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildTemplate"] = 10057] = "UnknownGuildTemplate";
865
+ JSONErrorCodes[JSONErrorCodes["UnknownDiscoverableServerCategory"] = 10059] = "UnknownDiscoverableServerCategory";
866
+ JSONErrorCodes[JSONErrorCodes["UnknownSticker"] = 10060] = "UnknownSticker";
867
+ JSONErrorCodes[JSONErrorCodes["UnknownInteraction"] = 10062] = "UnknownInteraction";
868
+ JSONErrorCodes[JSONErrorCodes["UnknownApplicationCommand"] = 10063] = "UnknownApplicationCommand";
869
+ JSONErrorCodes[JSONErrorCodes["UnknownVoiceState"] = 10065] = "UnknownVoiceState";
870
+ JSONErrorCodes[JSONErrorCodes["UnknownApplicationCommandPermissions"] = 10066] = "UnknownApplicationCommandPermissions";
871
+ JSONErrorCodes[JSONErrorCodes["UnknownStageInstance"] = 10067] = "UnknownStageInstance";
872
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildMemberVerificationForm"] = 10068] = "UnknownGuildMemberVerificationForm";
873
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildWelcomeScreen"] = 10069] = "UnknownGuildWelcomeScreen";
874
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildScheduledEvent"] = 10070] = "UnknownGuildScheduledEvent";
875
+ JSONErrorCodes[JSONErrorCodes["UnknownGuildScheduledEventUser"] = 10071] = "UnknownGuildScheduledEventUser";
876
+ JSONErrorCodes[JSONErrorCodes["UnknownTag"] = 10087] = "UnknownTag";
877
+ JSONErrorCodes[JSONErrorCodes["BotsCannotUseThisEndpoint"] = 20001] = "BotsCannotUseThisEndpoint";
878
+ JSONErrorCodes[JSONErrorCodes["OnlyBotsCanUseThisEndpoint"] = 20002] = "OnlyBotsCanUseThisEndpoint";
879
+ JSONErrorCodes[JSONErrorCodes["ExplicitContentCannotBeSentToTheDesiredRecipient"] = 20009] = "ExplicitContentCannotBeSentToTheDesiredRecipient";
880
+ JSONErrorCodes[JSONErrorCodes["NotAuthorizedToPerformThisActionOnThisApplication"] = 20012] = "NotAuthorizedToPerformThisActionOnThisApplication";
881
+ JSONErrorCodes[JSONErrorCodes["ActionCannotBePerformedDueToSlowmodeRateLimit"] = 20016] = "ActionCannotBePerformedDueToSlowmodeRateLimit";
882
+ JSONErrorCodes[JSONErrorCodes["TheMazeIsntMeantForYou"] = 20017] = "TheMazeIsntMeantForYou";
883
+ JSONErrorCodes[JSONErrorCodes["OnlyTheOwnerOfThisAccountCanPerformThisAction"] = 20018] = "OnlyTheOwnerOfThisAccountCanPerformThisAction";
884
+ JSONErrorCodes[JSONErrorCodes["AnnouncementEditLimitExceeded"] = 20022] = "AnnouncementEditLimitExceeded";
885
+ JSONErrorCodes[JSONErrorCodes["UnderMinimumAge"] = 20024] = "UnderMinimumAge";
886
+ JSONErrorCodes[JSONErrorCodes["ChannelSendRateLimit"] = 20028] = "ChannelSendRateLimit";
887
+ JSONErrorCodes[JSONErrorCodes["ServerSendRateLimit"] = 20029] = "ServerSendRateLimit";
888
+ JSONErrorCodes[JSONErrorCodes["StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords"] = 20031] = "StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords";
889
+ JSONErrorCodes[JSONErrorCodes["GuildPremiumSubscriptionLevelTooLow"] = 20035] = "GuildPremiumSubscriptionLevelTooLow";
890
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGuildsReached"] = 30001] = "MaximumNumberOfGuildsReached";
891
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfFriendsReached"] = 30002] = "MaximumNumberOfFriendsReached";
892
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfPinsReachedForTheChannel"] = 30003] = "MaximumNumberOfPinsReachedForTheChannel";
893
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfRecipientsReached"] = 30004] = "MaximumNumberOfRecipientsReached";
894
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGuildRolesReached"] = 30005] = "MaximumNumberOfGuildRolesReached";
895
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfWebhooksReached"] = 30007] = "MaximumNumberOfWebhooksReached";
896
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfEmojisReached"] = 30008] = "MaximumNumberOfEmojisReached";
897
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfReactionsReached"] = 30010] = "MaximumNumberOfReactionsReached";
898
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGroupDMsReached"] = 30011] = "MaximumNumberOfGroupDMsReached";
899
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGuildChannelsReached"] = 30013] = "MaximumNumberOfGuildChannelsReached";
900
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfAttachmentsInAMessageReached"] = 30015] = "MaximumNumberOfAttachmentsInAMessageReached";
901
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfInvitesReached"] = 30016] = "MaximumNumberOfInvitesReached";
902
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfAnimatedEmojisReached"] = 30018] = "MaximumNumberOfAnimatedEmojisReached";
903
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfServerMembersReached"] = 30019] = "MaximumNumberOfServerMembersReached";
904
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfServerCategoriesReached"] = 30030] = "MaximumNumberOfServerCategoriesReached";
905
+ JSONErrorCodes[JSONErrorCodes["GuildAlreadyHasTemplate"] = 30031] = "GuildAlreadyHasTemplate";
906
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfApplicationCommandsReached"] = 30032] = "MaximumNumberOfApplicationCommandsReached";
907
+ JSONErrorCodes[JSONErrorCodes["MaximumThreadParticipantsReached"] = 30033] = "MaximumThreadParticipantsReached";
908
+ JSONErrorCodes[JSONErrorCodes["MaximumDailyApplicationCommandCreatesReached"] = 30034] = "MaximumDailyApplicationCommandCreatesReached";
909
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfNonGuildMemberBansHasBeenExceeded"] = 30035] = "MaximumNumberOfNonGuildMemberBansHasBeenExceeded";
910
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfBanFetchesHasBeenReached"] = 30037] = "MaximumNumberOfBanFetchesHasBeenReached";
911
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfUncompletedGuildScheduledEventsReached"] = 30038] = "MaximumNumberOfUncompletedGuildScheduledEventsReached";
912
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfStickersReached"] = 30039] = "MaximumNumberOfStickersReached";
913
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfPruneRequestsHasBeenReached"] = 30040] = "MaximumNumberOfPruneRequestsHasBeenReached";
914
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached"] = 30042] = "MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached";
915
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfEditsToMessagesOlderThanOneHourReached"] = 30046] = "MaximumNumberOfEditsToMessagesOlderThanOneHourReached";
916
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfPinnedThreadsInForumHasBeenReached"] = 30047] = "MaximumNumberOfPinnedThreadsInForumHasBeenReached";
917
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfTagsInForumHasBeenReached"] = 30048] = "MaximumNumberOfTagsInForumHasBeenReached";
918
+ JSONErrorCodes[JSONErrorCodes["BitrateIsTooHighForChannelOfThisType"] = 30052] = "BitrateIsTooHighForChannelOfThisType";
919
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfPremiumEmojisReached"] = 30056] = "MaximumNumberOfPremiumEmojisReached";
920
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfWebhooksPerGuildReached"] = 30058] = "MaximumNumberOfWebhooksPerGuildReached";
921
+ JSONErrorCodes[JSONErrorCodes["MaximumNumberOfChannelPermissionOverwritesReached"] = 30060] = "MaximumNumberOfChannelPermissionOverwritesReached";
922
+ JSONErrorCodes[JSONErrorCodes["TheChannelsForThisGuildAreTooLarge"] = 30061] = "TheChannelsForThisGuildAreTooLarge";
923
+ JSONErrorCodes[JSONErrorCodes["Unauthorized"] = 40001] = "Unauthorized";
924
+ JSONErrorCodes[JSONErrorCodes["VerifyYourAccount"] = 40002] = "VerifyYourAccount";
925
+ JSONErrorCodes[JSONErrorCodes["OpeningDirectMessagesTooFast"] = 40003] = "OpeningDirectMessagesTooFast";
926
+ JSONErrorCodes[JSONErrorCodes["SendMessagesHasBeenTemporarilyDisabled"] = 40004] = "SendMessagesHasBeenTemporarilyDisabled";
927
+ JSONErrorCodes[JSONErrorCodes["RequestEntityTooLarge"] = 40005] = "RequestEntityTooLarge";
928
+ JSONErrorCodes[JSONErrorCodes["FeatureTemporarilyDisabledServerSide"] = 40006] = "FeatureTemporarilyDisabledServerSide";
929
+ JSONErrorCodes[JSONErrorCodes["UserBannedFromThisGuild"] = 40007] = "UserBannedFromThisGuild";
930
+ JSONErrorCodes[JSONErrorCodes["ConnectionHasBeenRevoked"] = 40012] = "ConnectionHasBeenRevoked";
931
+ JSONErrorCodes[JSONErrorCodes["TargetUserIsNotConnectedToVoice"] = 40032] = "TargetUserIsNotConnectedToVoice";
932
+ JSONErrorCodes[JSONErrorCodes["ThisMessageWasAlreadyCrossposted"] = 40033] = "ThisMessageWasAlreadyCrossposted";
933
+ JSONErrorCodes[JSONErrorCodes["ApplicationCommandWithThatNameAlreadyExists"] = 40041] = "ApplicationCommandWithThatNameAlreadyExists";
934
+ JSONErrorCodes[JSONErrorCodes["ApplicationInteractionFailedToSend"] = 40043] = "ApplicationInteractionFailedToSend";
935
+ JSONErrorCodes[JSONErrorCodes["CannotSendAMessageInAForumChannel"] = 40058] = "CannotSendAMessageInAForumChannel";
936
+ JSONErrorCodes[JSONErrorCodes["InteractionHasAlreadyBeenAcknowledged"] = 40060] = "InteractionHasAlreadyBeenAcknowledged";
937
+ JSONErrorCodes[JSONErrorCodes["TagNamesMustBeUnique"] = 40061] = "TagNamesMustBeUnique";
938
+ JSONErrorCodes[JSONErrorCodes["ServiceResourceIsBeingRateLimited"] = 40062] = "ServiceResourceIsBeingRateLimited";
939
+ JSONErrorCodes[JSONErrorCodes["ThereAreNoTagsAvailableThatCanBeSetByNonModerators"] = 40066] = "ThereAreNoTagsAvailableThatCanBeSetByNonModerators";
940
+ JSONErrorCodes[JSONErrorCodes["TagRequiredToCreateAForumPostInThisChannel"] = 40067] = "TagRequiredToCreateAForumPostInThisChannel";
941
+ JSONErrorCodes[JSONErrorCodes["MissingAccess"] = 50001] = "MissingAccess";
942
+ JSONErrorCodes[JSONErrorCodes["InvalidAccountType"] = 50002] = "InvalidAccountType";
943
+ JSONErrorCodes[JSONErrorCodes["CannotExecuteActionOnDMChannel"] = 50003] = "CannotExecuteActionOnDMChannel";
944
+ JSONErrorCodes[JSONErrorCodes["GuildWidgetDisabled"] = 50004] = "GuildWidgetDisabled";
945
+ JSONErrorCodes[JSONErrorCodes["CannotEditMessageAuthoredByAnotherUser"] = 50005] = "CannotEditMessageAuthoredByAnotherUser";
946
+ JSONErrorCodes[JSONErrorCodes["CannotSendAnEmptyMessage"] = 50006] = "CannotSendAnEmptyMessage";
947
+ JSONErrorCodes[JSONErrorCodes["CannotSendMessagesToThisUser"] = 50007] = "CannotSendMessagesToThisUser";
948
+ JSONErrorCodes[JSONErrorCodes["CannotSendMessagesInNonTextChannel"] = 50008] = "CannotSendMessagesInNonTextChannel";
949
+ JSONErrorCodes[JSONErrorCodes["ChannelVerificationLevelTooHighForYouToGainAccess"] = 50009] = "ChannelVerificationLevelTooHighForYouToGainAccess";
950
+ JSONErrorCodes[JSONErrorCodes["OAuth2ApplicationDoesNotHaveBot"] = 50010] = "OAuth2ApplicationDoesNotHaveBot";
951
+ JSONErrorCodes[JSONErrorCodes["OAuth2ApplicationLimitReached"] = 50011] = "OAuth2ApplicationLimitReached";
952
+ JSONErrorCodes[JSONErrorCodes["InvalidOAuth2State"] = 50012] = "InvalidOAuth2State";
953
+ JSONErrorCodes[JSONErrorCodes["MissingPermissions"] = 50013] = "MissingPermissions";
954
+ JSONErrorCodes[JSONErrorCodes["InvalidToken"] = 50014] = "InvalidToken";
955
+ JSONErrorCodes[JSONErrorCodes["NoteWasTooLong"] = 50015] = "NoteWasTooLong";
956
+ JSONErrorCodes[JSONErrorCodes["ProvidedTooFewOrTooManyMessagesToDelete"] = 50016] = "ProvidedTooFewOrTooManyMessagesToDelete";
957
+ JSONErrorCodes[JSONErrorCodes["InvalidMFALevel"] = 50017] = "InvalidMFALevel";
958
+ JSONErrorCodes[JSONErrorCodes["MessageCanOnlyBePinnedInTheChannelItWasSentIn"] = 50019] = "MessageCanOnlyBePinnedInTheChannelItWasSentIn";
959
+ JSONErrorCodes[JSONErrorCodes["InviteCodeInvalidOrTaken"] = 50020] = "InviteCodeInvalidOrTaken";
960
+ JSONErrorCodes[JSONErrorCodes["CannotExecuteActionOnSystemMessage"] = 50021] = "CannotExecuteActionOnSystemMessage";
961
+ JSONErrorCodes[JSONErrorCodes["CannotExecuteActionOnThisChannelType"] = 50024] = "CannotExecuteActionOnThisChannelType";
962
+ JSONErrorCodes[JSONErrorCodes["InvalidOAuth2AccessToken"] = 50025] = "InvalidOAuth2AccessToken";
963
+ JSONErrorCodes[JSONErrorCodes["MissingRequiredOAuth2Scope"] = 50026] = "MissingRequiredOAuth2Scope";
964
+ JSONErrorCodes[JSONErrorCodes["InvalidWebhookToken"] = 50027] = "InvalidWebhookToken";
965
+ JSONErrorCodes[JSONErrorCodes["InvalidRole"] = 50028] = "InvalidRole";
966
+ JSONErrorCodes[JSONErrorCodes["InvalidRecipients"] = 50033] = "InvalidRecipients";
967
+ JSONErrorCodes[JSONErrorCodes["OneOfTheMessagesProvidedWasTooOldForBulkDelete"] = 50034] = "OneOfTheMessagesProvidedWasTooOldForBulkDelete";
968
+ JSONErrorCodes[JSONErrorCodes["InvalidFormBodyOrContentType"] = 50035] = "InvalidFormBodyOrContentType";
969
+ JSONErrorCodes[JSONErrorCodes["InviteAcceptedToGuildWithoutTheBotBeingIn"] = 50036] = "InviteAcceptedToGuildWithoutTheBotBeingIn";
970
+ JSONErrorCodes[JSONErrorCodes["InvalidActivityAction"] = 50039] = "InvalidActivityAction";
971
+ JSONErrorCodes[JSONErrorCodes["InvalidAPIVersion"] = 50041] = "InvalidAPIVersion";
972
+ JSONErrorCodes[JSONErrorCodes["FileUploadedExceedsMaximumSize"] = 50045] = "FileUploadedExceedsMaximumSize";
973
+ JSONErrorCodes[JSONErrorCodes["InvalidFileUploaded"] = 50046] = "InvalidFileUploaded";
974
+ JSONErrorCodes[JSONErrorCodes["CannotSelfRedeemThisGift"] = 50054] = "CannotSelfRedeemThisGift";
975
+ JSONErrorCodes[JSONErrorCodes["InvalidGuild"] = 50055] = "InvalidGuild";
976
+ JSONErrorCodes[JSONErrorCodes["InvalidRequestOrigin"] = 50067] = "InvalidRequestOrigin";
977
+ JSONErrorCodes[JSONErrorCodes["InvalidMessageType"] = 50068] = "InvalidMessageType";
978
+ JSONErrorCodes[JSONErrorCodes["PaymentSourceRequiredToRedeemGift"] = 50070] = "PaymentSourceRequiredToRedeemGift";
979
+ JSONErrorCodes[JSONErrorCodes["CannotModifyASystemWebhook"] = 50073] = "CannotModifyASystemWebhook";
980
+ JSONErrorCodes[JSONErrorCodes["CannotDeleteChannelRequiredForCommunityGuilds"] = 50074] = "CannotDeleteChannelRequiredForCommunityGuilds";
981
+ JSONErrorCodes[JSONErrorCodes["CannotEditStickersWithinMessage"] = 50080] = "CannotEditStickersWithinMessage";
982
+ JSONErrorCodes[JSONErrorCodes["InvalidStickerSent"] = 50081] = "InvalidStickerSent";
983
+ JSONErrorCodes[JSONErrorCodes["InvalidActionOnArchivedThread"] = 50083] = "InvalidActionOnArchivedThread";
984
+ JSONErrorCodes[JSONErrorCodes["InvalidThreadNotificationSettings"] = 50084] = "InvalidThreadNotificationSettings";
985
+ JSONErrorCodes[JSONErrorCodes["ParameterEarlierThanCreation"] = 50085] = "ParameterEarlierThanCreation";
986
+ JSONErrorCodes[JSONErrorCodes["CommunityServerChannelsMustBeTextChannels"] = 50086] = "CommunityServerChannelsMustBeTextChannels";
987
+ JSONErrorCodes[JSONErrorCodes["TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor"] = 50091] = "TheEntityTypeOfTheEventIsDifferentFromTheEntityYouAreTryingToStartTheEventFor";
988
+ JSONErrorCodes[JSONErrorCodes["ServerNotAvailableInYourLocation"] = 50095] = "ServerNotAvailableInYourLocation";
989
+ JSONErrorCodes[JSONErrorCodes["ServerNeedsMonetizationEnabledToPerformThisAction"] = 50097] = "ServerNeedsMonetizationEnabledToPerformThisAction";
990
+ JSONErrorCodes[JSONErrorCodes["ServerNeedsMoreBoostsToPerformThisAction"] = 50101] = "ServerNeedsMoreBoostsToPerformThisAction";
991
+ JSONErrorCodes[JSONErrorCodes["RequestBodyContainsInvalidJSON"] = 50109] = "RequestBodyContainsInvalidJSON";
992
+ JSONErrorCodes[JSONErrorCodes["OwnershipCannotBeMovedToABotUser"] = 50132] = "OwnershipCannotBeMovedToABotUser";
993
+ JSONErrorCodes[JSONErrorCodes["FailedToResizeAssetBelowTheMinimumSize"] = 50138] = "FailedToResizeAssetBelowTheMinimumSize";
994
+ JSONErrorCodes[JSONErrorCodes["CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji"] = 50144] = "CannotMixSubscriptionAndNonSubscriptionRolesForAnEmoji";
995
+ JSONErrorCodes[JSONErrorCodes["CannotConvertBetweenPremiumEmojiAndNormalEmoji"] = 50145] = "CannotConvertBetweenPremiumEmojiAndNormalEmoji";
996
+ JSONErrorCodes[JSONErrorCodes["UploadedFileNotFound"] = 50146] = "UploadedFileNotFound";
997
+ JSONErrorCodes[JSONErrorCodes["YouDoNotHavePermissionToSendThisSticker"] = 50600] = "YouDoNotHavePermissionToSendThisSticker";
998
+ JSONErrorCodes[JSONErrorCodes["TwoFactorAuthenticationIsRequired"] = 60003] = "TwoFactorAuthenticationIsRequired";
999
+ JSONErrorCodes[JSONErrorCodes["NoUsersWithDiscordTagExist"] = 80004] = "NoUsersWithDiscordTagExist";
1000
+ JSONErrorCodes[JSONErrorCodes["ReactionWasBlocked"] = 90001] = "ReactionWasBlocked";
1001
+ JSONErrorCodes[JSONErrorCodes["ApplicationNotYetAvailable"] = 110001] = "ApplicationNotYetAvailable";
1002
+ JSONErrorCodes[JSONErrorCodes["APIResourceOverloaded"] = 130000] = "APIResourceOverloaded";
1003
+ JSONErrorCodes[JSONErrorCodes["TheStageIsAlreadyOpen"] = 150006] = "TheStageIsAlreadyOpen";
1004
+ JSONErrorCodes[JSONErrorCodes["CannotReplyWithoutPermissionToReadMessageHistory"] = 160002] = "CannotReplyWithoutPermissionToReadMessageHistory";
1005
+ JSONErrorCodes[JSONErrorCodes["ThreadAlreadyCreatedForMessage"] = 160004] = "ThreadAlreadyCreatedForMessage";
1006
+ JSONErrorCodes[JSONErrorCodes["ThreadLocked"] = 160005] = "ThreadLocked";
1007
+ JSONErrorCodes[JSONErrorCodes["MaximumActiveThreads"] = 160006] = "MaximumActiveThreads";
1008
+ JSONErrorCodes[JSONErrorCodes["MaximumActiveAnnouncementThreads"] = 160007] = "MaximumActiveAnnouncementThreads";
1009
+ JSONErrorCodes[JSONErrorCodes["InvalidJSONForUploadedLottieFile"] = 170001] = "InvalidJSONForUploadedLottieFile";
1010
+ JSONErrorCodes[JSONErrorCodes["UploadedLottiesCannotContainRasterizedImages"] = 170002] = "UploadedLottiesCannotContainRasterizedImages";
1011
+ JSONErrorCodes[JSONErrorCodes["StickerMaximumFramerateExceeded"] = 170003] = "StickerMaximumFramerateExceeded";
1012
+ JSONErrorCodes[JSONErrorCodes["StickerFrameCountExceedsMaximumOf1000Frames"] = 170004] = "StickerFrameCountExceedsMaximumOf1000Frames";
1013
+ JSONErrorCodes[JSONErrorCodes["LottieAnimationMaximumDimensionsExceeded"] = 170005] = "LottieAnimationMaximumDimensionsExceeded";
1014
+ JSONErrorCodes[JSONErrorCodes["StickerFramerateIsTooSmallOrTooLarge"] = 170006] = "StickerFramerateIsTooSmallOrTooLarge";
1015
+ JSONErrorCodes[JSONErrorCodes["StickerAnimationDurationExceedsMaximumOf5Seconds"] = 170007] = "StickerAnimationDurationExceedsMaximumOf5Seconds";
1016
+ JSONErrorCodes[JSONErrorCodes["CannotUpdateAFinishedEvent"] = 180000] = "CannotUpdateAFinishedEvent";
1017
+ JSONErrorCodes[JSONErrorCodes["FailedToCreateStageNeededForStageEvent"] = 180002] = "FailedToCreateStageNeededForStageEvent";
1018
+ JSONErrorCodes[JSONErrorCodes["MessageWasBlockedByAutomaticModeration"] = 200000] = "MessageWasBlockedByAutomaticModeration";
1019
+ JSONErrorCodes[JSONErrorCodes["TitleWasBlockedByAutomaticModeration"] = 200001] = "TitleWasBlockedByAutomaticModeration";
1020
+ JSONErrorCodes[JSONErrorCodes["WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId"] = 220001] = "WebhooksPostedToForumChannelsMustHaveAThreadNameOrThreadId";
1021
+ JSONErrorCodes[JSONErrorCodes["WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId"] = 220002] = "WebhooksPostedToForumChannelsCannotHaveBothAThreadNameAndThreadId";
1022
+ JSONErrorCodes[JSONErrorCodes["WebhooksCanOnlyCreateThreadsInForumChannels"] = 220003] = "WebhooksCanOnlyCreateThreadsInForumChannels";
1023
+ JSONErrorCodes[JSONErrorCodes["WebhookServicesCannotBeUsedInForumChannels"] = 220004] = "WebhookServicesCannotBeUsedInForumChannels";
1024
+ JSONErrorCodes[JSONErrorCodes["MessageBlockedByHarmfulLinksFilter"] = 240000] = "MessageBlockedByHarmfulLinksFilter";
1025
+ })(JSONErrorCodes || (exports.JSONErrorCodes = JSONErrorCodes = {}));
1026
+ /* https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc-rpc-error-codes */
1027
+ var RPCErrorCodes;
1028
+ (function (RPCErrorCodes) {
1029
+ RPCErrorCodes[RPCErrorCodes["UnknownError"] = 1000] = "UnknownError";
1030
+ RPCErrorCodes[RPCErrorCodes["InvalidPayload"] = 4000] = "InvalidPayload";
1031
+ RPCErrorCodes[RPCErrorCodes["InvalidCommand"] = 4002] = "InvalidCommand";
1032
+ RPCErrorCodes[RPCErrorCodes["InvalidGuild"] = 4003] = "InvalidGuild";
1033
+ RPCErrorCodes[RPCErrorCodes["InvalidEvent"] = 4004] = "InvalidEvent";
1034
+ RPCErrorCodes[RPCErrorCodes["InvalidChannel"] = 4005] = "InvalidChannel";
1035
+ RPCErrorCodes[RPCErrorCodes["InvalidPermissions"] = 4006] = "InvalidPermissions";
1036
+ RPCErrorCodes[RPCErrorCodes["InvalidClientId"] = 4007] = "InvalidClientId";
1037
+ RPCErrorCodes[RPCErrorCodes["InvalidOrigin"] = 4008] = "InvalidOrigin";
1038
+ RPCErrorCodes[RPCErrorCodes["InvalidToken"] = 4009] = "InvalidToken";
1039
+ RPCErrorCodes[RPCErrorCodes["InvalidUser"] = 4010] = "InvalidUser";
1040
+ RPCErrorCodes[RPCErrorCodes["OAuth2Error"] = 5000] = "OAuth2Error";
1041
+ RPCErrorCodes[RPCErrorCodes["SelectChannelTimedOut"] = 5001] = "SelectChannelTimedOut";
1042
+ RPCErrorCodes[RPCErrorCodes["GetGuildTimedOut"] = 5002] = "GetGuildTimedOut";
1043
+ RPCErrorCodes[RPCErrorCodes["SelectVoiceForceRequired"] = 5003] = "SelectVoiceForceRequired";
1044
+ RPCErrorCodes[RPCErrorCodes["CaptureShortcutAlreadyListening"] = 5004] = "CaptureShortcutAlreadyListening";
1045
+ })(RPCErrorCodes || (exports.RPCErrorCodes = RPCErrorCodes = {}));
1046
+ /* https://discord.com/developers/docs/topics/opcodes-and-status-codes#rpc-rpc-close-event-codes */
1047
+ var RPCCloseEventCodes;
1048
+ (function (RPCCloseEventCodes) {
1049
+ RPCCloseEventCodes[RPCCloseEventCodes["InvalidClientId"] = 4000] = "InvalidClientId";
1050
+ RPCCloseEventCodes[RPCCloseEventCodes["InvalidOrigin"] = 4001] = "InvalidOrigin";
1051
+ RPCCloseEventCodes[RPCCloseEventCodes["RateLimited"] = 4002] = "RateLimited";
1052
+ RPCCloseEventCodes[RPCCloseEventCodes["TokenRevoked"] = 4003] = "TokenRevoked";
1053
+ RPCCloseEventCodes[RPCCloseEventCodes["InvalidVersion"] = 4004] = "InvalidVersion";
1054
+ RPCCloseEventCodes[RPCCloseEventCodes["InvalidEncoding"] = 4005] = "InvalidEncoding";
1055
+ })(RPCCloseEventCodes || (exports.RPCCloseEventCodes = RPCCloseEventCodes = {}));
1056
+ /* https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags */
1057
+ exports.BitwisePermissionFlags = {
1058
+ CreateInstantInvite: 1n << 0n,
1059
+ KickMembers: 1n << 1n,
1060
+ BanMembers: 1n << 2n,
1061
+ Administrator: 1n << 3n,
1062
+ ManageChannels: 1n << 4n,
1063
+ ManageGuild: 1n << 5n,
1064
+ AddReactions: 1n << 6n,
1065
+ ViewAuditLog: 1n << 7n,
1066
+ PrioritySpeaker: 1n << 8n,
1067
+ Stream: 1n << 9n,
1068
+ ViewChannel: 1n << 10n,
1069
+ SendMessages: 1n << 11n,
1070
+ SendTTSMessages: 1n << 12n,
1071
+ ManageMessages: 1n << 13n,
1072
+ EmbedLinks: 1n << 14n,
1073
+ AttachFiles: 1n << 15n,
1074
+ ReadMessageHistory: 1n << 16n,
1075
+ MentionEveryone: 1n << 17n,
1076
+ UseExternalEmojis: 1n << 18n,
1077
+ ViewGuildInsights: 1n << 19n,
1078
+ Connect: 1n << 20n,
1079
+ Speak: 1n << 21n,
1080
+ MuteMembers: 1n << 22n,
1081
+ DeafenMembers: 1n << 23n,
1082
+ MoveMembers: 1n << 24n,
1083
+ UseVAD: 1n << 25n,
1084
+ ChangeNickname: 1n << 26n,
1085
+ ManageNicknames: 1n << 27n,
1086
+ ManageRoles: 1n << 28n,
1087
+ ManageWebhooks: 1n << 29n,
1088
+ ManageEmojisAndStickers: 1n << 30n,
1089
+ UseApplicationCommands: 1n << 31n,
1090
+ RequestToSpeak: 1n << 32n,
1091
+ ManageEvents: 1n << 33n,
1092
+ ManageThreads: 1n << 34n,
1093
+ CreatePublicThreads: 1n << 35n,
1094
+ CreatePrivateThreads: 1n << 36n,
1095
+ UseExternalStickers: 1n << 37n,
1096
+ SendMessagesInThreads: 1n << 38n,
1097
+ UseEmbeddedActivities: 1n << 39n,
1098
+ ModerateMembers: 1n << 40n,
1099
+ All: (1n << 0n) +
1100
+ (1n << 1n) +
1101
+ (1n << 2n) +
1102
+ (1n << 3n) +
1103
+ (1n << 4n) +
1104
+ (1n << 5n) +
1105
+ (1n << 6n) +
1106
+ (1n << 7n) +
1107
+ (1n << 8n) +
1108
+ (1n << 9n) +
1109
+ (1n << 10n) +
1110
+ (1n << 11n) +
1111
+ (1n << 12n) +
1112
+ (1n << 13n) +
1113
+ (1n << 14n) +
1114
+ (1n << 15n) +
1115
+ (1n << 16n) +
1116
+ (1n << 17n) +
1117
+ (1n << 18n) +
1118
+ (1n << 19n) +
1119
+ (1n << 20n) +
1120
+ (1n << 21n) +
1121
+ (1n << 22n) +
1122
+ (1n << 23n) +
1123
+ (1n << 24n) +
1124
+ (1n << 25n) +
1125
+ (1n << 26n) +
1126
+ (1n << 27n) +
1127
+ (1n << 28n) +
1128
+ (1n << 29n) +
1129
+ (1n << 30n) +
1130
+ (1n << 31n) +
1131
+ (1n << 32n) +
1132
+ (1n << 33n) +
1133
+ (1n << 34n) +
1134
+ (1n << 35n) +
1135
+ (1n << 36n) +
1136
+ (1n << 37n) +
1137
+ (1n << 38n) +
1138
+ (1n << 39n) +
1139
+ (1n << 40n),
1140
+ };
1141
+ /* https://discord.com/developers/docs/topics/teams#data-models-membership-state-enum */
1142
+ var MembershipState;
1143
+ (function (MembershipState) {
1144
+ MembershipState[MembershipState["Invited"] = 1] = "Invited";
1145
+ MembershipState[MembershipState["Accepted"] = 2] = "Accepted";
1146
+ })(MembershipState || (exports.MembershipState = MembershipState = {}));
1147
+ //# sourceMappingURL=constants.js.map