seyfert 4.4.1 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/lib/api/Routes/guilds.d.ts +12 -1
- package/lib/api/Routes/index.d.ts +3 -1
- package/lib/api/Routes/invites.d.ts +1 -1
- package/lib/api/Routes/oauth2.d.ts +11 -0
- package/lib/api/Routes/oauth2.js +2 -0
- package/lib/api/Routes/skus.d.ts +11 -4
- package/lib/api/Routes/users.d.ts +2 -1
- package/lib/api/Routes/voice.d.ts +4 -0
- package/lib/api/Routes/webhooks.d.ts +1 -1
- package/lib/api/api.d.ts +15 -5
- package/lib/api/api.js +243 -114
- package/lib/api/bucket.js +13 -7
- package/lib/api/shared.d.ts +3 -1
- package/lib/api/utils/constants.d.ts +1 -1
- package/lib/api/utils/constants.js +1 -1
- package/lib/builders/Attachment.d.ts +6 -1
- package/lib/builders/Attachment.js +13 -9
- package/lib/builders/CheckboxGroup.js +1 -1
- package/lib/builders/FileUpload.d.ts +8 -1
- package/lib/builders/FileUpload.js +9 -0
- package/lib/builders/RadioGroup.js +1 -1
- package/lib/client/base.d.ts +3 -3
- package/lib/client/client.d.ts +1 -1
- package/lib/client/client.js +5 -4
- package/lib/client/collectors.d.ts +10 -8
- package/lib/client/transformers.d.ts +5 -0
- package/lib/client/workerclient.d.ts +8 -1
- package/lib/client/workerclient.js +34 -14
- package/lib/commands/applications/chat.d.ts +6 -4
- package/lib/commands/applications/options.d.ts +6 -4
- package/lib/commands/applications/shared.d.ts +2 -2
- package/lib/commands/handle.d.ts +7 -3
- package/lib/commands/handle.js +36 -11
- package/lib/commands/handler.js +11 -0
- package/lib/commands/optionresolver.d.ts +6 -7
- package/lib/common/it/error.d.ts +13 -0
- package/lib/common/it/error.js +15 -1
- package/lib/common/it/logger.js +12 -9
- package/lib/common/shorters/application.d.ts +1 -1
- package/lib/common/shorters/application.js +1 -1
- package/lib/common/shorters/bans.js +1 -1
- package/lib/common/shorters/guilds.js +5 -1
- package/lib/common/shorters/interaction.js +7 -4
- package/lib/common/shorters/invites.d.ts +5 -0
- package/lib/common/shorters/members.js +2 -1
- package/lib/common/shorters/messages.js +2 -2
- package/lib/common/shorters/threads.js +1 -1
- package/lib/common/shorters/webhook.js +3 -3
- package/lib/common/types/util.d.ts +7 -0
- package/lib/components/componentcommand.js +2 -2
- package/lib/components/customId.d.ts +3 -0
- package/lib/components/customId.js +11 -0
- package/lib/components/handler.js +2 -3
- package/lib/components/modalcommand.js +2 -2
- package/lib/events/hooks/invite.d.ts +1 -0
- package/lib/events/hooks/presence.d.ts +1 -0
- package/lib/events/hooks/thread.d.ts +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -1
- package/lib/structures/AnonymousGuild.d.ts +1 -1
- package/lib/structures/AnonymousGuild.js +1 -1
- package/lib/structures/Guild.d.ts +3 -0
- package/lib/structures/GuildMember.d.ts +2 -2
- package/lib/structures/GuildMember.js +22 -4
- package/lib/structures/GuildPreview.d.ts +1 -1
- package/lib/structures/GuildPreview.js +1 -1
- package/lib/structures/GuildRole.d.ts +13 -0
- package/lib/structures/GuildRole.js +21 -0
- package/lib/structures/GuildTemplate.js +1 -1
- package/lib/structures/Interaction.d.ts +7 -7
- package/lib/structures/Interaction.js +35 -21
- package/lib/structures/Message.d.ts +2 -1
- package/lib/structures/channels.d.ts +29 -16
- package/lib/structures/channels.js +59 -19
- package/lib/structures/extra/BaseGuild.d.ts +4 -4
- package/lib/structures/extra/BaseGuild.js +4 -4
- package/lib/types/gateway.d.ts +243 -239
- package/lib/types/index.d.ts +2 -2
- package/lib/types/payloads/_interactions/_applicationCommands/_chatInput/attachment.d.ts +5 -2
- package/lib/types/payloads/_interactions/_applicationCommands/_chatInput/shared.d.ts +2 -2
- package/lib/types/payloads/_interactions/_applicationCommands/_chatInput/shared.js +1 -1
- package/lib/types/payloads/_interactions/_applicationCommands/chatInput.d.ts +7 -7
- package/lib/types/payloads/_interactions/_applicationCommands/contextMenu.d.ts +13 -13
- package/lib/types/payloads/_interactions/_applicationCommands/permissions.d.ts +4 -4
- package/lib/types/payloads/_interactions/_applicationCommands/permissions.js +2 -2
- package/lib/types/payloads/_interactions/applicationCommands.d.ts +10 -10
- package/lib/types/payloads/_interactions/applicationCommands.js +4 -4
- package/lib/types/payloads/_interactions/autocomplete.d.ts +2 -2
- package/lib/types/payloads/_interactions/base.d.ts +13 -7
- package/lib/types/payloads/_interactions/modalSubmit.d.ts +4 -4
- package/lib/types/payloads/_interactions/responses.d.ts +10 -10
- package/lib/types/payloads/_interactions/responses.js +2 -2
- package/lib/types/payloads/application.d.ts +21 -15
- package/lib/types/payloads/application.js +7 -7
- package/lib/types/payloads/auditLog.d.ts +22 -17
- package/lib/types/payloads/auditLog.js +7 -2
- package/lib/types/payloads/autoModeration.d.ts +11 -11
- package/lib/types/payloads/autoModeration.js +5 -5
- package/lib/types/payloads/channel.d.ts +87 -78
- package/lib/types/payloads/channel.js +16 -11
- package/lib/types/payloads/components.d.ts +41 -31
- package/lib/types/payloads/components.js +9 -5
- package/lib/types/payloads/emoji.d.ts +2 -2
- package/lib/types/payloads/emoji.js +1 -1
- package/lib/types/payloads/gateway.d.ts +33 -29
- package/lib/types/payloads/gateway.js +5 -5
- package/lib/types/payloads/guild.d.ts +68 -68
- package/lib/types/payloads/guild.js +14 -14
- package/lib/types/payloads/guildScheduledEvent.d.ts +11 -11
- package/lib/types/payloads/guildScheduledEvent.js +3 -3
- package/lib/types/payloads/index.d.ts +2 -2
- package/lib/types/payloads/interactions.d.ts +3 -3
- package/lib/types/payloads/invite.d.ts +11 -11
- package/lib/types/payloads/invite.js +3 -3
- package/lib/types/payloads/monetization.d.ts +4 -4
- package/lib/types/payloads/monetization.js +2 -2
- package/lib/types/payloads/oauth2.d.ts +21 -17
- package/lib/types/payloads/oauth2.js +21 -17
- package/lib/types/payloads/permissions.d.ts +5 -5
- package/lib/types/payloads/permissions.js +2 -2
- package/lib/types/payloads/poll.d.ts +7 -7
- package/lib/types/payloads/poll.js +2 -2
- package/lib/types/payloads/soundboard.d.ts +2 -2
- package/lib/types/payloads/soundboard.js +1 -1
- package/lib/types/payloads/stageInstance.d.ts +5 -5
- package/lib/types/payloads/stageInstance.js +1 -1
- package/lib/types/payloads/sticker.d.ts +8 -8
- package/lib/types/payloads/sticker.js +3 -3
- package/lib/types/payloads/teams.d.ts +8 -8
- package/lib/types/payloads/teams.js +3 -3
- package/lib/types/payloads/template.d.ts +3 -3
- package/lib/types/payloads/template.js +1 -1
- package/lib/types/payloads/user.d.ts +24 -22
- package/lib/types/payloads/user.js +7 -5
- package/lib/types/payloads/voice.d.ts +4 -4
- package/lib/types/payloads/voice.js +1 -1
- package/lib/types/payloads/webhokEvents.d.ts +5 -5
- package/lib/types/payloads/webhokEvents.js +2 -2
- package/lib/types/payloads/webhook.d.ts +4 -4
- package/lib/types/payloads/webhook.js +1 -1
- package/lib/types/rest/application.d.ts +14 -14
- package/lib/types/rest/auditLog.d.ts +1 -1
- package/lib/types/rest/autoModeration.d.ts +7 -7
- package/lib/types/rest/channel.d.ts +79 -74
- package/lib/types/rest/channel.js +1 -1
- package/lib/types/rest/emoji.d.ts +8 -8
- package/lib/types/rest/gateway.d.ts +2 -2
- package/lib/types/rest/guild.d.ts +98 -98
- package/lib/types/rest/guild.js +5 -5
- package/lib/types/rest/guildScheduledEvent.d.ts +11 -11
- package/lib/types/rest/index.d.ts +34 -3
- package/lib/types/rest/index.js +33 -2
- package/lib/types/rest/interactions.d.ts +48 -48
- package/lib/types/rest/invite.d.ts +5 -5
- package/lib/types/rest/monetization.d.ts +9 -9
- package/lib/types/rest/monetization.js +1 -1
- package/lib/types/rest/oauth2.d.ts +22 -18
- package/lib/types/rest/poll.d.ts +4 -4
- package/lib/types/rest/soundboard.d.ts +8 -8
- package/lib/types/rest/stageInstance.d.ts +6 -6
- package/lib/types/rest/sticker.d.ts +10 -10
- package/lib/types/rest/template.d.ts +11 -11
- package/lib/types/rest/user.d.ts +18 -14
- package/lib/types/rest/voice.d.ts +5 -5
- package/lib/types/rest/webhook.d.ts +38 -38
- package/lib/types/utils/index.d.ts +19 -19
- package/lib/types/utils/index.js +19 -19
- package/lib/websocket/SharedTypes.d.ts +2 -2
- package/lib/websocket/constants/index.js +2 -2
- package/lib/websocket/discord/heartbeater.d.ts +1 -0
- package/lib/websocket/discord/heartbeater.js +8 -0
- package/lib/websocket/discord/shard.d.ts +19 -10
- package/lib/websocket/discord/shard.js +255 -122
- package/lib/websocket/discord/sharder.d.ts +2 -2
- package/lib/websocket/discord/sharder.js +2 -2
- package/lib/websocket/discord/shared.d.ts +7 -2
- package/lib/websocket/discord/workermanager.d.ts +3 -1
- package/lib/websocket/discord/workermanager.js +31 -24
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Types extracted from https://discord.com/developers/
|
|
2
|
+
* Types extracted from https://docs.discord.com/developers/resources/guild
|
|
3
3
|
*/
|
|
4
4
|
import type { GuildMemberFlags, Locale, LocaleString, Permissions, Snowflake } from '../index';
|
|
5
5
|
import type { APIEmoji, APIPartialEmoji } from './emoji';
|
|
@@ -9,7 +9,7 @@ import type { APIRole } from './permissions';
|
|
|
9
9
|
import type { APISticker } from './sticker';
|
|
10
10
|
import type { APIAvatarDecorationData, APICollectibles, APIUser } from './user';
|
|
11
11
|
/**
|
|
12
|
-
* https://discord.com/developers/
|
|
12
|
+
* https://docs.discord.com/developers/resources/guild#unavailable-guild-object
|
|
13
13
|
*/
|
|
14
14
|
export interface APIUnavailableGuild {
|
|
15
15
|
/**
|
|
@@ -22,7 +22,7 @@ export interface APIUnavailableGuild {
|
|
|
22
22
|
unavailable: boolean;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* https://discord.com/developers/
|
|
25
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-guild-structure
|
|
26
26
|
*/
|
|
27
27
|
export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'>, Pick<APIGuild, 'welcome_screen'> {
|
|
28
28
|
/**
|
|
@@ -32,19 +32,19 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
|
|
|
32
32
|
/**
|
|
33
33
|
* Icon hash
|
|
34
34
|
*
|
|
35
|
-
* See https://discord.com/developers/
|
|
35
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
36
36
|
*/
|
|
37
37
|
icon: string | null;
|
|
38
38
|
/**
|
|
39
39
|
* Splash hash
|
|
40
40
|
*
|
|
41
|
-
* See https://discord.com/developers/
|
|
41
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
42
42
|
*/
|
|
43
43
|
splash: string | null;
|
|
44
44
|
/**
|
|
45
45
|
* Banner hash
|
|
46
46
|
*
|
|
47
|
-
* See https://discord.com/developers/
|
|
47
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
48
48
|
*/
|
|
49
49
|
banner?: string | null;
|
|
50
50
|
/**
|
|
@@ -54,13 +54,13 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
|
|
|
54
54
|
/**
|
|
55
55
|
* Enabled guild features
|
|
56
56
|
*
|
|
57
|
-
* See https://discord.com/developers/
|
|
57
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-guild-features
|
|
58
58
|
*/
|
|
59
59
|
features?: GuildFeature[];
|
|
60
60
|
/**
|
|
61
61
|
* Verification level required for the guild
|
|
62
62
|
*
|
|
63
|
-
* See https://discord.com/developers/
|
|
63
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-verification-level
|
|
64
64
|
*/
|
|
65
65
|
verification_level?: GuildVerificationLevel;
|
|
66
66
|
/**
|
|
@@ -69,25 +69,25 @@ export interface APIPartialGuild extends Omit<APIUnavailableGuild, 'unavailable'
|
|
|
69
69
|
vanity_url_code?: string | null;
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
* https://discord.com/developers/
|
|
72
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-guild-structure
|
|
73
73
|
*/
|
|
74
74
|
export interface APIGuild extends APIPartialGuild {
|
|
75
75
|
/**
|
|
76
76
|
* Icon hash, returned when in the template object
|
|
77
77
|
*
|
|
78
|
-
* See https://discord.com/developers/
|
|
78
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
79
79
|
*/
|
|
80
80
|
icon_hash?: string | null;
|
|
81
81
|
/**
|
|
82
82
|
* Discovery splash hash; only present for guilds with the "DISCOVERABLE" feature
|
|
83
83
|
*
|
|
84
|
-
* See https://discord.com/developers/
|
|
84
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
85
85
|
*/
|
|
86
86
|
discovery_splash: string | null;
|
|
87
87
|
/**
|
|
88
88
|
* `true` if the user is the owner of the guild
|
|
89
89
|
*
|
|
90
|
-
* **This field is only received from https://discord.com/developers/
|
|
90
|
+
* **This field is only received from https://docs.discord.com/developers/resources/user#get-current-user-guilds**
|
|
91
91
|
*/
|
|
92
92
|
owner?: boolean;
|
|
93
93
|
/**
|
|
@@ -97,7 +97,7 @@ export interface APIGuild extends APIPartialGuild {
|
|
|
97
97
|
/**
|
|
98
98
|
* Total permissions for the user in the guild (excludes overrides)
|
|
99
99
|
*
|
|
100
|
-
* **This field is only received from https://discord.com/developers/
|
|
100
|
+
* **This field is only received from https://docs.discord.com/developers/resources/user#get-current-user-guilds**
|
|
101
101
|
*
|
|
102
102
|
* See https://en.wikipedia.org/wiki/Bit_field
|
|
103
103
|
*/
|
|
@@ -121,43 +121,43 @@ export interface APIGuild extends APIPartialGuild {
|
|
|
121
121
|
/**
|
|
122
122
|
* Verification level required for the guild
|
|
123
123
|
*
|
|
124
|
-
* See https://discord.com/developers/
|
|
124
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-verification-level
|
|
125
125
|
*/
|
|
126
126
|
verification_level: GuildVerificationLevel;
|
|
127
127
|
/**
|
|
128
128
|
* Default message notifications level
|
|
129
129
|
*
|
|
130
|
-
* See https://discord.com/developers/
|
|
130
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-default-message-notification-level
|
|
131
131
|
*/
|
|
132
132
|
default_message_notifications: GuildDefaultMessageNotifications;
|
|
133
133
|
/**
|
|
134
134
|
* Explicit content filter level
|
|
135
135
|
*
|
|
136
|
-
* See https://discord.com/developers/
|
|
136
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-explicit-content-filter-level
|
|
137
137
|
*/
|
|
138
138
|
explicit_content_filter: GuildExplicitContentFilter;
|
|
139
139
|
/**
|
|
140
140
|
* Roles in the guild
|
|
141
141
|
*
|
|
142
|
-
* See https://discord.com/developers/
|
|
142
|
+
* See https://docs.discord.com/developers/topics/permissions#role-object
|
|
143
143
|
*/
|
|
144
144
|
roles: APIRole[];
|
|
145
145
|
/**
|
|
146
146
|
* Custom guild emojis
|
|
147
147
|
*
|
|
148
|
-
* See https://discord.com/developers/
|
|
148
|
+
* See https://docs.discord.com/developers/resources/emoji#emoji-object
|
|
149
149
|
*/
|
|
150
150
|
emojis: APIEmoji[];
|
|
151
151
|
/**
|
|
152
152
|
* Enabled guild features
|
|
153
153
|
*
|
|
154
|
-
* See https://discord.com/developers/
|
|
154
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-guild-features
|
|
155
155
|
*/
|
|
156
156
|
features: GuildFeature[];
|
|
157
157
|
/**
|
|
158
158
|
* Required MFA level for the guild
|
|
159
159
|
*
|
|
160
|
-
* See https://discord.com/developers/
|
|
160
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-mfa-level
|
|
161
161
|
*/
|
|
162
162
|
mfa_level: GuildMFALevel;
|
|
163
163
|
/**
|
|
@@ -171,7 +171,7 @@ export interface APIGuild extends APIPartialGuild {
|
|
|
171
171
|
/**
|
|
172
172
|
* System channel flags
|
|
173
173
|
*
|
|
174
|
-
* See https://discord.com/developers/
|
|
174
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-system-channel-flags
|
|
175
175
|
*/
|
|
176
176
|
system_channel_flags: GuildSystemChannelFlags;
|
|
177
177
|
/**
|
|
@@ -197,13 +197,13 @@ export interface APIGuild extends APIPartialGuild {
|
|
|
197
197
|
/**
|
|
198
198
|
* Banner hash
|
|
199
199
|
*
|
|
200
|
-
* See https://discord.com/developers/
|
|
200
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
201
201
|
*/
|
|
202
202
|
banner: string | null;
|
|
203
203
|
/**
|
|
204
204
|
* Premium tier (Server Boost level)
|
|
205
205
|
*
|
|
206
|
-
* See https://discord.com/developers/
|
|
206
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-premium-tier
|
|
207
207
|
*/
|
|
208
208
|
premium_tier: GuildPremiumTier;
|
|
209
209
|
/**
|
|
@@ -247,13 +247,13 @@ export interface APIGuild extends APIPartialGuild {
|
|
|
247
247
|
/**
|
|
248
248
|
* The nsfw level of the guild
|
|
249
249
|
*
|
|
250
|
-
* See https://discord.com/developers/
|
|
250
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-guild-nsfw-level
|
|
251
251
|
*/
|
|
252
252
|
nsfw_level: GuildNSFWLevel;
|
|
253
253
|
/**
|
|
254
254
|
* Custom guild stickers
|
|
255
255
|
*
|
|
256
|
-
* See https://discord.com/developers/
|
|
256
|
+
* See https://docs.discord.com/developers/resources/sticker#sticker-object
|
|
257
257
|
*/
|
|
258
258
|
stickers?: APISticker[];
|
|
259
259
|
/**
|
|
@@ -274,7 +274,7 @@ export interface APIGuild extends APIPartialGuild {
|
|
|
274
274
|
incidents_data: APIIncidentsData | null;
|
|
275
275
|
}
|
|
276
276
|
/**
|
|
277
|
-
* https://discord.com/developers/
|
|
277
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-guild-structure
|
|
278
278
|
*/
|
|
279
279
|
export interface APIPartialInteractionGuild extends Pick<APIGuild, 'features' | 'id'> {
|
|
280
280
|
/**
|
|
@@ -286,14 +286,14 @@ export interface APIPartialInteractionGuild extends Pick<APIGuild, 'features' |
|
|
|
286
286
|
locale: Locale;
|
|
287
287
|
}
|
|
288
288
|
/**
|
|
289
|
-
* https://discord.com/developers/
|
|
289
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-default-message-notification-level
|
|
290
290
|
*/
|
|
291
291
|
export declare enum GuildDefaultMessageNotifications {
|
|
292
292
|
AllMessages = 0,
|
|
293
293
|
OnlyMentions = 1
|
|
294
294
|
}
|
|
295
295
|
/**
|
|
296
|
-
* https://discord.com/developers/
|
|
296
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-explicit-content-filter-level
|
|
297
297
|
*/
|
|
298
298
|
export declare enum GuildExplicitContentFilter {
|
|
299
299
|
Disabled = 0,
|
|
@@ -301,14 +301,14 @@ export declare enum GuildExplicitContentFilter {
|
|
|
301
301
|
AllMembers = 2
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
|
-
* https://discord.com/developers/
|
|
304
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-mfa-level
|
|
305
305
|
*/
|
|
306
306
|
export declare enum GuildMFALevel {
|
|
307
307
|
None = 0,
|
|
308
308
|
Elevated = 1
|
|
309
309
|
}
|
|
310
310
|
/**
|
|
311
|
-
* https://discord.com/developers/
|
|
311
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-guild-nsfw-level
|
|
312
312
|
*/
|
|
313
313
|
export declare enum GuildNSFWLevel {
|
|
314
314
|
Default = 0,
|
|
@@ -317,7 +317,7 @@ export declare enum GuildNSFWLevel {
|
|
|
317
317
|
AgeRestricted = 3
|
|
318
318
|
}
|
|
319
319
|
/**
|
|
320
|
-
* https://discord.com/developers/
|
|
320
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-verification-level
|
|
321
321
|
*/
|
|
322
322
|
export declare enum GuildVerificationLevel {
|
|
323
323
|
/**
|
|
@@ -342,7 +342,7 @@ export declare enum GuildVerificationLevel {
|
|
|
342
342
|
VeryHigh = 4
|
|
343
343
|
}
|
|
344
344
|
/**
|
|
345
|
-
* https://discord.com/developers/
|
|
345
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-premium-tier
|
|
346
346
|
*/
|
|
347
347
|
export declare enum GuildPremiumTier {
|
|
348
348
|
None = 0,
|
|
@@ -356,7 +356,7 @@ export declare enum GuildHubType {
|
|
|
356
356
|
College = 2
|
|
357
357
|
}
|
|
358
358
|
/**
|
|
359
|
-
* https://discord.com/developers/
|
|
359
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-system-channel-flags
|
|
360
360
|
*/
|
|
361
361
|
export declare enum GuildSystemChannelFlags {
|
|
362
362
|
/**
|
|
@@ -385,7 +385,7 @@ export declare enum GuildSystemChannelFlags {
|
|
|
385
385
|
SuppressRoleSubscriptionPurchaseNotificationReplies = 32
|
|
386
386
|
}
|
|
387
387
|
/**
|
|
388
|
-
* https://discord.com/developers/
|
|
388
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-guild-features
|
|
389
389
|
*/
|
|
390
390
|
export declare enum GuildFeature {
|
|
391
391
|
/**
|
|
@@ -399,7 +399,7 @@ export declare enum GuildFeature {
|
|
|
399
399
|
/**
|
|
400
400
|
* Guild is using the old permissions configuration behavior
|
|
401
401
|
*
|
|
402
|
-
* See https://discord.com/developers/
|
|
402
|
+
* See https://docs.discord.com/developers/change-log#upcoming-application-command-permission-changes
|
|
403
403
|
*/
|
|
404
404
|
ApplicationCommandPermissionsV2 = "APPLICATION_COMMAND_PERMISSIONS_V2",
|
|
405
405
|
/**
|
|
@@ -551,7 +551,7 @@ export declare enum GuildFeature {
|
|
|
551
551
|
EnhancedRoleColors = "ENHANCED_ROLE_COLORS"
|
|
552
552
|
}
|
|
553
553
|
/**
|
|
554
|
-
* https://discord.com/developers/
|
|
554
|
+
* https://docs.discord.com/developers/resources/guild#guild-preview-object
|
|
555
555
|
*/
|
|
556
556
|
export interface APIGuildPreview {
|
|
557
557
|
/**
|
|
@@ -565,31 +565,31 @@ export interface APIGuildPreview {
|
|
|
565
565
|
/**
|
|
566
566
|
* Icon hash
|
|
567
567
|
*
|
|
568
|
-
* See https://discord.com/developers/
|
|
568
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
569
569
|
*/
|
|
570
570
|
icon: string | null;
|
|
571
571
|
/**
|
|
572
572
|
* Splash hash
|
|
573
573
|
*
|
|
574
|
-
* See https://discord.com/developers/
|
|
574
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
575
575
|
*/
|
|
576
576
|
splash: string | null;
|
|
577
577
|
/**
|
|
578
578
|
* Discovery splash hash; only present for guilds with the "DISCOVERABLE" feature
|
|
579
579
|
*
|
|
580
|
-
* See https://discord.com/developers/
|
|
580
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
581
581
|
*/
|
|
582
582
|
discovery_splash: string | null;
|
|
583
583
|
/**
|
|
584
584
|
* Custom guild emojis
|
|
585
585
|
*
|
|
586
|
-
* See https://discord.com/developers/
|
|
586
|
+
* See https://docs.discord.com/developers/resources/emoji#emoji-object
|
|
587
587
|
*/
|
|
588
588
|
emojis: APIEmoji[];
|
|
589
589
|
/**
|
|
590
590
|
* Enabled guild features
|
|
591
591
|
*
|
|
592
|
-
* See https://discord.com/developers/
|
|
592
|
+
* See https://docs.discord.com/developers/resources/guild#guild-object-guild-features
|
|
593
593
|
*/
|
|
594
594
|
features: GuildFeature[];
|
|
595
595
|
/**
|
|
@@ -610,7 +610,7 @@ export interface APIGuildPreview {
|
|
|
610
610
|
stickers: APISticker[];
|
|
611
611
|
}
|
|
612
612
|
/**
|
|
613
|
-
* https://discord.com/developers/
|
|
613
|
+
* https://docs.discord.com/developers/resources/guild#guild-widget-object
|
|
614
614
|
*/
|
|
615
615
|
export interface APIGuildWidgetSettings {
|
|
616
616
|
/**
|
|
@@ -623,7 +623,7 @@ export interface APIGuildWidgetSettings {
|
|
|
623
623
|
channel_id: Snowflake | null;
|
|
624
624
|
}
|
|
625
625
|
/**
|
|
626
|
-
* https://discord.com/developers/
|
|
626
|
+
* https://docs.discord.com/developers/resources/guild#guild-member-object
|
|
627
627
|
*/
|
|
628
628
|
export interface APIGuildMember {
|
|
629
629
|
/**
|
|
@@ -631,7 +631,7 @@ export interface APIGuildMember {
|
|
|
631
631
|
*
|
|
632
632
|
* **This field won't be included in the member object attached to `MESSAGE_CREATE` and `MESSAGE_UPDATE` gateway events.**
|
|
633
633
|
*
|
|
634
|
-
* See https://discord.com/developers/
|
|
634
|
+
* See https://docs.discord.com/developers/resources/user#user-object
|
|
635
635
|
*/
|
|
636
636
|
user: APIUser;
|
|
637
637
|
/**
|
|
@@ -645,7 +645,7 @@ export interface APIGuildMember {
|
|
|
645
645
|
/**
|
|
646
646
|
* Array of role object ids
|
|
647
647
|
*
|
|
648
|
-
* See https://discord.com/developers/
|
|
648
|
+
* See https://docs.discord.com/developers/topics/permissions#role-object
|
|
649
649
|
*/
|
|
650
650
|
roles: Snowflake[];
|
|
651
651
|
/**
|
|
@@ -683,13 +683,13 @@ export interface APIGuildMember {
|
|
|
683
683
|
/**
|
|
684
684
|
* The data for the member's guild avatar decoration
|
|
685
685
|
*
|
|
686
|
-
* See https://discord.com/developers/
|
|
686
|
+
* See https://docs.discord.com/developers/resources/user#avatar-decoration-data-object
|
|
687
687
|
*/
|
|
688
688
|
avatar_decoration_data?: APIAvatarDecorationData | null;
|
|
689
689
|
/**
|
|
690
690
|
* The data for the member's collectibles
|
|
691
691
|
*
|
|
692
|
-
* See https://discord.com/developers/
|
|
692
|
+
* See https://docs.discord.com/developers/resources/user#collectibles
|
|
693
693
|
*/
|
|
694
694
|
collectibles?: APICollectibles | null;
|
|
695
695
|
/**
|
|
@@ -700,7 +700,7 @@ export interface APIGuildMember {
|
|
|
700
700
|
banner?: string | null;
|
|
701
701
|
}
|
|
702
702
|
/**
|
|
703
|
-
* https://discord.com/developers/
|
|
703
|
+
* https://docs.discord.com/developers/resources/guild#integration-object
|
|
704
704
|
*/
|
|
705
705
|
export interface APIGuildIntegration {
|
|
706
706
|
/**
|
|
@@ -742,7 +742,7 @@ export interface APIGuildIntegration {
|
|
|
742
742
|
*
|
|
743
743
|
* **This field is not provided for `discord` bot integrations.**
|
|
744
744
|
*
|
|
745
|
-
* See https://discord.com/developers/
|
|
745
|
+
* See https://docs.discord.com/developers/resources/guild#integration-object-integration-expire-behaviors
|
|
746
746
|
*/
|
|
747
747
|
expire_behavior?: IntegrationExpireBehavior;
|
|
748
748
|
/**
|
|
@@ -756,13 +756,13 @@ export interface APIGuildIntegration {
|
|
|
756
756
|
*
|
|
757
757
|
* **Some older integrations may not have an attached user.**
|
|
758
758
|
*
|
|
759
|
-
* See https://discord.com/developers/
|
|
759
|
+
* See https://docs.discord.com/developers/resources/user#user-object
|
|
760
760
|
*/
|
|
761
761
|
user?: APIUser;
|
|
762
762
|
/**
|
|
763
763
|
* Integration account information
|
|
764
764
|
*
|
|
765
|
-
* See https://discord.com/developers/
|
|
765
|
+
* See https://docs.discord.com/developers/resources/guild#integration-account-object
|
|
766
766
|
*/
|
|
767
767
|
account: APIIntegrationAccount;
|
|
768
768
|
/**
|
|
@@ -786,7 +786,7 @@ export interface APIGuildIntegration {
|
|
|
786
786
|
/**
|
|
787
787
|
* The bot/OAuth2 application for discord integrations
|
|
788
788
|
*
|
|
789
|
-
* See https://discord.com/developers/
|
|
789
|
+
* See https://docs.discord.com/developers/resources/guild#integration-application-object
|
|
790
790
|
*
|
|
791
791
|
* **This field is not provided for `discord` bot integrations.**
|
|
792
792
|
*/
|
|
@@ -798,14 +798,14 @@ export interface APIGuildIntegration {
|
|
|
798
798
|
}
|
|
799
799
|
export type APIGuildIntegrationType = 'discord' | 'guild_subscription' | 'twitch' | 'youtube';
|
|
800
800
|
/**
|
|
801
|
-
* https://discord.com/developers/
|
|
801
|
+
* https://docs.discord.com/developers/resources/guild#integration-object-integration-expire-behaviors
|
|
802
802
|
*/
|
|
803
803
|
export declare enum IntegrationExpireBehavior {
|
|
804
804
|
RemoveRole = 0,
|
|
805
805
|
Kick = 1
|
|
806
806
|
}
|
|
807
807
|
/**
|
|
808
|
-
* https://discord.com/developers/
|
|
808
|
+
* https://docs.discord.com/developers/resources/guild#integration-account-object
|
|
809
809
|
*/
|
|
810
810
|
export interface APIIntegrationAccount {
|
|
811
811
|
/**
|
|
@@ -818,7 +818,7 @@ export interface APIIntegrationAccount {
|
|
|
818
818
|
name: string;
|
|
819
819
|
}
|
|
820
820
|
/**
|
|
821
|
-
* https://discord.com/developers/
|
|
821
|
+
* https://docs.discord.com/developers/resources/guild#integration-application-object
|
|
822
822
|
*/
|
|
823
823
|
export interface APIGuildIntegrationApplication {
|
|
824
824
|
/**
|
|
@@ -832,7 +832,7 @@ export interface APIGuildIntegrationApplication {
|
|
|
832
832
|
/**
|
|
833
833
|
* The icon hash of the app
|
|
834
834
|
*
|
|
835
|
-
* See https://discord.com/developers/
|
|
835
|
+
* See https://docs.discord.com/developers/reference#image-formatting
|
|
836
836
|
*/
|
|
837
837
|
icon: string | null;
|
|
838
838
|
/**
|
|
@@ -842,12 +842,12 @@ export interface APIGuildIntegrationApplication {
|
|
|
842
842
|
/**
|
|
843
843
|
* The bot associated with this application
|
|
844
844
|
*
|
|
845
|
-
* See https://discord.com/developers/
|
|
845
|
+
* See https://docs.discord.com/developers/resources/user#user-object
|
|
846
846
|
*/
|
|
847
847
|
bot?: APIUser;
|
|
848
848
|
}
|
|
849
849
|
/**
|
|
850
|
-
* https://discord.com/developers/
|
|
850
|
+
* https://docs.discord.com/developers/resources/guild#ban-object
|
|
851
851
|
*/
|
|
852
852
|
export interface APIBan {
|
|
853
853
|
/**
|
|
@@ -877,7 +877,7 @@ export interface ActuallyBan {
|
|
|
877
877
|
guild_id: string;
|
|
878
878
|
}
|
|
879
879
|
/**
|
|
880
|
-
* https://discord.com/developers/
|
|
880
|
+
* https://docs.discord.com/developers/resources/guild#guild-widget-object
|
|
881
881
|
*/
|
|
882
882
|
export interface APIGuildWidget {
|
|
883
883
|
id: Snowflake;
|
|
@@ -888,7 +888,7 @@ export interface APIGuildWidget {
|
|
|
888
888
|
presence_count: number;
|
|
889
889
|
}
|
|
890
890
|
/**
|
|
891
|
-
* https://discord.com/developers/
|
|
891
|
+
* https://docs.discord.com/developers/resources/guild#guild-widget-object-example-guild-widget
|
|
892
892
|
*/
|
|
893
893
|
export interface APIGuildWidgetChannel {
|
|
894
894
|
id: Snowflake;
|
|
@@ -896,7 +896,7 @@ export interface APIGuildWidgetChannel {
|
|
|
896
896
|
position: number;
|
|
897
897
|
}
|
|
898
898
|
/**
|
|
899
|
-
* https://discord.com/developers/
|
|
899
|
+
* https://docs.discord.com/developers/resources/guild#guild-widget-object-example-guild-widget
|
|
900
900
|
*/
|
|
901
901
|
export interface APIGuildWidgetMember {
|
|
902
902
|
id: string;
|
|
@@ -910,7 +910,7 @@ export interface APIGuildWidgetMember {
|
|
|
910
910
|
avatar_url: string;
|
|
911
911
|
}
|
|
912
912
|
/**
|
|
913
|
-
* https://discord.com/developers/
|
|
913
|
+
* https://docs.discord.com/developers/resources/guild#get-guild-widget-image-widget-style-options
|
|
914
914
|
*/
|
|
915
915
|
export declare enum GuildWidgetStyle {
|
|
916
916
|
/**
|
|
@@ -1002,7 +1002,7 @@ export declare enum MembershipScreeningFieldType {
|
|
|
1002
1002
|
Terms = "TERMS"
|
|
1003
1003
|
}
|
|
1004
1004
|
/**
|
|
1005
|
-
* https://discord.com/developers/
|
|
1005
|
+
* https://docs.discord.com/developers/resources/guild#guild-onboarding-object-guild-onboarding-structure
|
|
1006
1006
|
*/
|
|
1007
1007
|
export interface APIGuildOnboarding {
|
|
1008
1008
|
/**
|
|
@@ -1027,7 +1027,7 @@ export interface APIGuildOnboarding {
|
|
|
1027
1027
|
mode: GuildOnboardingMode;
|
|
1028
1028
|
}
|
|
1029
1029
|
/**
|
|
1030
|
-
* https://discord.com/developers/
|
|
1030
|
+
* https://docs.discord.com/developers/resources/guild#guild-onboarding-object-onboarding-prompt-structure
|
|
1031
1031
|
*/
|
|
1032
1032
|
export interface APIGuildOnboardingPrompt {
|
|
1033
1033
|
/**
|
|
@@ -1061,7 +1061,7 @@ export interface APIGuildOnboardingPrompt {
|
|
|
1061
1061
|
type: GuildOnboardingPromptType;
|
|
1062
1062
|
}
|
|
1063
1063
|
/**
|
|
1064
|
-
* https://discord.com/developers/
|
|
1064
|
+
* https://docs.discord.com/developers/resources/guild#guild-onboarding-object-prompt-option-structure
|
|
1065
1065
|
*/
|
|
1066
1066
|
export interface APIGuildOnboardingPromptOption {
|
|
1067
1067
|
/**
|
|
@@ -1090,7 +1090,7 @@ export interface APIGuildOnboardingPromptOption {
|
|
|
1090
1090
|
description: string | null;
|
|
1091
1091
|
}
|
|
1092
1092
|
/**
|
|
1093
|
-
* https://discord.com/developers/
|
|
1093
|
+
* https://docs.discord.com/developers/resources/guild#guild-onboarding-object-onboarding-mode
|
|
1094
1094
|
*/
|
|
1095
1095
|
export declare enum GuildOnboardingMode {
|
|
1096
1096
|
/**
|
|
@@ -1103,14 +1103,14 @@ export declare enum GuildOnboardingMode {
|
|
|
1103
1103
|
OnboardingAdvanced = 1
|
|
1104
1104
|
}
|
|
1105
1105
|
/**
|
|
1106
|
-
* https://discord.com/developers/
|
|
1106
|
+
* https://docs.discord.com/developers/resources/guild#guild-onboarding-object-prompt-types
|
|
1107
1107
|
*/
|
|
1108
1108
|
export declare enum GuildOnboardingPromptType {
|
|
1109
1109
|
MultipleChoice = 0,
|
|
1110
1110
|
Dropdown = 1
|
|
1111
1111
|
}
|
|
1112
1112
|
/**
|
|
1113
|
-
* https://discord.com/developers/
|
|
1113
|
+
* https://docs.discord.com/developers/resources/guild#incidents-data-object
|
|
1114
1114
|
*/
|
|
1115
1115
|
export interface APIIncidentsData {
|
|
1116
1116
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* Types extracted from https://discord.com/developers/
|
|
3
|
+
* Types extracted from https://docs.discord.com/developers/resources/guild
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.GuildOnboardingPromptType = exports.GuildOnboardingMode = exports.MembershipScreeningFieldType = exports.GuildWidgetStyle = exports.IntegrationExpireBehavior = exports.GuildFeature = exports.GuildSystemChannelFlags = exports.GuildHubType = exports.GuildPremiumTier = exports.GuildVerificationLevel = exports.GuildNSFWLevel = exports.GuildMFALevel = exports.GuildExplicitContentFilter = exports.GuildDefaultMessageNotifications = void 0;
|
|
7
7
|
/**
|
|
8
|
-
* https://discord.com/developers/
|
|
8
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-default-message-notification-level
|
|
9
9
|
*/
|
|
10
10
|
var GuildDefaultMessageNotifications;
|
|
11
11
|
(function (GuildDefaultMessageNotifications) {
|
|
@@ -13,7 +13,7 @@ var GuildDefaultMessageNotifications;
|
|
|
13
13
|
GuildDefaultMessageNotifications[GuildDefaultMessageNotifications["OnlyMentions"] = 1] = "OnlyMentions";
|
|
14
14
|
})(GuildDefaultMessageNotifications || (exports.GuildDefaultMessageNotifications = GuildDefaultMessageNotifications = {}));
|
|
15
15
|
/**
|
|
16
|
-
* https://discord.com/developers/
|
|
16
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-explicit-content-filter-level
|
|
17
17
|
*/
|
|
18
18
|
var GuildExplicitContentFilter;
|
|
19
19
|
(function (GuildExplicitContentFilter) {
|
|
@@ -22,7 +22,7 @@ var GuildExplicitContentFilter;
|
|
|
22
22
|
GuildExplicitContentFilter[GuildExplicitContentFilter["AllMembers"] = 2] = "AllMembers";
|
|
23
23
|
})(GuildExplicitContentFilter || (exports.GuildExplicitContentFilter = GuildExplicitContentFilter = {}));
|
|
24
24
|
/**
|
|
25
|
-
* https://discord.com/developers/
|
|
25
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-mfa-level
|
|
26
26
|
*/
|
|
27
27
|
var GuildMFALevel;
|
|
28
28
|
(function (GuildMFALevel) {
|
|
@@ -30,7 +30,7 @@ var GuildMFALevel;
|
|
|
30
30
|
GuildMFALevel[GuildMFALevel["Elevated"] = 1] = "Elevated";
|
|
31
31
|
})(GuildMFALevel || (exports.GuildMFALevel = GuildMFALevel = {}));
|
|
32
32
|
/**
|
|
33
|
-
* https://discord.com/developers/
|
|
33
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-guild-nsfw-level
|
|
34
34
|
*/
|
|
35
35
|
var GuildNSFWLevel;
|
|
36
36
|
(function (GuildNSFWLevel) {
|
|
@@ -40,7 +40,7 @@ var GuildNSFWLevel;
|
|
|
40
40
|
GuildNSFWLevel[GuildNSFWLevel["AgeRestricted"] = 3] = "AgeRestricted";
|
|
41
41
|
})(GuildNSFWLevel || (exports.GuildNSFWLevel = GuildNSFWLevel = {}));
|
|
42
42
|
/**
|
|
43
|
-
* https://discord.com/developers/
|
|
43
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-verification-level
|
|
44
44
|
*/
|
|
45
45
|
var GuildVerificationLevel;
|
|
46
46
|
(function (GuildVerificationLevel) {
|
|
@@ -66,7 +66,7 @@ var GuildVerificationLevel;
|
|
|
66
66
|
GuildVerificationLevel[GuildVerificationLevel["VeryHigh"] = 4] = "VeryHigh";
|
|
67
67
|
})(GuildVerificationLevel || (exports.GuildVerificationLevel = GuildVerificationLevel = {}));
|
|
68
68
|
/**
|
|
69
|
-
* https://discord.com/developers/
|
|
69
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-premium-tier
|
|
70
70
|
*/
|
|
71
71
|
var GuildPremiumTier;
|
|
72
72
|
(function (GuildPremiumTier) {
|
|
@@ -82,7 +82,7 @@ var GuildHubType;
|
|
|
82
82
|
GuildHubType[GuildHubType["College"] = 2] = "College";
|
|
83
83
|
})(GuildHubType || (exports.GuildHubType = GuildHubType = {}));
|
|
84
84
|
/**
|
|
85
|
-
* https://discord.com/developers/
|
|
85
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-system-channel-flags
|
|
86
86
|
*/
|
|
87
87
|
var GuildSystemChannelFlags;
|
|
88
88
|
(function (GuildSystemChannelFlags) {
|
|
@@ -112,7 +112,7 @@ var GuildSystemChannelFlags;
|
|
|
112
112
|
GuildSystemChannelFlags[GuildSystemChannelFlags["SuppressRoleSubscriptionPurchaseNotificationReplies"] = 32] = "SuppressRoleSubscriptionPurchaseNotificationReplies";
|
|
113
113
|
})(GuildSystemChannelFlags || (exports.GuildSystemChannelFlags = GuildSystemChannelFlags = {}));
|
|
114
114
|
/**
|
|
115
|
-
* https://discord.com/developers/
|
|
115
|
+
* https://docs.discord.com/developers/resources/guild#guild-object-guild-features
|
|
116
116
|
*/
|
|
117
117
|
var GuildFeature;
|
|
118
118
|
(function (GuildFeature) {
|
|
@@ -127,7 +127,7 @@ var GuildFeature;
|
|
|
127
127
|
/**
|
|
128
128
|
* Guild is using the old permissions configuration behavior
|
|
129
129
|
*
|
|
130
|
-
* See https://discord.com/developers/
|
|
130
|
+
* See https://docs.discord.com/developers/change-log#upcoming-application-command-permission-changes
|
|
131
131
|
*/
|
|
132
132
|
GuildFeature["ApplicationCommandPermissionsV2"] = "APPLICATION_COMMAND_PERMISSIONS_V2";
|
|
133
133
|
/**
|
|
@@ -279,7 +279,7 @@ var GuildFeature;
|
|
|
279
279
|
GuildFeature["EnhancedRoleColors"] = "ENHANCED_ROLE_COLORS";
|
|
280
280
|
})(GuildFeature || (exports.GuildFeature = GuildFeature = {}));
|
|
281
281
|
/**
|
|
282
|
-
* https://discord.com/developers/
|
|
282
|
+
* https://docs.discord.com/developers/resources/guild#integration-object-integration-expire-behaviors
|
|
283
283
|
*/
|
|
284
284
|
var IntegrationExpireBehavior;
|
|
285
285
|
(function (IntegrationExpireBehavior) {
|
|
@@ -287,7 +287,7 @@ var IntegrationExpireBehavior;
|
|
|
287
287
|
IntegrationExpireBehavior[IntegrationExpireBehavior["Kick"] = 1] = "Kick";
|
|
288
288
|
})(IntegrationExpireBehavior || (exports.IntegrationExpireBehavior = IntegrationExpireBehavior = {}));
|
|
289
289
|
/**
|
|
290
|
-
* https://discord.com/developers/
|
|
290
|
+
* https://docs.discord.com/developers/resources/guild#get-guild-widget-image-widget-style-options
|
|
291
291
|
*/
|
|
292
292
|
var GuildWidgetStyle;
|
|
293
293
|
(function (GuildWidgetStyle) {
|
|
@@ -321,7 +321,7 @@ var MembershipScreeningFieldType;
|
|
|
321
321
|
MembershipScreeningFieldType["Terms"] = "TERMS";
|
|
322
322
|
})(MembershipScreeningFieldType || (exports.MembershipScreeningFieldType = MembershipScreeningFieldType = {}));
|
|
323
323
|
/**
|
|
324
|
-
* https://discord.com/developers/
|
|
324
|
+
* https://docs.discord.com/developers/resources/guild#guild-onboarding-object-onboarding-mode
|
|
325
325
|
*/
|
|
326
326
|
var GuildOnboardingMode;
|
|
327
327
|
(function (GuildOnboardingMode) {
|
|
@@ -335,7 +335,7 @@ var GuildOnboardingMode;
|
|
|
335
335
|
GuildOnboardingMode[GuildOnboardingMode["OnboardingAdvanced"] = 1] = "OnboardingAdvanced";
|
|
336
336
|
})(GuildOnboardingMode || (exports.GuildOnboardingMode = GuildOnboardingMode = {}));
|
|
337
337
|
/**
|
|
338
|
-
* https://discord.com/developers/
|
|
338
|
+
* https://docs.discord.com/developers/resources/guild#guild-onboarding-object-prompt-types
|
|
339
339
|
*/
|
|
340
340
|
var GuildOnboardingPromptType;
|
|
341
341
|
(function (GuildOnboardingPromptType) {
|