seyfert 4.5.0 → 5.0.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/lib/api/Routes/cdn.d.ts +2 -2
- package/lib/api/Routes/guilds.d.ts +2 -2
- package/lib/api/Routes/invites.d.ts +2 -2
- package/lib/api/api.d.ts +20 -8
- package/lib/api/api.js +198 -44
- package/lib/api/shared.d.ts +30 -1
- package/lib/api/utils/constants.d.ts +1 -1
- package/lib/api/utils/constants.js +1 -1
- package/lib/api/utils/utils.d.ts +2 -1
- package/lib/api/utils/utils.js +1 -1
- package/lib/builders/Attachment.d.ts +1 -1
- package/lib/builders/Attachment.js +30 -8
- package/lib/builders/MediaGallery.d.ts +2 -2
- package/lib/builders/MediaGallery.js +10 -0
- package/lib/builders/Modal.d.ts +18 -8
- package/lib/builders/Modal.js +36 -7
- package/lib/builders/Poll.js +18 -0
- package/lib/builders/RadioGroup.d.ts +4 -3
- package/lib/builders/RadioGroup.js +24 -3
- package/lib/builders/SelectMenu.d.ts +8 -6
- package/lib/builders/SelectMenu.js +24 -3
- package/lib/builders/types.d.ts +3 -2
- package/lib/cache/adapters/default.d.ts +1 -1
- package/lib/cache/adapters/default.js +23 -26
- package/lib/cache/adapters/limited.d.ts +1 -0
- package/lib/cache/adapters/limited.js +47 -33
- package/lib/cache/index.d.ts +19 -25
- package/lib/cache/index.js +58 -6
- package/lib/cache/resources/bans.d.ts +1 -1
- package/lib/cache/resources/bans.js +4 -4
- package/lib/cache/resources/channels.d.ts +1 -1
- package/lib/cache/resources/channels.js +4 -4
- package/lib/cache/resources/default/base.d.ts +1 -1
- package/lib/cache/resources/default/base.js +8 -8
- package/lib/cache/resources/default/guild-based.d.ts +5 -5
- package/lib/cache/resources/default/guild-based.js +29 -16
- package/lib/cache/resources/default/guild-related.d.ts +5 -5
- package/lib/cache/resources/default/guild-related.js +14 -14
- package/lib/cache/resources/emojis.d.ts +1 -1
- package/lib/cache/resources/emojis.js +4 -4
- package/lib/cache/resources/guilds.js +28 -15
- package/lib/cache/resources/members.d.ts +1 -1
- package/lib/cache/resources/members.js +6 -6
- package/lib/cache/resources/messages.d.ts +7 -2
- package/lib/cache/resources/messages.js +43 -20
- package/lib/cache/resources/overwrites.d.ts +1 -1
- package/lib/cache/resources/overwrites.js +5 -8
- package/lib/cache/resources/roles.d.ts +1 -1
- package/lib/cache/resources/roles.js +4 -4
- package/lib/cache/resources/stickers.d.ts +1 -1
- package/lib/cache/resources/stickers.js +4 -4
- package/lib/cache/resources/users.js +4 -4
- package/lib/cache/resources/voice-states.d.ts +1 -1
- package/lib/cache/resources/voice-states.js +4 -4
- package/lib/client/base.d.ts +83 -24
- package/lib/client/base.js +594 -39
- package/lib/client/client.d.ts +28 -3
- package/lib/client/client.js +33 -9
- package/lib/client/collectors.d.ts +9 -8
- package/lib/client/collectors.js +19 -52
- package/lib/client/httpclient.d.ts +3 -0
- package/lib/client/index.d.ts +3 -1
- package/lib/client/index.js +4 -0
- package/lib/client/intents.d.ts +3 -0
- package/lib/client/intents.js +9 -0
- package/lib/client/plugins/api.d.ts +4 -0
- package/lib/client/plugins/api.js +550 -0
- package/lib/client/plugins/errors.d.ts +25 -0
- package/lib/client/plugins/errors.js +79 -0
- package/lib/client/plugins/order.d.ts +10 -0
- package/lib/client/plugins/order.js +32 -0
- package/lib/client/plugins/registry.d.ts +273 -0
- package/lib/client/plugins/registry.js +868 -0
- package/lib/client/plugins/shared.d.ts +23 -0
- package/lib/client/plugins/shared.js +193 -0
- package/lib/client/plugins/types.d.ts +398 -0
- package/lib/client/plugins/types.js +8 -0
- package/lib/client/plugins.d.ts +78 -0
- package/lib/client/plugins.js +558 -0
- package/lib/client/transformers.d.ts +33 -33
- package/lib/client/workerclient.d.ts +10 -1
- package/lib/client/workerclient.js +27 -17
- package/lib/collection.d.ts +10 -8
- package/lib/collection.js +19 -25
- package/lib/commands/applications/chat.d.ts +20 -18
- package/lib/commands/applications/chat.js +39 -14
- package/lib/commands/applications/chatcontext.d.ts +23 -15
- package/lib/commands/applications/chatcontext.js +23 -2
- package/lib/commands/applications/entryPoint.d.ts +4 -3
- package/lib/commands/applications/entryPoint.js +1 -1
- package/lib/commands/applications/entrycontext.d.ts +7 -9
- package/lib/commands/applications/entrycontext.js +3 -1
- package/lib/commands/applications/menu.d.ts +4 -3
- package/lib/commands/applications/menucontext.d.ts +7 -9
- package/lib/commands/applications/menucontext.js +3 -1
- package/lib/commands/applications/options.d.ts +23 -23
- package/lib/commands/applications/shared.d.ts +39 -17
- package/lib/commands/decorators.d.ts +50 -38
- package/lib/commands/decorators.js +15 -5
- package/lib/commands/handle.d.ts +19 -8
- package/lib/commands/handle.js +224 -143
- package/lib/commands/handler.d.ts +21 -8
- package/lib/commands/handler.js +157 -69
- package/lib/commands/index.d.ts +1 -0
- package/lib/commands/optionresolver.d.ts +2 -2
- package/lib/common/it/colors.js +12 -2
- package/lib/common/it/error.d.ts +9 -0
- package/lib/common/it/error.js +8 -0
- package/lib/common/it/fake-promise.d.ts +4 -0
- package/lib/common/it/fake-promise.js +10 -0
- package/lib/common/it/formatter.d.ts +14 -11
- package/lib/common/it/formatter.js +4 -3
- package/lib/common/it/logger.d.ts +7 -1
- package/lib/common/it/logger.js +24 -6
- package/lib/common/it/utils.d.ts +6 -8
- package/lib/common/it/utils.js +44 -42
- package/lib/common/shorters/application.d.ts +3 -3
- package/lib/common/shorters/application.js +3 -2
- package/lib/common/shorters/bans.d.ts +8 -4
- package/lib/common/shorters/bans.js +13 -5
- package/lib/common/shorters/channels.d.ts +4 -4
- package/lib/common/shorters/channels.js +4 -4
- package/lib/common/shorters/emojis.js +1 -0
- package/lib/common/shorters/guilds.d.ts +8 -8
- package/lib/common/shorters/guilds.js +14 -31
- package/lib/common/shorters/interaction.d.ts +1 -1
- package/lib/common/shorters/invites.d.ts +201 -201
- package/lib/common/shorters/members.d.ts +7 -7
- package/lib/common/shorters/members.js +13 -14
- package/lib/common/shorters/messages.d.ts +2 -2
- package/lib/common/shorters/soundboard.d.ts +5 -5
- package/lib/common/shorters/users.d.ts +1 -1
- package/lib/common/shorters/webhook.d.ts +3 -2
- package/lib/common/shorters/webhook.js +0 -7
- package/lib/common/types/options.d.ts +4 -0
- package/lib/common/types/util.d.ts +8 -0
- package/lib/common/types/write.d.ts +2 -1
- package/lib/components/BaseSelectMenuComponent.d.ts +1 -1
- package/lib/components/BaseSelectMenuComponent.js +1 -1
- package/lib/components/ButtonComponent.d.ts +3 -3
- package/lib/components/ChannelSelectMenuComponent.d.ts +2 -2
- package/lib/components/File.d.ts +1 -1
- package/lib/components/MediaGallery.d.ts +1 -1
- package/lib/components/MentionableSelectMenuComponent.d.ts +1 -1
- package/lib/components/RoleSelectMenuComponent.d.ts +1 -1
- package/lib/components/Separator.d.ts +1 -1
- package/lib/components/StringSelectMenuComponent.d.ts +1 -1
- package/lib/components/TextInputComponent.d.ts +1 -1
- package/lib/components/Thumbnail.d.ts +1 -1
- package/lib/components/UserSelectMenuComponent.d.ts +1 -1
- package/lib/components/componentcommand.d.ts +8 -7
- package/lib/components/componentcontext.d.ts +24 -36
- package/lib/components/componentcontext.js +7 -17
- package/lib/components/handler.d.ts +17 -7
- package/lib/components/handler.js +108 -49
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +1 -0
- package/lib/components/interactioncontext.d.ts +45 -0
- package/lib/components/interactioncontext.js +93 -0
- package/lib/components/modalcommand.d.ts +5 -4
- package/lib/components/modalcontext.d.ts +39 -20
- package/lib/components/modalcontext.js +59 -6
- package/lib/events/event.d.ts +9 -3
- package/lib/events/handler.d.ts +51 -6
- package/lib/events/handler.js +165 -36
- package/lib/events/hooks/application_command.d.ts +1 -1
- package/lib/events/hooks/auto_moderation.d.ts +2 -2
- package/lib/events/hooks/guild.d.ts +150 -150
- package/lib/events/hooks/interactions.d.ts +1 -1
- package/lib/events/hooks/invite.d.ts +20 -20
- package/lib/events/hooks/message.d.ts +27 -27
- package/lib/events/hooks/presence.d.ts +11 -11
- package/lib/events/hooks/soundboard.d.ts +6 -6
- package/lib/events/hooks/stage.d.ts +2 -2
- package/lib/events/hooks/subscriptions.d.ts +3 -3
- package/lib/events/hooks/thread.d.ts +30 -30
- package/lib/events/hooks/voice.d.ts +3 -4
- package/lib/events/hooks/voice.js +2 -1
- package/lib/events/utils.d.ts +4 -0
- package/lib/events/utils.js +59 -0
- package/lib/index.d.ts +9 -4
- package/lib/index.js +13 -8
- package/lib/langs/handler.d.ts +14 -11
- package/lib/langs/handler.js +46 -9
- package/lib/langs/router.d.ts +10 -3
- package/lib/structures/Application.d.ts +1 -1
- package/lib/structures/Emoji.d.ts +3 -3
- package/lib/structures/Emoji.js +2 -2
- package/lib/structures/Guild.d.ts +154 -154
- package/lib/structures/GuildBan.d.ts +4 -4
- package/lib/structures/GuildBan.js +3 -3
- package/lib/structures/GuildMember.d.ts +7 -7
- package/lib/structures/GuildMember.js +28 -7
- package/lib/structures/GuildRole.d.ts +1 -1
- package/lib/structures/GuildRole.js +2 -2
- package/lib/structures/Interaction.d.ts +11 -9
- package/lib/structures/Interaction.js +33 -12
- package/lib/structures/Message.d.ts +21 -14
- package/lib/structures/Message.js +29 -14
- package/lib/structures/User.d.ts +1 -1
- package/lib/structures/VoiceState.d.ts +4 -0
- package/lib/structures/VoiceState.js +13 -1
- package/lib/structures/Webhook.d.ts +9 -1
- package/lib/structures/Webhook.js +4 -1
- package/lib/structures/channels.d.ts +148 -134
- package/lib/structures/channels.js +27 -26
- package/lib/structures/extra/BitField.d.ts +4 -4
- package/lib/structures/extra/BitField.js +20 -4
- package/lib/structures/extra/DiscordBase.js +1 -1
- package/lib/structures/extra/Permissions.d.ts +2 -4
- package/lib/structures/extra/Permissions.js +1 -17
- package/lib/types/payloads/_interactions/responses.d.ts +2 -2
- package/lib/types/payloads/components.d.ts +4 -4
- package/lib/websocket/SharedTypes.d.ts +4 -4
- package/lib/websocket/constants/index.d.ts +1 -1
- package/lib/websocket/constants/index.js +3 -2
- package/lib/websocket/discord/events/memberUpdate.js +2 -2
- package/lib/websocket/discord/heartbeater.d.ts +1 -0
- package/lib/websocket/discord/heartbeater.js +7 -0
- package/lib/websocket/discord/shard.d.ts +2 -2
- package/lib/websocket/discord/shard.js +15 -13
- package/lib/websocket/discord/sharder.d.ts +8 -7
- package/lib/websocket/discord/sharder.js +25 -5
- package/lib/websocket/discord/shared.d.ts +19 -6
- package/lib/websocket/discord/socket/custom.js +5 -0
- package/lib/websocket/discord/worker.d.ts +1 -0
- package/lib/websocket/discord/worker.js +2 -0
- package/lib/websocket/discord/workermanager.d.ts +25 -11
- package/lib/websocket/discord/workermanager.js +41 -10
- package/package.json +12 -16
|
@@ -10,15 +10,15 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
10
10
|
icon: string | null;
|
|
11
11
|
splash: string | null;
|
|
12
12
|
banner: string | null;
|
|
13
|
-
features: import("
|
|
14
|
-
verificationLevel: import("
|
|
13
|
+
features: import("../..").GuildFeature[];
|
|
14
|
+
verificationLevel: import("../..").GuildVerificationLevel;
|
|
15
15
|
vanityUrlCode: string | null;
|
|
16
16
|
premiumSubscriptionCount?: number | undefined;
|
|
17
|
-
nsfwLevel: import("
|
|
17
|
+
nsfwLevel: import("../..").GuildNSFWLevel;
|
|
18
18
|
} | undefined;
|
|
19
19
|
channel: {
|
|
20
20
|
id: string;
|
|
21
|
-
type: import("
|
|
21
|
+
type: import("../..").ChannelType;
|
|
22
22
|
name: string | null;
|
|
23
23
|
} | null;
|
|
24
24
|
inviter?: {
|
|
@@ -35,14 +35,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
35
35
|
locale?: string | undefined;
|
|
36
36
|
verified?: boolean | undefined;
|
|
37
37
|
email?: string | null | undefined;
|
|
38
|
-
flags?: import("
|
|
39
|
-
premiumType?: import("
|
|
40
|
-
publicFlags?: import("
|
|
41
|
-
avatarDecorationData?: import("
|
|
42
|
-
collectibles?: import("
|
|
43
|
-
primaryGuild?: import("
|
|
38
|
+
flags?: import("../..").UserFlags | undefined;
|
|
39
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
40
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
41
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
42
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
43
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
44
44
|
} | undefined;
|
|
45
|
-
targetType?: import("
|
|
45
|
+
targetType?: import("../..").InviteTargetType | undefined;
|
|
46
46
|
targetUser?: {
|
|
47
47
|
id: string;
|
|
48
48
|
username: string;
|
|
@@ -57,12 +57,12 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
57
57
|
locale?: string | undefined;
|
|
58
58
|
verified?: boolean | undefined;
|
|
59
59
|
email?: string | null | undefined;
|
|
60
|
-
flags?: import("
|
|
61
|
-
premiumType?: import("
|
|
62
|
-
publicFlags?: import("
|
|
63
|
-
avatarDecorationData?: import("
|
|
64
|
-
collectibles?: import("
|
|
65
|
-
primaryGuild?: import("
|
|
60
|
+
flags?: import("../..").UserFlags | undefined;
|
|
61
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
62
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
63
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
64
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
65
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
66
66
|
} | undefined;
|
|
67
67
|
targetApplication?: {
|
|
68
68
|
id?: string | undefined;
|
|
@@ -72,26 +72,26 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
72
72
|
rpcOrigins?: string[] | undefined;
|
|
73
73
|
botPublic?: boolean | undefined;
|
|
74
74
|
botRequireCodeGrant?: boolean | undefined;
|
|
75
|
-
bot?: import("
|
|
75
|
+
bot?: import("../..").APIUser | undefined;
|
|
76
76
|
termsOfServiceUrl?: string | undefined;
|
|
77
77
|
privacyPolicyUrl?: string | undefined;
|
|
78
|
-
owner?: import("
|
|
78
|
+
owner?: import("../..").APIUser | undefined;
|
|
79
79
|
verifyKey?: string | undefined;
|
|
80
|
-
team?: import("
|
|
80
|
+
team?: import("../..").APITeam | null | undefined;
|
|
81
81
|
guildId?: string | undefined;
|
|
82
|
-
guild?: import("
|
|
82
|
+
guild?: import("../..").APIPartialGuild | undefined;
|
|
83
83
|
primarySkuId?: string | undefined;
|
|
84
84
|
slug?: string | undefined;
|
|
85
85
|
coverImage?: string | undefined;
|
|
86
|
-
flags?: import("
|
|
86
|
+
flags?: import("../..").ApplicationFlags | undefined;
|
|
87
87
|
approximateGuildCount?: number | undefined;
|
|
88
88
|
approximateUserInstallCount?: number | undefined;
|
|
89
89
|
redirectUris?: string[] | undefined;
|
|
90
90
|
interactionsEndpointUrl?: string | null | undefined;
|
|
91
91
|
roleConnectionsVerificationUrl?: string | null | undefined;
|
|
92
92
|
tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
|
|
93
|
-
installParams?: import("
|
|
94
|
-
integrationTypesConfig?: import("
|
|
93
|
+
installParams?: import("../..").APIApplicationInstallParams | undefined;
|
|
94
|
+
integrationTypesConfig?: import("../..").APIApplicationIntegrationTypesConfigMap | undefined;
|
|
95
95
|
customInstallUrl?: string | undefined;
|
|
96
96
|
} | undefined;
|
|
97
97
|
approximatePresenceCount?: number | undefined;
|
|
@@ -107,14 +107,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
107
107
|
description?: string | null | undefined;
|
|
108
108
|
scheduledStartTime: string;
|
|
109
109
|
scheduledEndTime: string | null;
|
|
110
|
-
privacyLevel: import("
|
|
111
|
-
status: import("
|
|
112
|
-
entityType: import("
|
|
110
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
111
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
112
|
+
entityType: import("../..").GuildScheduledEventEntityType.StageInstance;
|
|
113
113
|
entityId: string | null;
|
|
114
|
-
creator?: import("
|
|
114
|
+
creator?: import("../..").APIUser | undefined;
|
|
115
115
|
userCount?: number | undefined;
|
|
116
116
|
image?: string | null | undefined;
|
|
117
|
-
recurrenceRule: import("
|
|
117
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
118
118
|
} | {
|
|
119
119
|
channelId: string;
|
|
120
120
|
entityMetadata: null;
|
|
@@ -125,14 +125,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
125
125
|
description?: string | null | undefined;
|
|
126
126
|
scheduledStartTime: string;
|
|
127
127
|
scheduledEndTime: string | null;
|
|
128
|
-
privacyLevel: import("
|
|
129
|
-
status: import("
|
|
130
|
-
entityType: import("
|
|
128
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
129
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
130
|
+
entityType: import("../..").GuildScheduledEventEntityType.Voice;
|
|
131
131
|
entityId: string | null;
|
|
132
|
-
creator?: import("
|
|
132
|
+
creator?: import("../..").APIUser | undefined;
|
|
133
133
|
userCount?: number | undefined;
|
|
134
134
|
image?: string | null | undefined;
|
|
135
|
-
recurrenceRule: import("
|
|
135
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
136
136
|
} | {
|
|
137
137
|
channelId: null;
|
|
138
138
|
entityMetadata: {
|
|
@@ -145,16 +145,16 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
145
145
|
description?: string | null | undefined;
|
|
146
146
|
scheduledStartTime: string;
|
|
147
147
|
scheduledEndTime: string | null;
|
|
148
|
-
privacyLevel: import("
|
|
149
|
-
status: import("
|
|
150
|
-
entityType: import("
|
|
148
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
149
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
150
|
+
entityType: import("../..").GuildScheduledEventEntityType.External;
|
|
151
151
|
entityId: string | null;
|
|
152
|
-
creator?: import("
|
|
152
|
+
creator?: import("../..").APIUser | undefined;
|
|
153
153
|
userCount?: number | undefined;
|
|
154
154
|
image?: string | null | undefined;
|
|
155
|
-
recurrenceRule: import("
|
|
155
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
156
156
|
} | undefined;
|
|
157
|
-
type: import("
|
|
157
|
+
type: import("../..").InviteType;
|
|
158
158
|
}>;
|
|
159
159
|
delete(code: string, reason?: string): Promise<{
|
|
160
160
|
code: string;
|
|
@@ -165,15 +165,15 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
165
165
|
icon: string | null;
|
|
166
166
|
splash: string | null;
|
|
167
167
|
banner: string | null;
|
|
168
|
-
features: import("
|
|
169
|
-
verificationLevel: import("
|
|
168
|
+
features: import("../..").GuildFeature[];
|
|
169
|
+
verificationLevel: import("../..").GuildVerificationLevel;
|
|
170
170
|
vanityUrlCode: string | null;
|
|
171
171
|
premiumSubscriptionCount?: number | undefined;
|
|
172
|
-
nsfwLevel: import("
|
|
172
|
+
nsfwLevel: import("../..").GuildNSFWLevel;
|
|
173
173
|
} | undefined;
|
|
174
174
|
channel: {
|
|
175
175
|
id: string;
|
|
176
|
-
type: import("
|
|
176
|
+
type: import("../..").ChannelType;
|
|
177
177
|
name: string | null;
|
|
178
178
|
} | null;
|
|
179
179
|
inviter?: {
|
|
@@ -190,14 +190,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
190
190
|
locale?: string | undefined;
|
|
191
191
|
verified?: boolean | undefined;
|
|
192
192
|
email?: string | null | undefined;
|
|
193
|
-
flags?: import("
|
|
194
|
-
premiumType?: import("
|
|
195
|
-
publicFlags?: import("
|
|
196
|
-
avatarDecorationData?: import("
|
|
197
|
-
collectibles?: import("
|
|
198
|
-
primaryGuild?: import("
|
|
193
|
+
flags?: import("../..").UserFlags | undefined;
|
|
194
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
195
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
196
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
197
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
198
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
199
199
|
} | undefined;
|
|
200
|
-
targetType?: import("
|
|
200
|
+
targetType?: import("../..").InviteTargetType | undefined;
|
|
201
201
|
targetUser?: {
|
|
202
202
|
id: string;
|
|
203
203
|
username: string;
|
|
@@ -212,12 +212,12 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
212
212
|
locale?: string | undefined;
|
|
213
213
|
verified?: boolean | undefined;
|
|
214
214
|
email?: string | null | undefined;
|
|
215
|
-
flags?: import("
|
|
216
|
-
premiumType?: import("
|
|
217
|
-
publicFlags?: import("
|
|
218
|
-
avatarDecorationData?: import("
|
|
219
|
-
collectibles?: import("
|
|
220
|
-
primaryGuild?: import("
|
|
215
|
+
flags?: import("../..").UserFlags | undefined;
|
|
216
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
217
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
218
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
219
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
220
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
221
221
|
} | undefined;
|
|
222
222
|
targetApplication?: {
|
|
223
223
|
id?: string | undefined;
|
|
@@ -227,26 +227,26 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
227
227
|
rpcOrigins?: string[] | undefined;
|
|
228
228
|
botPublic?: boolean | undefined;
|
|
229
229
|
botRequireCodeGrant?: boolean | undefined;
|
|
230
|
-
bot?: import("
|
|
230
|
+
bot?: import("../..").APIUser | undefined;
|
|
231
231
|
termsOfServiceUrl?: string | undefined;
|
|
232
232
|
privacyPolicyUrl?: string | undefined;
|
|
233
|
-
owner?: import("
|
|
233
|
+
owner?: import("../..").APIUser | undefined;
|
|
234
234
|
verifyKey?: string | undefined;
|
|
235
|
-
team?: import("
|
|
235
|
+
team?: import("../..").APITeam | null | undefined;
|
|
236
236
|
guildId?: string | undefined;
|
|
237
|
-
guild?: import("
|
|
237
|
+
guild?: import("../..").APIPartialGuild | undefined;
|
|
238
238
|
primarySkuId?: string | undefined;
|
|
239
239
|
slug?: string | undefined;
|
|
240
240
|
coverImage?: string | undefined;
|
|
241
|
-
flags?: import("
|
|
241
|
+
flags?: import("../..").ApplicationFlags | undefined;
|
|
242
242
|
approximateGuildCount?: number | undefined;
|
|
243
243
|
approximateUserInstallCount?: number | undefined;
|
|
244
244
|
redirectUris?: string[] | undefined;
|
|
245
245
|
interactionsEndpointUrl?: string | null | undefined;
|
|
246
246
|
roleConnectionsVerificationUrl?: string | null | undefined;
|
|
247
247
|
tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
|
|
248
|
-
installParams?: import("
|
|
249
|
-
integrationTypesConfig?: import("
|
|
248
|
+
installParams?: import("../..").APIApplicationInstallParams | undefined;
|
|
249
|
+
integrationTypesConfig?: import("../..").APIApplicationIntegrationTypesConfigMap | undefined;
|
|
250
250
|
customInstallUrl?: string | undefined;
|
|
251
251
|
} | undefined;
|
|
252
252
|
approximatePresenceCount?: number | undefined;
|
|
@@ -262,14 +262,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
262
262
|
description?: string | null | undefined;
|
|
263
263
|
scheduledStartTime: string;
|
|
264
264
|
scheduledEndTime: string | null;
|
|
265
|
-
privacyLevel: import("
|
|
266
|
-
status: import("
|
|
267
|
-
entityType: import("
|
|
265
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
266
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
267
|
+
entityType: import("../..").GuildScheduledEventEntityType.StageInstance;
|
|
268
268
|
entityId: string | null;
|
|
269
|
-
creator?: import("
|
|
269
|
+
creator?: import("../..").APIUser | undefined;
|
|
270
270
|
userCount?: number | undefined;
|
|
271
271
|
image?: string | null | undefined;
|
|
272
|
-
recurrenceRule: import("
|
|
272
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
273
273
|
} | {
|
|
274
274
|
channelId: string;
|
|
275
275
|
entityMetadata: null;
|
|
@@ -280,14 +280,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
280
280
|
description?: string | null | undefined;
|
|
281
281
|
scheduledStartTime: string;
|
|
282
282
|
scheduledEndTime: string | null;
|
|
283
|
-
privacyLevel: import("
|
|
284
|
-
status: import("
|
|
285
|
-
entityType: import("
|
|
283
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
284
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
285
|
+
entityType: import("../..").GuildScheduledEventEntityType.Voice;
|
|
286
286
|
entityId: string | null;
|
|
287
|
-
creator?: import("
|
|
287
|
+
creator?: import("../..").APIUser | undefined;
|
|
288
288
|
userCount?: number | undefined;
|
|
289
289
|
image?: string | null | undefined;
|
|
290
|
-
recurrenceRule: import("
|
|
290
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
291
291
|
} | {
|
|
292
292
|
channelId: null;
|
|
293
293
|
entityMetadata: {
|
|
@@ -300,16 +300,16 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
300
300
|
description?: string | null | undefined;
|
|
301
301
|
scheduledStartTime: string;
|
|
302
302
|
scheduledEndTime: string | null;
|
|
303
|
-
privacyLevel: import("
|
|
304
|
-
status: import("
|
|
305
|
-
entityType: import("
|
|
303
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
304
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
305
|
+
entityType: import("../..").GuildScheduledEventEntityType.External;
|
|
306
306
|
entityId: string | null;
|
|
307
|
-
creator?: import("
|
|
307
|
+
creator?: import("../..").APIUser | undefined;
|
|
308
308
|
userCount?: number | undefined;
|
|
309
309
|
image?: string | null | undefined;
|
|
310
|
-
recurrenceRule: import("
|
|
310
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
311
311
|
} | undefined;
|
|
312
|
-
type: import("
|
|
312
|
+
type: import("../..").InviteType;
|
|
313
313
|
}>;
|
|
314
314
|
/**
|
|
315
315
|
* Returns a list of users that can accept this invite.
|
|
@@ -319,7 +319,7 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
319
319
|
getTargetUsers(code: string): Promise<string>;
|
|
320
320
|
updateTargetUsers(code: string, targetIds: string[]): Promise<undefined>;
|
|
321
321
|
jobStatus(code: string): Promise<{
|
|
322
|
-
status: import("
|
|
322
|
+
status: import("../..").TargetUsersJobStatusCode;
|
|
323
323
|
totalUsers: number;
|
|
324
324
|
processedUsers: number;
|
|
325
325
|
createdAt: string;
|
|
@@ -341,15 +341,15 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
341
341
|
icon: string | null;
|
|
342
342
|
splash: string | null;
|
|
343
343
|
banner: string | null;
|
|
344
|
-
features: import("
|
|
345
|
-
verificationLevel: import("
|
|
344
|
+
features: import("../..").GuildFeature[];
|
|
345
|
+
verificationLevel: import("../..").GuildVerificationLevel;
|
|
346
346
|
vanityUrlCode: string | null;
|
|
347
347
|
premiumSubscriptionCount?: number | undefined;
|
|
348
|
-
nsfwLevel: import("
|
|
348
|
+
nsfwLevel: import("../..").GuildNSFWLevel;
|
|
349
349
|
} | undefined;
|
|
350
350
|
channel: {
|
|
351
351
|
id: string;
|
|
352
|
-
type: import("
|
|
352
|
+
type: import("../..").ChannelType;
|
|
353
353
|
name: string | null;
|
|
354
354
|
} | null;
|
|
355
355
|
inviter?: {
|
|
@@ -366,14 +366,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
366
366
|
locale?: string | undefined;
|
|
367
367
|
verified?: boolean | undefined;
|
|
368
368
|
email?: string | null | undefined;
|
|
369
|
-
flags?: import("
|
|
370
|
-
premiumType?: import("
|
|
371
|
-
publicFlags?: import("
|
|
372
|
-
avatarDecorationData?: import("
|
|
373
|
-
collectibles?: import("
|
|
374
|
-
primaryGuild?: import("
|
|
369
|
+
flags?: import("../..").UserFlags | undefined;
|
|
370
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
371
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
372
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
373
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
374
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
375
375
|
} | undefined;
|
|
376
|
-
targetType?: import("
|
|
376
|
+
targetType?: import("../..").InviteTargetType | undefined;
|
|
377
377
|
targetUser?: {
|
|
378
378
|
id: string;
|
|
379
379
|
username: string;
|
|
@@ -388,12 +388,12 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
388
388
|
locale?: string | undefined;
|
|
389
389
|
verified?: boolean | undefined;
|
|
390
390
|
email?: string | null | undefined;
|
|
391
|
-
flags?: import("
|
|
392
|
-
premiumType?: import("
|
|
393
|
-
publicFlags?: import("
|
|
394
|
-
avatarDecorationData?: import("
|
|
395
|
-
collectibles?: import("
|
|
396
|
-
primaryGuild?: import("
|
|
391
|
+
flags?: import("../..").UserFlags | undefined;
|
|
392
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
393
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
394
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
395
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
396
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
397
397
|
} | undefined;
|
|
398
398
|
targetApplication?: {
|
|
399
399
|
id?: string | undefined;
|
|
@@ -403,26 +403,26 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
403
403
|
rpcOrigins?: string[] | undefined;
|
|
404
404
|
botPublic?: boolean | undefined;
|
|
405
405
|
botRequireCodeGrant?: boolean | undefined;
|
|
406
|
-
bot?: import("
|
|
406
|
+
bot?: import("../..").APIUser | undefined;
|
|
407
407
|
termsOfServiceUrl?: string | undefined;
|
|
408
408
|
privacyPolicyUrl?: string | undefined;
|
|
409
|
-
owner?: import("
|
|
409
|
+
owner?: import("../..").APIUser | undefined;
|
|
410
410
|
verifyKey?: string | undefined;
|
|
411
|
-
team?: import("
|
|
411
|
+
team?: import("../..").APITeam | null | undefined;
|
|
412
412
|
guildId?: string | undefined;
|
|
413
|
-
guild?: import("
|
|
413
|
+
guild?: import("../..").APIPartialGuild | undefined;
|
|
414
414
|
primarySkuId?: string | undefined;
|
|
415
415
|
slug?: string | undefined;
|
|
416
416
|
coverImage?: string | undefined;
|
|
417
|
-
flags?: import("
|
|
417
|
+
flags?: import("../..").ApplicationFlags | undefined;
|
|
418
418
|
approximateGuildCount?: number | undefined;
|
|
419
419
|
approximateUserInstallCount?: number | undefined;
|
|
420
420
|
redirectUris?: string[] | undefined;
|
|
421
421
|
interactionsEndpointUrl?: string | null | undefined;
|
|
422
422
|
roleConnectionsVerificationUrl?: string | null | undefined;
|
|
423
423
|
tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
|
|
424
|
-
installParams?: import("
|
|
425
|
-
integrationTypesConfig?: import("
|
|
424
|
+
installParams?: import("../..").APIApplicationInstallParams | undefined;
|
|
425
|
+
integrationTypesConfig?: import("../..").APIApplicationIntegrationTypesConfigMap | undefined;
|
|
426
426
|
customInstallUrl?: string | undefined;
|
|
427
427
|
} | undefined;
|
|
428
428
|
approximatePresenceCount?: number | undefined;
|
|
@@ -438,14 +438,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
438
438
|
description?: string | null | undefined;
|
|
439
439
|
scheduledStartTime: string;
|
|
440
440
|
scheduledEndTime: string | null;
|
|
441
|
-
privacyLevel: import("
|
|
442
|
-
status: import("
|
|
443
|
-
entityType: import("
|
|
441
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
442
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
443
|
+
entityType: import("../..").GuildScheduledEventEntityType.StageInstance;
|
|
444
444
|
entityId: string | null;
|
|
445
|
-
creator?: import("
|
|
445
|
+
creator?: import("../..").APIUser | undefined;
|
|
446
446
|
userCount?: number | undefined;
|
|
447
447
|
image?: string | null | undefined;
|
|
448
|
-
recurrenceRule: import("
|
|
448
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
449
449
|
} | {
|
|
450
450
|
channelId: string;
|
|
451
451
|
entityMetadata: null;
|
|
@@ -456,14 +456,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
456
456
|
description?: string | null | undefined;
|
|
457
457
|
scheduledStartTime: string;
|
|
458
458
|
scheduledEndTime: string | null;
|
|
459
|
-
privacyLevel: import("
|
|
460
|
-
status: import("
|
|
461
|
-
entityType: import("
|
|
459
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
460
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
461
|
+
entityType: import("../..").GuildScheduledEventEntityType.Voice;
|
|
462
462
|
entityId: string | null;
|
|
463
|
-
creator?: import("
|
|
463
|
+
creator?: import("../..").APIUser | undefined;
|
|
464
464
|
userCount?: number | undefined;
|
|
465
465
|
image?: string | null | undefined;
|
|
466
|
-
recurrenceRule: import("
|
|
466
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
467
467
|
} | {
|
|
468
468
|
channelId: null;
|
|
469
469
|
entityMetadata: {
|
|
@@ -476,16 +476,16 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
476
476
|
description?: string | null | undefined;
|
|
477
477
|
scheduledStartTime: string;
|
|
478
478
|
scheduledEndTime: string | null;
|
|
479
|
-
privacyLevel: import("
|
|
480
|
-
status: import("
|
|
481
|
-
entityType: import("
|
|
479
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
480
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
481
|
+
entityType: import("../..").GuildScheduledEventEntityType.External;
|
|
482
482
|
entityId: string | null;
|
|
483
|
-
creator?: import("
|
|
483
|
+
creator?: import("../..").APIUser | undefined;
|
|
484
484
|
userCount?: number | undefined;
|
|
485
485
|
image?: string | null | undefined;
|
|
486
|
-
recurrenceRule: import("
|
|
486
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
487
487
|
} | undefined;
|
|
488
|
-
type: import("
|
|
488
|
+
type: import("../..").InviteType;
|
|
489
489
|
}>;
|
|
490
490
|
list: (channelId: string) => Promise<{
|
|
491
491
|
uses: number;
|
|
@@ -501,15 +501,15 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
501
501
|
icon: string | null;
|
|
502
502
|
splash: string | null;
|
|
503
503
|
banner: string | null;
|
|
504
|
-
features: import("
|
|
505
|
-
verificationLevel: import("
|
|
504
|
+
features: import("../..").GuildFeature[];
|
|
505
|
+
verificationLevel: import("../..").GuildVerificationLevel;
|
|
506
506
|
vanityUrlCode: string | null;
|
|
507
507
|
premiumSubscriptionCount?: number | undefined;
|
|
508
|
-
nsfwLevel: import("
|
|
508
|
+
nsfwLevel: import("../..").GuildNSFWLevel;
|
|
509
509
|
} | undefined;
|
|
510
510
|
channel: {
|
|
511
511
|
id: string;
|
|
512
|
-
type: import("
|
|
512
|
+
type: import("../..").ChannelType;
|
|
513
513
|
name: string | null;
|
|
514
514
|
} | null;
|
|
515
515
|
inviter?: {
|
|
@@ -526,14 +526,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
526
526
|
locale?: string | undefined;
|
|
527
527
|
verified?: boolean | undefined;
|
|
528
528
|
email?: string | null | undefined;
|
|
529
|
-
flags?: import("
|
|
530
|
-
premiumType?: import("
|
|
531
|
-
publicFlags?: import("
|
|
532
|
-
avatarDecorationData?: import("
|
|
533
|
-
collectibles?: import("
|
|
534
|
-
primaryGuild?: import("
|
|
529
|
+
flags?: import("../..").UserFlags | undefined;
|
|
530
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
531
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
532
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
533
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
534
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
535
535
|
} | undefined;
|
|
536
|
-
targetType?: import("
|
|
536
|
+
targetType?: import("../..").InviteTargetType | undefined;
|
|
537
537
|
targetUser?: {
|
|
538
538
|
id: string;
|
|
539
539
|
username: string;
|
|
@@ -548,12 +548,12 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
548
548
|
locale?: string | undefined;
|
|
549
549
|
verified?: boolean | undefined;
|
|
550
550
|
email?: string | null | undefined;
|
|
551
|
-
flags?: import("
|
|
552
|
-
premiumType?: import("
|
|
553
|
-
publicFlags?: import("
|
|
554
|
-
avatarDecorationData?: import("
|
|
555
|
-
collectibles?: import("
|
|
556
|
-
primaryGuild?: import("
|
|
551
|
+
flags?: import("../..").UserFlags | undefined;
|
|
552
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
553
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
554
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
555
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
556
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
557
557
|
} | undefined;
|
|
558
558
|
targetApplication?: {
|
|
559
559
|
id?: string | undefined;
|
|
@@ -563,26 +563,26 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
563
563
|
rpcOrigins?: string[] | undefined;
|
|
564
564
|
botPublic?: boolean | undefined;
|
|
565
565
|
botRequireCodeGrant?: boolean | undefined;
|
|
566
|
-
bot?: import("
|
|
566
|
+
bot?: import("../..").APIUser | undefined;
|
|
567
567
|
termsOfServiceUrl?: string | undefined;
|
|
568
568
|
privacyPolicyUrl?: string | undefined;
|
|
569
|
-
owner?: import("
|
|
569
|
+
owner?: import("../..").APIUser | undefined;
|
|
570
570
|
verifyKey?: string | undefined;
|
|
571
|
-
team?: import("
|
|
571
|
+
team?: import("../..").APITeam | null | undefined;
|
|
572
572
|
guildId?: string | undefined;
|
|
573
|
-
guild?: import("
|
|
573
|
+
guild?: import("../..").APIPartialGuild | undefined;
|
|
574
574
|
primarySkuId?: string | undefined;
|
|
575
575
|
slug?: string | undefined;
|
|
576
576
|
coverImage?: string | undefined;
|
|
577
|
-
flags?: import("
|
|
577
|
+
flags?: import("../..").ApplicationFlags | undefined;
|
|
578
578
|
approximateGuildCount?: number | undefined;
|
|
579
579
|
approximateUserInstallCount?: number | undefined;
|
|
580
580
|
redirectUris?: string[] | undefined;
|
|
581
581
|
interactionsEndpointUrl?: string | null | undefined;
|
|
582
582
|
roleConnectionsVerificationUrl?: string | null | undefined;
|
|
583
583
|
tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
|
|
584
|
-
installParams?: import("
|
|
585
|
-
integrationTypesConfig?: import("
|
|
584
|
+
installParams?: import("../..").APIApplicationInstallParams | undefined;
|
|
585
|
+
integrationTypesConfig?: import("../..").APIApplicationIntegrationTypesConfigMap | undefined;
|
|
586
586
|
customInstallUrl?: string | undefined;
|
|
587
587
|
} | undefined;
|
|
588
588
|
approximatePresenceCount?: number | undefined;
|
|
@@ -598,14 +598,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
598
598
|
description?: string | null | undefined;
|
|
599
599
|
scheduledStartTime: string;
|
|
600
600
|
scheduledEndTime: string | null;
|
|
601
|
-
privacyLevel: import("
|
|
602
|
-
status: import("
|
|
603
|
-
entityType: import("
|
|
601
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
602
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
603
|
+
entityType: import("../..").GuildScheduledEventEntityType.StageInstance;
|
|
604
604
|
entityId: string | null;
|
|
605
|
-
creator?: import("
|
|
605
|
+
creator?: import("../..").APIUser | undefined;
|
|
606
606
|
userCount?: number | undefined;
|
|
607
607
|
image?: string | null | undefined;
|
|
608
|
-
recurrenceRule: import("
|
|
608
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
609
609
|
} | {
|
|
610
610
|
channelId: string;
|
|
611
611
|
entityMetadata: null;
|
|
@@ -616,14 +616,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
616
616
|
description?: string | null | undefined;
|
|
617
617
|
scheduledStartTime: string;
|
|
618
618
|
scheduledEndTime: string | null;
|
|
619
|
-
privacyLevel: import("
|
|
620
|
-
status: import("
|
|
621
|
-
entityType: import("
|
|
619
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
620
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
621
|
+
entityType: import("../..").GuildScheduledEventEntityType.Voice;
|
|
622
622
|
entityId: string | null;
|
|
623
|
-
creator?: import("
|
|
623
|
+
creator?: import("../..").APIUser | undefined;
|
|
624
624
|
userCount?: number | undefined;
|
|
625
625
|
image?: string | null | undefined;
|
|
626
|
-
recurrenceRule: import("
|
|
626
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
627
627
|
} | {
|
|
628
628
|
channelId: null;
|
|
629
629
|
entityMetadata: {
|
|
@@ -636,16 +636,16 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
636
636
|
description?: string | null | undefined;
|
|
637
637
|
scheduledStartTime: string;
|
|
638
638
|
scheduledEndTime: string | null;
|
|
639
|
-
privacyLevel: import("
|
|
640
|
-
status: import("
|
|
641
|
-
entityType: import("
|
|
639
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
640
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
641
|
+
entityType: import("../..").GuildScheduledEventEntityType.External;
|
|
642
642
|
entityId: string | null;
|
|
643
|
-
creator?: import("
|
|
643
|
+
creator?: import("../..").APIUser | undefined;
|
|
644
644
|
userCount?: number | undefined;
|
|
645
645
|
image?: string | null | undefined;
|
|
646
|
-
recurrenceRule: import("
|
|
646
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
647
647
|
} | undefined;
|
|
648
|
-
type: import("
|
|
648
|
+
type: import("../..").InviteType;
|
|
649
649
|
roles?: {
|
|
650
650
|
id: string;
|
|
651
651
|
name: string;
|
|
@@ -676,15 +676,15 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
676
676
|
icon: string | null;
|
|
677
677
|
splash: string | null;
|
|
678
678
|
banner: string | null;
|
|
679
|
-
features: import("
|
|
680
|
-
verificationLevel: import("
|
|
679
|
+
features: import("../..").GuildFeature[];
|
|
680
|
+
verificationLevel: import("../..").GuildVerificationLevel;
|
|
681
681
|
vanityUrlCode: string | null;
|
|
682
682
|
premiumSubscriptionCount?: number | undefined;
|
|
683
|
-
nsfwLevel: import("
|
|
683
|
+
nsfwLevel: import("../..").GuildNSFWLevel;
|
|
684
684
|
} | undefined;
|
|
685
685
|
channel: {
|
|
686
686
|
id: string;
|
|
687
|
-
type: import("
|
|
687
|
+
type: import("../..").ChannelType;
|
|
688
688
|
name: string | null;
|
|
689
689
|
} | null;
|
|
690
690
|
inviter?: {
|
|
@@ -701,14 +701,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
701
701
|
locale?: string | undefined;
|
|
702
702
|
verified?: boolean | undefined;
|
|
703
703
|
email?: string | null | undefined;
|
|
704
|
-
flags?: import("
|
|
705
|
-
premiumType?: import("
|
|
706
|
-
publicFlags?: import("
|
|
707
|
-
avatarDecorationData?: import("
|
|
708
|
-
collectibles?: import("
|
|
709
|
-
primaryGuild?: import("
|
|
704
|
+
flags?: import("../..").UserFlags | undefined;
|
|
705
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
706
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
707
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
708
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
709
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
710
710
|
} | undefined;
|
|
711
|
-
targetType?: import("
|
|
711
|
+
targetType?: import("../..").InviteTargetType | undefined;
|
|
712
712
|
targetUser?: {
|
|
713
713
|
id: string;
|
|
714
714
|
username: string;
|
|
@@ -723,12 +723,12 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
723
723
|
locale?: string | undefined;
|
|
724
724
|
verified?: boolean | undefined;
|
|
725
725
|
email?: string | null | undefined;
|
|
726
|
-
flags?: import("
|
|
727
|
-
premiumType?: import("
|
|
728
|
-
publicFlags?: import("
|
|
729
|
-
avatarDecorationData?: import("
|
|
730
|
-
collectibles?: import("
|
|
731
|
-
primaryGuild?: import("
|
|
726
|
+
flags?: import("../..").UserFlags | undefined;
|
|
727
|
+
premiumType?: import("../..").UserPremiumType | undefined;
|
|
728
|
+
publicFlags?: import("../..").UserFlags | undefined;
|
|
729
|
+
avatarDecorationData?: import("../..").APIAvatarDecorationData | null | undefined;
|
|
730
|
+
collectibles?: import("../..").APICollectibles | null | undefined;
|
|
731
|
+
primaryGuild?: import("../..").APIUserPrimaryGuild | null | undefined;
|
|
732
732
|
} | undefined;
|
|
733
733
|
targetApplication?: {
|
|
734
734
|
id?: string | undefined;
|
|
@@ -738,26 +738,26 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
738
738
|
rpcOrigins?: string[] | undefined;
|
|
739
739
|
botPublic?: boolean | undefined;
|
|
740
740
|
botRequireCodeGrant?: boolean | undefined;
|
|
741
|
-
bot?: import("
|
|
741
|
+
bot?: import("../..").APIUser | undefined;
|
|
742
742
|
termsOfServiceUrl?: string | undefined;
|
|
743
743
|
privacyPolicyUrl?: string | undefined;
|
|
744
|
-
owner?: import("
|
|
744
|
+
owner?: import("../..").APIUser | undefined;
|
|
745
745
|
verifyKey?: string | undefined;
|
|
746
|
-
team?: import("
|
|
746
|
+
team?: import("../..").APITeam | null | undefined;
|
|
747
747
|
guildId?: string | undefined;
|
|
748
|
-
guild?: import("
|
|
748
|
+
guild?: import("../..").APIPartialGuild | undefined;
|
|
749
749
|
primarySkuId?: string | undefined;
|
|
750
750
|
slug?: string | undefined;
|
|
751
751
|
coverImage?: string | undefined;
|
|
752
|
-
flags?: import("
|
|
752
|
+
flags?: import("../..").ApplicationFlags | undefined;
|
|
753
753
|
approximateGuildCount?: number | undefined;
|
|
754
754
|
approximateUserInstallCount?: number | undefined;
|
|
755
755
|
redirectUris?: string[] | undefined;
|
|
756
756
|
interactionsEndpointUrl?: string | null | undefined;
|
|
757
757
|
roleConnectionsVerificationUrl?: string | null | undefined;
|
|
758
758
|
tags?: [string, (string | undefined)?, (string | undefined)?, (string | undefined)?, (string | undefined)?] | undefined;
|
|
759
|
-
installParams?: import("
|
|
760
|
-
integrationTypesConfig?: import("
|
|
759
|
+
installParams?: import("../..").APIApplicationInstallParams | undefined;
|
|
760
|
+
integrationTypesConfig?: import("../..").APIApplicationIntegrationTypesConfigMap | undefined;
|
|
761
761
|
customInstallUrl?: string | undefined;
|
|
762
762
|
} | undefined;
|
|
763
763
|
approximatePresenceCount?: number | undefined;
|
|
@@ -773,14 +773,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
773
773
|
description?: string | null | undefined;
|
|
774
774
|
scheduledStartTime: string;
|
|
775
775
|
scheduledEndTime: string | null;
|
|
776
|
-
privacyLevel: import("
|
|
777
|
-
status: import("
|
|
778
|
-
entityType: import("
|
|
776
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
777
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
778
|
+
entityType: import("../..").GuildScheduledEventEntityType.StageInstance;
|
|
779
779
|
entityId: string | null;
|
|
780
|
-
creator?: import("
|
|
780
|
+
creator?: import("../..").APIUser | undefined;
|
|
781
781
|
userCount?: number | undefined;
|
|
782
782
|
image?: string | null | undefined;
|
|
783
|
-
recurrenceRule: import("
|
|
783
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
784
784
|
} | {
|
|
785
785
|
channelId: string;
|
|
786
786
|
entityMetadata: null;
|
|
@@ -791,14 +791,14 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
791
791
|
description?: string | null | undefined;
|
|
792
792
|
scheduledStartTime: string;
|
|
793
793
|
scheduledEndTime: string | null;
|
|
794
|
-
privacyLevel: import("
|
|
795
|
-
status: import("
|
|
796
|
-
entityType: import("
|
|
794
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
795
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
796
|
+
entityType: import("../..").GuildScheduledEventEntityType.Voice;
|
|
797
797
|
entityId: string | null;
|
|
798
|
-
creator?: import("
|
|
798
|
+
creator?: import("../..").APIUser | undefined;
|
|
799
799
|
userCount?: number | undefined;
|
|
800
800
|
image?: string | null | undefined;
|
|
801
|
-
recurrenceRule: import("
|
|
801
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
802
802
|
} | {
|
|
803
803
|
channelId: null;
|
|
804
804
|
entityMetadata: {
|
|
@@ -811,16 +811,16 @@ export declare class InvitesShorter extends BaseShorter {
|
|
|
811
811
|
description?: string | null | undefined;
|
|
812
812
|
scheduledStartTime: string;
|
|
813
813
|
scheduledEndTime: string | null;
|
|
814
|
-
privacyLevel: import("
|
|
815
|
-
status: import("
|
|
816
|
-
entityType: import("
|
|
814
|
+
privacyLevel: import("../..").GuildScheduledEventPrivacyLevel;
|
|
815
|
+
status: import("../..").GuildScheduledEventStatus;
|
|
816
|
+
entityType: import("../..").GuildScheduledEventEntityType.External;
|
|
817
817
|
entityId: string | null;
|
|
818
|
-
creator?: import("
|
|
818
|
+
creator?: import("../..").APIUser | undefined;
|
|
819
819
|
userCount?: number | undefined;
|
|
820
820
|
image?: string | null | undefined;
|
|
821
|
-
recurrenceRule: import("
|
|
821
|
+
recurrenceRule: import("../..").APIGuildScheduledEventRecurrenceRule | null;
|
|
822
822
|
} | undefined;
|
|
823
|
-
type: import("
|
|
823
|
+
type: import("../..").InviteType;
|
|
824
824
|
}[]>;
|
|
825
825
|
};
|
|
826
826
|
}
|