@discordeno/types 19.0.0-next.024fbe3 → 19.0.0-next.04d7db8
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 +6 -10
- package/dist/camel.d.ts +288 -0
- package/dist/camel.d.ts.map +1 -0
- package/dist/camel.js +3 -0
- package/dist/camel.js.map +1 -0
- package/dist/discord.d.ts +105 -10
- package/dist/discord.d.ts.map +1 -1
- package/dist/discord.js +26 -2
- package/dist/discord.js.map +1 -0
- package/dist/discordeno.d.ts +261 -70
- package/dist/discordeno.d.ts.map +1 -1
- package/dist/discordeno.js +3 -2
- package/dist/discordeno.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -0
- package/dist/shared.d.ts +61 -14
- package/dist/shared.d.ts.map +1 -1
- package/dist/shared.js +618 -2
- package/dist/shared.js.map +1 -0
- package/package.json +17 -8
package/README.md
CHANGED
|
@@ -103,28 +103,24 @@ Have your cache setup in any way you like. Redis, PGSQL or any cache layer you w
|
|
|
103
103
|
Here is a minimal example to get started with:
|
|
104
104
|
|
|
105
105
|
```typescript
|
|
106
|
-
import {
|
|
107
|
-
createBot,
|
|
108
|
-
Intents,
|
|
109
|
-
startBot,
|
|
110
|
-
} from "https://deno.land/x/discordeno@13.0.0/mod.ts";
|
|
106
|
+
import { createBot, Intents, startBot } from 'https://deno.land/x/discordeno@13.0.0/mod.ts'
|
|
111
107
|
|
|
112
108
|
const bot = createBot({
|
|
113
109
|
token: process.env.DISCORD_TOKEN,
|
|
114
110
|
intents: Intents.Guilds | Intents.GuildMessages,
|
|
115
111
|
events: {
|
|
116
112
|
ready() {
|
|
117
|
-
console.log(
|
|
113
|
+
console.log('Successfully connected to gateway')
|
|
118
114
|
},
|
|
119
115
|
},
|
|
120
|
-
})
|
|
116
|
+
})
|
|
121
117
|
|
|
122
118
|
// Another way to do events
|
|
123
119
|
bot.events.messageCreate = function (b, message) {
|
|
124
120
|
// Process the message here with your command handler.
|
|
125
|
-
}
|
|
121
|
+
}
|
|
126
122
|
|
|
127
|
-
await startBot(bot)
|
|
123
|
+
await startBot(bot)
|
|
128
124
|
```
|
|
129
125
|
|
|
130
126
|
### Tools
|
|
@@ -153,6 +149,6 @@ and unofficial templates:
|
|
|
153
149
|
|
|
154
150
|
## Links
|
|
155
151
|
|
|
156
|
-
- [Website](https://discordeno.
|
|
152
|
+
- [Website](https://discordeno.js.org/)
|
|
157
153
|
- [Documentation](https://doc.deno.land/https/deno.land/x/discordeno/mod.ts)
|
|
158
154
|
- [Discord](https://discord.com/invite/5vBgXk3UcZ)
|
package/dist/camel.d.ts
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import type { DiscordActionRow, DiscordActiveThreads, DiscordActivity, DiscordActivityAssets, DiscordActivityButton, DiscordActivityEmoji, DiscordActivityParty, DiscordActivitySecrets, DiscordActivityTimestamps, DiscordAllowedMentions, DiscordApplication, DiscordApplicationCommand, DiscordApplicationCommandOption, DiscordApplicationCommandOptionChoice, DiscordApplicationCommandPermissions, DiscordApplicationWebhook, DiscordArchivedThreads, DiscordAttachment, DiscordAuditLog, DiscordAuditLogChange, DiscordAuditLogEntry, DiscordAutoModerationAction, DiscordAutoModerationActionExecution, DiscordAutoModerationActionMetadata, DiscordAutoModerationRule, DiscordAutoModerationRuleTriggerMetadata, DiscordBan, DiscordButtonComponent, DiscordChannel, DiscordChannelMention, DiscordChannelPinsUpdate, DiscordClientStatus, DiscordCreateApplicationCommand, DiscordCreateForumPostWithMessage, DiscordCreateGuildChannel, DiscordCreateGuildEmoji, DiscordCreateMessage, DiscordCreateWebhook, DiscordDefaultReactionEmoji, DiscordEditChannelPermissionOverridesOptions, DiscordEmbed, DiscordEmbedAuthor, DiscordEmbedField, DiscordEmbedFooter, DiscordEmbedImage, DiscordEmbedProvider, DiscordEmbedThumbnail, DiscordEmbedVideo, DiscordEmoji, DiscordFollowAnnouncementChannel, DiscordFollowedChannel, DiscordForumTag, DiscordGatewayPayload, DiscordGetGatewayBot, DiscordGuild, DiscordGuildApplicationCommandPermissions, DiscordGuildBanAddRemove, DiscordGuildEmojisUpdate, DiscordGuildIntegrationsUpdate, DiscordGuildMemberAdd, DiscordGuildMemberRemove, DiscordGuildMemberUpdate, DiscordGuildMembersChunk, DiscordGuildPreview, DiscordGuildRoleCreate, DiscordGuildRoleDelete, DiscordGuildRoleUpdate, DiscordGuildStickersUpdate, DiscordGuildWidget, DiscordGuildWidgetSettings, DiscordHello, DiscordIncomingWebhook, DiscordInputTextComponent, DiscordInstallParams, DiscordIntegration, DiscordIntegrationAccount, DiscordIntegrationApplication, DiscordIntegrationCreateUpdate, DiscordIntegrationDelete, DiscordInteraction, DiscordInteractionData, DiscordInteractionDataOption, DiscordInteractionMember, DiscordInvite, DiscordInviteCreate, DiscordInviteDelete, DiscordInviteMetadata, DiscordInviteStageInstance, DiscordListActiveThreads, DiscordListArchivedThreads, DiscordMember, DiscordMemberWithUser, DiscordMessage, DiscordMessageActivity, DiscordMessageComponents, DiscordMessageDelete, DiscordMessageDeleteBulk, DiscordMessageInteraction, DiscordMessageReactionAdd, DiscordMessageReactionRemove, DiscordMessageReactionRemoveAll, DiscordMessageReactionRemoveEmoji, DiscordMessageReference, DiscordModifyChannel, DiscordModifyGuildChannelPositions, DiscordModifyGuildEmoji, DiscordModifyGuildWelcomeScreen, DiscordOptionalAuditEntryInfo, DiscordOverwrite, DiscordPresenceUpdate, DiscordPrunedCount, DiscordReaction, DiscordReady, DiscordRole, DiscordRoleTags, DiscordScheduledEvent, DiscordScheduledEventEntityMetadata, DiscordScheduledEventUserAdd, DiscordScheduledEventUserRemove, DiscordSelectMenuComponent, DiscordSelectOption, DiscordSessionStartLimit, DiscordStageInstance, DiscordSticker, DiscordStickerItem, DiscordStickerPack, DiscordTeam, DiscordTeamMember, DiscordTemplate, DiscordThreadListSync, DiscordThreadMember, DiscordThreadMemberUpdate, DiscordThreadMembersUpdate, DiscordThreadMetadata, DiscordTypingStart, DiscordUnavailableGuild, DiscordUser, DiscordVanityUrl, DiscordVoiceRegion, DiscordVoiceServerUpdate, DiscordVoiceState, DiscordWebhook, DiscordWebhookUpdate, DiscordWelcomeScreen, DiscordWelcomeScreenChannel } from './discord.js';
|
|
2
|
+
import type { Camelize } from './shared.js';
|
|
3
|
+
export interface CamelizedDiscordUser extends Camelize<DiscordUser> {
|
|
4
|
+
}
|
|
5
|
+
export interface CamelizedDiscordIntegration extends Camelize<DiscordIntegration> {
|
|
6
|
+
}
|
|
7
|
+
export interface CamelizedDiscordIntegrationAccount extends Camelize<DiscordIntegrationAccount> {
|
|
8
|
+
}
|
|
9
|
+
export interface CamelizedDiscordIntegrationApplication extends Camelize<DiscordIntegrationApplication> {
|
|
10
|
+
}
|
|
11
|
+
export interface CamelizedDiscordIntegrationCreateUpdate extends Camelize<DiscordIntegrationCreateUpdate> {
|
|
12
|
+
}
|
|
13
|
+
export interface CamelizedDiscordIntegrationDelete extends Camelize<DiscordIntegrationDelete> {
|
|
14
|
+
}
|
|
15
|
+
export interface CamelizedDiscordGuildIntegrationsUpdate extends Camelize<DiscordGuildIntegrationsUpdate> {
|
|
16
|
+
}
|
|
17
|
+
export interface CamelizedDiscordTypingStart extends Camelize<DiscordTypingStart> {
|
|
18
|
+
}
|
|
19
|
+
export interface CamelizedDiscordMember extends Camelize<DiscordMember> {
|
|
20
|
+
}
|
|
21
|
+
export interface CamelizedDiscordApplication extends Camelize<DiscordApplication> {
|
|
22
|
+
}
|
|
23
|
+
export interface CamelizedDiscordTeam extends Camelize<DiscordTeam> {
|
|
24
|
+
}
|
|
25
|
+
export interface CamelizedDiscordTeamMember extends Camelize<DiscordTeamMember> {
|
|
26
|
+
}
|
|
27
|
+
export interface CamelizedDiscordWebhookUpdate extends Camelize<DiscordWebhookUpdate> {
|
|
28
|
+
}
|
|
29
|
+
export interface CamelizedDiscordAllowedMentions extends Camelize<DiscordAllowedMentions> {
|
|
30
|
+
}
|
|
31
|
+
export interface CamelizedDiscordEmbed extends Camelize<DiscordEmbed> {
|
|
32
|
+
}
|
|
33
|
+
export interface CamelizedDiscordEmbedAuthor extends Camelize<DiscordEmbedAuthor> {
|
|
34
|
+
}
|
|
35
|
+
export interface CamelizedDiscordEmbedField extends Camelize<DiscordEmbedField> {
|
|
36
|
+
}
|
|
37
|
+
export interface CamelizedDiscordEmbedFooter extends Camelize<DiscordEmbedFooter> {
|
|
38
|
+
}
|
|
39
|
+
export interface CamelizedDiscordEmbedImage extends Camelize<DiscordEmbedImage> {
|
|
40
|
+
}
|
|
41
|
+
export interface CamelizedDiscordEmbedProvider extends Camelize<DiscordEmbedProvider> {
|
|
42
|
+
}
|
|
43
|
+
export interface CamelizedDiscordEmbedThumbnail extends Camelize<DiscordEmbedThumbnail> {
|
|
44
|
+
}
|
|
45
|
+
export interface CamelizedDiscordEmbedVideo extends Camelize<DiscordEmbedVideo> {
|
|
46
|
+
}
|
|
47
|
+
export interface CamelizedDiscordAttachment extends Camelize<DiscordAttachment> {
|
|
48
|
+
}
|
|
49
|
+
export type CamelizedDiscordWebhook = Camelize<DiscordWebhook>;
|
|
50
|
+
export interface CamelizedDiscordIncomingWebhook extends Camelize<DiscordIncomingWebhook> {
|
|
51
|
+
}
|
|
52
|
+
export interface CamelizedDiscordApplicationWebhook extends Camelize<DiscordApplicationWebhook> {
|
|
53
|
+
}
|
|
54
|
+
export interface CamelizedDiscordGuild extends Camelize<DiscordGuild> {
|
|
55
|
+
}
|
|
56
|
+
export interface CamelizedDiscordRole extends Camelize<DiscordRole> {
|
|
57
|
+
}
|
|
58
|
+
export interface CamelizedDiscordRoleTags extends Camelize<DiscordRoleTags> {
|
|
59
|
+
}
|
|
60
|
+
export interface CamelizedDiscordEmoji extends Camelize<DiscordEmoji> {
|
|
61
|
+
}
|
|
62
|
+
export interface CamelizedDiscordVoiceState extends Camelize<DiscordVoiceState> {
|
|
63
|
+
}
|
|
64
|
+
export interface CamelizedDiscordChannel extends Camelize<DiscordChannel> {
|
|
65
|
+
}
|
|
66
|
+
export interface CamelizedDiscordPresenceUpdate extends Camelize<DiscordPresenceUpdate> {
|
|
67
|
+
}
|
|
68
|
+
export interface CamelizedDiscordWelcomeScreen extends Camelize<DiscordWelcomeScreen> {
|
|
69
|
+
}
|
|
70
|
+
export interface CamelizedDiscordWelcomeScreenChannel extends Camelize<DiscordWelcomeScreenChannel> {
|
|
71
|
+
}
|
|
72
|
+
export interface CamelizedDiscordStageInstance extends Camelize<DiscordStageInstance> {
|
|
73
|
+
}
|
|
74
|
+
export interface CamelizedDiscordThreadMetadata extends Camelize<DiscordThreadMetadata> {
|
|
75
|
+
}
|
|
76
|
+
export interface CamelizedDiscordThreadMember extends Camelize<DiscordThreadMember> {
|
|
77
|
+
}
|
|
78
|
+
export interface CamelizedDiscordActivity extends Camelize<DiscordActivity> {
|
|
79
|
+
}
|
|
80
|
+
export interface CamelizedDiscordClientStatus extends Camelize<DiscordClientStatus> {
|
|
81
|
+
}
|
|
82
|
+
export interface CamelizedDiscordActivityTimestamps extends Camelize<DiscordActivityTimestamps> {
|
|
83
|
+
}
|
|
84
|
+
export interface CamelizedDiscordActivityEmoji extends Camelize<DiscordActivityEmoji> {
|
|
85
|
+
}
|
|
86
|
+
export interface CamelizedDiscordActivityParty extends Camelize<DiscordActivityParty> {
|
|
87
|
+
}
|
|
88
|
+
export interface CamelizedDiscordActivityAssets extends Camelize<DiscordActivityAssets> {
|
|
89
|
+
}
|
|
90
|
+
export interface CamelizedDiscordActivitySecrets extends Camelize<DiscordActivitySecrets> {
|
|
91
|
+
}
|
|
92
|
+
export interface CamelizedDiscordActivityButton extends Camelize<DiscordActivityButton> {
|
|
93
|
+
}
|
|
94
|
+
export interface CamelizedDiscordOverwrite extends Camelize<DiscordOverwrite> {
|
|
95
|
+
}
|
|
96
|
+
export interface CamelizedDiscordMemberWithUser extends Camelize<DiscordMemberWithUser> {
|
|
97
|
+
}
|
|
98
|
+
export interface CamelizedDiscordMessage extends Camelize<DiscordMessage> {
|
|
99
|
+
}
|
|
100
|
+
export interface CamelizedDiscordChannelMention extends Camelize<DiscordChannelMention> {
|
|
101
|
+
}
|
|
102
|
+
export interface CamelizedDiscordReaction extends Camelize<DiscordReaction> {
|
|
103
|
+
}
|
|
104
|
+
export interface CamelizedDiscordMessageActivity extends Camelize<DiscordMessageActivity> {
|
|
105
|
+
}
|
|
106
|
+
export interface CamelizedDiscordMessageReference extends Camelize<DiscordMessageReference> {
|
|
107
|
+
}
|
|
108
|
+
export interface CamelizedDiscordSticker extends Camelize<DiscordSticker> {
|
|
109
|
+
}
|
|
110
|
+
export interface CamelizedDiscordMessageInteraction extends Camelize<DiscordMessageInteraction> {
|
|
111
|
+
}
|
|
112
|
+
export type CamelizedDiscordMessageComponents = Camelize<DiscordMessageComponents>;
|
|
113
|
+
export interface CamelizedDiscordActionRow extends Camelize<DiscordActionRow> {
|
|
114
|
+
}
|
|
115
|
+
export interface CamelizedDiscordSelectMenuComponent extends Camelize<DiscordSelectMenuComponent> {
|
|
116
|
+
}
|
|
117
|
+
export interface CamelizedDiscordSelectOption extends Camelize<DiscordSelectOption> {
|
|
118
|
+
}
|
|
119
|
+
export interface CamelizedDiscordButtonComponent extends Camelize<DiscordButtonComponent> {
|
|
120
|
+
}
|
|
121
|
+
export interface CamelizedDiscordInputTextComponent extends Camelize<DiscordInputTextComponent> {
|
|
122
|
+
}
|
|
123
|
+
export interface CamelizedDiscordStickerItem extends Camelize<DiscordStickerItem> {
|
|
124
|
+
}
|
|
125
|
+
export interface CamelizedDiscordStickerPack extends Camelize<DiscordStickerPack> {
|
|
126
|
+
}
|
|
127
|
+
export interface CamelizedDiscordInteraction extends Camelize<DiscordInteraction> {
|
|
128
|
+
}
|
|
129
|
+
export interface CamelizedDiscordInteractionMember extends Camelize<DiscordInteractionMember> {
|
|
130
|
+
}
|
|
131
|
+
export interface CamelizedDiscordInteractionData extends Camelize<DiscordInteractionData> {
|
|
132
|
+
}
|
|
133
|
+
export interface CamelizedDiscordInteractionDataOption extends Camelize<DiscordInteractionDataOption> {
|
|
134
|
+
}
|
|
135
|
+
export interface CamelizedDiscordListActiveThreads extends Camelize<DiscordListActiveThreads> {
|
|
136
|
+
}
|
|
137
|
+
export interface CamelizedDiscordListArchivedThreads extends Camelize<DiscordListArchivedThreads> {
|
|
138
|
+
}
|
|
139
|
+
export interface CamelizedDiscordThreadListSync extends Camelize<DiscordThreadListSync> {
|
|
140
|
+
}
|
|
141
|
+
export interface CamelizedDiscordAuditLog extends Camelize<DiscordAuditLog> {
|
|
142
|
+
}
|
|
143
|
+
export interface CamelizedDiscordAutoModerationRule extends Camelize<DiscordAutoModerationRule> {
|
|
144
|
+
}
|
|
145
|
+
export interface CamelizedDiscordAutoModerationRuleTriggerMetadata extends Camelize<DiscordAutoModerationRuleTriggerMetadata> {
|
|
146
|
+
}
|
|
147
|
+
export interface CamelizedDiscordAutoModerationAction extends Camelize<DiscordAutoModerationAction> {
|
|
148
|
+
}
|
|
149
|
+
export interface CamelizedDiscordAutoModerationActionMetadata extends Camelize<DiscordAutoModerationActionMetadata> {
|
|
150
|
+
}
|
|
151
|
+
export interface CamelizedDiscordAutoModerationActionExecution extends Camelize<DiscordAutoModerationActionExecution> {
|
|
152
|
+
}
|
|
153
|
+
export interface CamelizedDiscordAuditLogEntry extends Camelize<DiscordAuditLogEntry> {
|
|
154
|
+
}
|
|
155
|
+
export type CamelizedDiscordAuditLogChange = Camelize<DiscordAuditLogChange>;
|
|
156
|
+
export interface CamelizedDiscordOptionalAuditEntryInfo extends Camelize<DiscordOptionalAuditEntryInfo> {
|
|
157
|
+
}
|
|
158
|
+
export interface CamelizedDiscordScheduledEvent extends Camelize<DiscordScheduledEvent> {
|
|
159
|
+
}
|
|
160
|
+
export interface CamelizedDiscordScheduledEventEntityMetadata extends Camelize<DiscordScheduledEventEntityMetadata> {
|
|
161
|
+
}
|
|
162
|
+
export interface CamelizedDiscordGetGatewayBot extends Camelize<DiscordGetGatewayBot> {
|
|
163
|
+
}
|
|
164
|
+
export interface CamelizedDiscordSessionStartLimit extends Camelize<DiscordSessionStartLimit> {
|
|
165
|
+
}
|
|
166
|
+
export interface CamelizedDiscordInviteMetadata extends Camelize<DiscordInviteMetadata> {
|
|
167
|
+
}
|
|
168
|
+
export interface CamelizedDiscordInvite extends Camelize<DiscordInvite> {
|
|
169
|
+
}
|
|
170
|
+
export interface CamelizedDiscordInviteStageInstance extends Camelize<DiscordInviteStageInstance> {
|
|
171
|
+
}
|
|
172
|
+
export interface CamelizedDiscordApplicationCommand extends Camelize<DiscordApplicationCommand> {
|
|
173
|
+
}
|
|
174
|
+
export interface CamelizedDiscordCreateApplicationCommand extends Camelize<DiscordCreateApplicationCommand> {
|
|
175
|
+
}
|
|
176
|
+
export interface CamelizedDiscordApplicationCommandOption extends Camelize<DiscordApplicationCommandOption> {
|
|
177
|
+
}
|
|
178
|
+
export interface CamelizedDiscordApplicationCommandOptionChoice extends Camelize<DiscordApplicationCommandOptionChoice> {
|
|
179
|
+
}
|
|
180
|
+
export interface CamelizedDiscordGuildApplicationCommandPermissions extends Camelize<DiscordGuildApplicationCommandPermissions> {
|
|
181
|
+
}
|
|
182
|
+
export interface CamelizedDiscordApplicationCommandPermissions extends Camelize<DiscordApplicationCommandPermissions> {
|
|
183
|
+
}
|
|
184
|
+
export interface CamelizedDiscordGuildWidget extends Camelize<DiscordGuildWidget> {
|
|
185
|
+
}
|
|
186
|
+
export interface CamelizedDiscordGuildPreview extends Camelize<DiscordGuildPreview> {
|
|
187
|
+
}
|
|
188
|
+
export interface CamelizedDiscordFollowedChannel extends Camelize<DiscordFollowedChannel> {
|
|
189
|
+
}
|
|
190
|
+
export interface CamelizedDiscordGatewayPayload extends Camelize<DiscordGatewayPayload> {
|
|
191
|
+
}
|
|
192
|
+
export interface CamelizedDiscordGuildMembersChunk extends Camelize<DiscordGuildMembersChunk> {
|
|
193
|
+
}
|
|
194
|
+
export interface CamelizedDiscordChannelPinsUpdate extends Camelize<DiscordChannelPinsUpdate> {
|
|
195
|
+
}
|
|
196
|
+
export interface CamelizedDiscordGuildRoleDelete extends Camelize<DiscordGuildRoleDelete> {
|
|
197
|
+
}
|
|
198
|
+
export interface CamelizedDiscordGuildBanAddRemove extends Camelize<DiscordGuildBanAddRemove> {
|
|
199
|
+
}
|
|
200
|
+
export interface CamelizedDiscordMessageReactionRemove extends Camelize<DiscordMessageReactionRemove> {
|
|
201
|
+
}
|
|
202
|
+
export interface CamelizedDiscordMessageReactionAdd extends Camelize<DiscordMessageReactionAdd> {
|
|
203
|
+
}
|
|
204
|
+
export interface CamelizedDiscordVoiceServerUpdate extends Camelize<DiscordVoiceServerUpdate> {
|
|
205
|
+
}
|
|
206
|
+
export interface CamelizedDiscordInviteCreate extends Camelize<DiscordInviteCreate> {
|
|
207
|
+
}
|
|
208
|
+
export interface CamelizedDiscordHello extends Camelize<DiscordHello> {
|
|
209
|
+
}
|
|
210
|
+
export interface CamelizedDiscordReady extends Camelize<DiscordReady> {
|
|
211
|
+
}
|
|
212
|
+
export interface CamelizedDiscordUnavailableGuild extends Camelize<DiscordUnavailableGuild> {
|
|
213
|
+
}
|
|
214
|
+
export interface CamelizedDiscordMessageDeleteBulk extends Camelize<DiscordMessageDeleteBulk> {
|
|
215
|
+
}
|
|
216
|
+
export interface CamelizedDiscordTemplate extends Camelize<DiscordTemplate> {
|
|
217
|
+
}
|
|
218
|
+
export interface CamelizedDiscordGuildMemberAdd extends Camelize<DiscordGuildMemberAdd> {
|
|
219
|
+
}
|
|
220
|
+
export interface CamelizedDiscordMessageDelete extends Camelize<DiscordMessageDelete> {
|
|
221
|
+
}
|
|
222
|
+
export interface CamelizedDiscordThreadMembersUpdate extends Camelize<DiscordThreadMembersUpdate> {
|
|
223
|
+
}
|
|
224
|
+
export interface CamelizedDiscordThreadMemberUpdate extends Camelize<DiscordThreadMemberUpdate> {
|
|
225
|
+
}
|
|
226
|
+
export interface CamelizedDiscordGuildRoleCreate extends Camelize<DiscordGuildRoleCreate> {
|
|
227
|
+
}
|
|
228
|
+
export interface CamelizedDiscordGuildEmojisUpdate extends Camelize<DiscordGuildEmojisUpdate> {
|
|
229
|
+
}
|
|
230
|
+
export interface CamelizedDiscordGuildStickersUpdate extends Camelize<DiscordGuildStickersUpdate> {
|
|
231
|
+
}
|
|
232
|
+
export interface CamelizedDiscordGuildMemberUpdate extends Camelize<DiscordGuildMemberUpdate> {
|
|
233
|
+
}
|
|
234
|
+
export interface CamelizedDiscordMessageReactionRemoveAll extends Camelize<DiscordMessageReactionRemoveAll> {
|
|
235
|
+
}
|
|
236
|
+
export interface CamelizedDiscordGuildRoleUpdate extends Camelize<DiscordGuildRoleUpdate> {
|
|
237
|
+
}
|
|
238
|
+
export interface CamelizedDiscordScheduledEventUserAdd extends Camelize<DiscordScheduledEventUserAdd> {
|
|
239
|
+
}
|
|
240
|
+
export type CamelizedDiscordMessageReactionRemoveEmoji = Camelize<DiscordMessageReactionRemoveEmoji>;
|
|
241
|
+
export interface CamelizedDiscordGuildMemberRemove extends Camelize<DiscordGuildMemberRemove> {
|
|
242
|
+
}
|
|
243
|
+
export interface CamelizedDiscordBan extends Camelize<DiscordBan> {
|
|
244
|
+
}
|
|
245
|
+
export interface CamelizedDiscordScheduledEventUserRemove extends Camelize<DiscordScheduledEventUserRemove> {
|
|
246
|
+
}
|
|
247
|
+
export interface CamelizedDiscordInviteDelete extends Camelize<DiscordInviteDelete> {
|
|
248
|
+
}
|
|
249
|
+
export interface CamelizedDiscordVoiceRegion extends Camelize<DiscordVoiceRegion> {
|
|
250
|
+
}
|
|
251
|
+
export interface CamelizedDiscordGuildWidgetSettings extends Camelize<DiscordGuildWidgetSettings> {
|
|
252
|
+
}
|
|
253
|
+
export interface CamelizedDiscordInstallParams extends Camelize<DiscordInstallParams> {
|
|
254
|
+
}
|
|
255
|
+
export interface CamelizedDiscordForumTag extends Camelize<DiscordForumTag> {
|
|
256
|
+
}
|
|
257
|
+
export interface CamelizedDiscordDefaultReactionEmoji extends Camelize<DiscordDefaultReactionEmoji> {
|
|
258
|
+
}
|
|
259
|
+
export interface CamelizedDiscordModifyChannel extends Camelize<DiscordModifyChannel> {
|
|
260
|
+
}
|
|
261
|
+
export interface CamelizedDiscordCreateGuildEmoji extends Camelize<DiscordCreateGuildEmoji> {
|
|
262
|
+
}
|
|
263
|
+
export interface CamelizedDiscordModifyGuildEmoji extends Camelize<DiscordModifyGuildEmoji> {
|
|
264
|
+
}
|
|
265
|
+
export interface CamelizedDiscordCreateGuildChannel extends Camelize<DiscordCreateGuildChannel> {
|
|
266
|
+
}
|
|
267
|
+
export interface CamelizedDiscordCreateMessage extends Camelize<DiscordCreateMessage> {
|
|
268
|
+
}
|
|
269
|
+
export interface CamelizedDiscordModifyGuildWelcomeScreen extends Camelize<DiscordModifyGuildWelcomeScreen> {
|
|
270
|
+
}
|
|
271
|
+
export interface CamelizedDiscordFollowAnnouncementChannel extends Camelize<DiscordFollowAnnouncementChannel> {
|
|
272
|
+
}
|
|
273
|
+
export interface CamelizedDiscordEditChannelPermissionOverridesOptions extends Camelize<DiscordEditChannelPermissionOverridesOptions> {
|
|
274
|
+
}
|
|
275
|
+
export interface CamelizedDiscordModifyGuildChannelPositions extends Camelize<DiscordModifyGuildChannelPositions> {
|
|
276
|
+
}
|
|
277
|
+
export interface CamelizedDiscordCreateWebhook extends Camelize<DiscordCreateWebhook> {
|
|
278
|
+
}
|
|
279
|
+
export interface CamelizedDiscordCreateForumPostWithMessage extends Camelize<DiscordCreateForumPostWithMessage> {
|
|
280
|
+
}
|
|
281
|
+
export type CamelizedDiscordArchivedThreads = Camelize<DiscordArchivedThreads>;
|
|
282
|
+
export interface CamelizedDiscordActiveThreads extends Camelize<DiscordActiveThreads> {
|
|
283
|
+
}
|
|
284
|
+
export interface CamelizedDiscordVanityUrl extends Camelize<DiscordVanityUrl> {
|
|
285
|
+
}
|
|
286
|
+
export interface CamelizedDiscordPrunedCount extends Camelize<DiscordPrunedCount> {
|
|
287
|
+
}
|
|
288
|
+
//# sourceMappingURL=camel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"camel.d.ts","sourceRoot":"","sources":["../src/camel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,yBAAyB,EACzB,sBAAsB,EACtB,kBAAkB,EAClB,yBAAyB,EACzB,+BAA+B,EAC/B,qCAAqC,EACrC,oCAAoC,EACpC,yBAAyB,EACzB,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,2BAA2B,EAC3B,oCAAoC,EACpC,mCAAmC,EACnC,yBAAyB,EACzB,wCAAwC,EACxC,UAAU,EACV,sBAAsB,EACtB,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,+BAA+B,EAC/B,iCAAiC,EACjC,yBAAyB,EACzB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,2BAA2B,EAC3B,4CAA4C,EAC5C,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,gCAAgC,EAChC,sBAAsB,EACtB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,YAAY,EACZ,yCAAyC,EACzC,wBAAwB,EACxB,wBAAwB,EACxB,8BAA8B,EAC9B,qBAAqB,EACrB,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,sBAAsB,EACtB,yBAAyB,EACzB,oBAAoB,EACpB,kBAAkB,EAClB,yBAAyB,EACzB,6BA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CAAC;CAAG;AACxF,MAAM,WAAW,gCAAiC,SAAQ,QAAQ,CAAC,uBAAuB,CAAC;CAAG;AAC9F,MAAM,WAAW,gCAAiC,SAAQ,QAAQ,CAAC,uBAAuB,CAAC;CAAG;AAC9F,MAAM,WAAW,kCAAmC,SAAQ,QAAQ,CAAC,yBAAyB,CAAC;CAAG;AAClG,MAAM,WAAW,6BAA8B,SAAQ,QAAQ,CAAC,oBAAoB,CAAC;CAAG;AACxF,MAAM,WAAW,wCAAyC,SAAQ,QAAQ,CAAC,+BAA+B,CAAC;CAAG;AAC9G,MAAM,WAAW,yCAA0C,SAAQ,QAAQ,CAAC,gCAAgC,CAAC;CAAG;AAChH,MAAM,WAAW,qDAAsD,SAAQ,QAAQ,CAAC,4CAA4C,CAAC;CAAG;AACxI,MAAM,WAAW,2CAA4C,SAAQ,QAAQ,CAAC,kCAAkC,CAAC;CAAG;AACpH,MAAM,WAAW,6BAA8B,SAAQ,QAAQ,CAAC,oBAAoB,CAAC;CAAG;AACxF,MAAM,WAAW,0CAA2C,SAAQ,QAAQ,CAAC,iCAAiC,CAAC;CAAG;AAClH,MAAM,MAAM,+BAA+B,GAAG,QAAQ,CAAC,sBAAsB,CAAC,CAAA;AAC9E,MAAM,WAAW,6BAA8B,SAAQ,QAAQ,CAAC,oBAAoB,CAAC;CAAG;AACxF,MAAM,WAAW,yBAA0B,SAAQ,QAAQ,CAAC,gBAAgB,CAAC;CAAG;AAChF,MAAM,WAAW,2BAA4B,SAAQ,QAAQ,CAAC,kBAAkB,CAAC;CAAG"}
|
package/dist/camel.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/camel.ts"],"sourcesContent":["import type {\n DiscordActionRow,\n DiscordActiveThreads,\n DiscordActivity,\n DiscordActivityAssets,\n DiscordActivityButton,\n DiscordActivityEmoji,\n DiscordActivityParty,\n DiscordActivitySecrets,\n DiscordActivityTimestamps,\n DiscordAllowedMentions,\n DiscordApplication,\n DiscordApplicationCommand,\n DiscordApplicationCommandOption,\n DiscordApplicationCommandOptionChoice,\n DiscordApplicationCommandPermissions,\n DiscordApplicationWebhook,\n DiscordArchivedThreads,\n DiscordAttachment,\n DiscordAuditLog,\n DiscordAuditLogChange,\n DiscordAuditLogEntry,\n DiscordAutoModerationAction,\n DiscordAutoModerationActionExecution,\n DiscordAutoModerationActionMetadata,\n DiscordAutoModerationRule,\n DiscordAutoModerationRuleTriggerMetadata,\n DiscordBan,\n DiscordButtonComponent,\n DiscordChannel,\n DiscordChannelMention,\n DiscordChannelPinsUpdate,\n DiscordClientStatus,\n DiscordCreateApplicationCommand,\n DiscordCreateForumPostWithMessage,\n DiscordCreateGuildChannel,\n DiscordCreateGuildEmoji,\n DiscordCreateMessage,\n DiscordCreateWebhook,\n DiscordDefaultReactionEmoji,\n DiscordEditChannelPermissionOverridesOptions,\n DiscordEmbed,\n DiscordEmbedAuthor,\n DiscordEmbedField,\n DiscordEmbedFooter,\n DiscordEmbedImage,\n DiscordEmbedProvider,\n DiscordEmbedThumbnail,\n DiscordEmbedVideo,\n DiscordEmoji,\n DiscordFollowAnnouncementChannel,\n DiscordFollowedChannel,\n DiscordForumTag,\n DiscordGatewayPayload,\n DiscordGetGatewayBot,\n DiscordGuild,\n DiscordGuildApplicationCommandPermissions,\n DiscordGuildBanAddRemove,\n DiscordGuildEmojisUpdate,\n DiscordGuildIntegrationsUpdate,\n DiscordGuildMemberAdd,\n DiscordGuildMemberRemove,\n DiscordGuildMemberUpdate,\n DiscordGuildMembersChunk,\n DiscordGuildPreview,\n DiscordGuildRoleCreate,\n DiscordGuildRoleDelete,\n DiscordGuildRoleUpdate,\n DiscordGuildStickersUpdate,\n DiscordGuildWidget,\n DiscordGuildWidgetSettings,\n DiscordHello,\n DiscordIncomingWebhook,\n DiscordInputTextComponent,\n DiscordInstallParams,\n DiscordIntegration,\n DiscordIntegrationAccount,\n DiscordIntegrationApplication,\n DiscordIntegrationCreateUpdate,\n DiscordIntegrationDelete,\n DiscordInteraction,\n DiscordInteractionData,\n DiscordInteractionDataOption,\n DiscordInteractionMember,\n DiscordInvite,\n DiscordInviteCreate,\n DiscordInviteDelete,\n DiscordInviteMetadata,\n DiscordInviteStageInstance,\n DiscordListActiveThreads,\n DiscordListArchivedThreads,\n DiscordMember,\n DiscordMemberWithUser,\n DiscordMessage,\n DiscordMessageActivity,\n DiscordMessageComponents,\n DiscordMessageDelete,\n DiscordMessageDeleteBulk,\n DiscordMessageInteraction,\n DiscordMessageReactionAdd,\n DiscordMessageReactionRemove,\n DiscordMessageReactionRemoveAll,\n DiscordMessageReactionRemoveEmoji,\n DiscordMessageReference,\n DiscordModifyChannel,\n DiscordModifyGuildChannelPositions,\n DiscordModifyGuildEmoji,\n DiscordModifyGuildWelcomeScreen,\n DiscordOptionalAuditEntryInfo,\n DiscordOverwrite,\n DiscordPresenceUpdate,\n DiscordPrunedCount,\n DiscordReaction,\n DiscordReady,\n DiscordRole,\n DiscordRoleTags,\n DiscordScheduledEvent,\n DiscordScheduledEventEntityMetadata,\n DiscordScheduledEventUserAdd,\n DiscordScheduledEventUserRemove,\n DiscordSelectMenuComponent,\n DiscordSelectOption,\n DiscordSessionStartLimit,\n DiscordStageInstance,\n DiscordSticker,\n DiscordStickerItem,\n DiscordStickerPack,\n DiscordTeam,\n DiscordTeamMember,\n DiscordTemplate,\n DiscordThreadListSync,\n DiscordThreadMember,\n DiscordThreadMemberUpdate,\n DiscordThreadMembersUpdate,\n DiscordThreadMetadata,\n DiscordTypingStart,\n DiscordUnavailableGuild,\n DiscordUser,\n DiscordVanityUrl,\n DiscordVoiceRegion,\n DiscordVoiceServerUpdate,\n DiscordVoiceState,\n DiscordWebhook,\n DiscordWebhookUpdate,\n DiscordWelcomeScreen,\n DiscordWelcomeScreenChannel,\n} from './discord.js'\nimport type { Camelize } from './shared.js'\n\nexport interface CamelizedDiscordUser extends Camelize<DiscordUser> {}\nexport interface CamelizedDiscordIntegration extends Camelize<DiscordIntegration> {}\nexport interface CamelizedDiscordIntegrationAccount extends Camelize<DiscordIntegrationAccount> {}\nexport interface CamelizedDiscordIntegrationApplication extends Camelize<DiscordIntegrationApplication> {}\nexport interface CamelizedDiscordIntegrationCreateUpdate extends Camelize<DiscordIntegrationCreateUpdate> {}\nexport interface CamelizedDiscordIntegrationDelete extends Camelize<DiscordIntegrationDelete> {}\nexport interface CamelizedDiscordGuildIntegrationsUpdate extends Camelize<DiscordGuildIntegrationsUpdate> {}\nexport interface CamelizedDiscordTypingStart extends Camelize<DiscordTypingStart> {}\nexport interface CamelizedDiscordMember extends Camelize<DiscordMember> {}\nexport interface CamelizedDiscordApplication extends Camelize<DiscordApplication> {}\nexport interface CamelizedDiscordTeam extends Camelize<DiscordTeam> {}\nexport interface CamelizedDiscordTeamMember extends Camelize<DiscordTeamMember> {}\nexport interface CamelizedDiscordWebhookUpdate extends Camelize<DiscordWebhookUpdate> {}\nexport interface CamelizedDiscordAllowedMentions extends Camelize<DiscordAllowedMentions> {}\nexport interface CamelizedDiscordEmbed extends Camelize<DiscordEmbed> {}\nexport interface CamelizedDiscordEmbedAuthor extends Camelize<DiscordEmbedAuthor> {}\nexport interface CamelizedDiscordEmbedField extends Camelize<DiscordEmbedField> {}\nexport interface CamelizedDiscordEmbedFooter extends Camelize<DiscordEmbedFooter> {}\nexport interface CamelizedDiscordEmbedImage extends Camelize<DiscordEmbedImage> {}\nexport interface CamelizedDiscordEmbedProvider extends Camelize<DiscordEmbedProvider> {}\nexport interface CamelizedDiscordEmbedThumbnail extends Camelize<DiscordEmbedThumbnail> {}\nexport interface CamelizedDiscordEmbedVideo extends Camelize<DiscordEmbedVideo> {}\nexport interface CamelizedDiscordAttachment extends Camelize<DiscordAttachment> {}\nexport type CamelizedDiscordWebhook = Camelize<DiscordWebhook>\nexport interface CamelizedDiscordIncomingWebhook extends Camelize<DiscordIncomingWebhook> {}\nexport interface CamelizedDiscordApplicationWebhook extends Camelize<DiscordApplicationWebhook> {}\nexport interface CamelizedDiscordGuild extends Camelize<DiscordGuild> {}\nexport interface CamelizedDiscordRole extends Camelize<DiscordRole> {}\nexport interface CamelizedDiscordRoleTags extends Camelize<DiscordRoleTags> {}\nexport interface CamelizedDiscordEmoji extends Camelize<DiscordEmoji> {}\nexport interface CamelizedDiscordVoiceState extends Camelize<DiscordVoiceState> {}\nexport interface CamelizedDiscordChannel extends Camelize<DiscordChannel> {}\nexport interface CamelizedDiscordPresenceUpdate extends Camelize<DiscordPresenceUpdate> {}\nexport interface CamelizedDiscordWelcomeScreen extends Camelize<DiscordWelcomeScreen> {}\nexport interface CamelizedDiscordWelcomeScreenChannel extends Camelize<DiscordWelcomeScreenChannel> {}\nexport interface CamelizedDiscordStageInstance extends Camelize<DiscordStageInstance> {}\nexport interface CamelizedDiscordThreadMetadata extends Camelize<DiscordThreadMetadata> {}\nexport interface CamelizedDiscordThreadMember extends Camelize<DiscordThreadMember> {}\nexport interface CamelizedDiscordActivity extends Camelize<DiscordActivity> {}\nexport interface CamelizedDiscordClientStatus extends Camelize<DiscordClientStatus> {}\nexport interface CamelizedDiscordActivityTimestamps extends Camelize<DiscordActivityTimestamps> {}\nexport interface CamelizedDiscordActivityEmoji extends Camelize<DiscordActivityEmoji> {}\nexport interface CamelizedDiscordActivityParty extends Camelize<DiscordActivityParty> {}\nexport interface CamelizedDiscordActivityAssets extends Camelize<DiscordActivityAssets> {}\nexport interface CamelizedDiscordActivitySecrets extends Camelize<DiscordActivitySecrets> {}\nexport interface CamelizedDiscordActivityButton extends Camelize<DiscordActivityButton> {}\nexport interface CamelizedDiscordOverwrite extends Camelize<DiscordOverwrite> {}\nexport interface CamelizedDiscordMemberWithUser extends Camelize<DiscordMemberWithUser> {}\nexport interface CamelizedDiscordMessage extends Camelize<DiscordMessage> {}\nexport interface CamelizedDiscordChannelMention extends Camelize<DiscordChannelMention> {}\nexport interface CamelizedDiscordReaction extends Camelize<DiscordReaction> {}\nexport interface CamelizedDiscordMessageActivity extends Camelize<DiscordMessageActivity> {}\nexport interface CamelizedDiscordMessageReference extends Camelize<DiscordMessageReference> {}\nexport interface CamelizedDiscordSticker extends Camelize<DiscordSticker> {}\nexport interface CamelizedDiscordMessageInteraction extends Camelize<DiscordMessageInteraction> {}\nexport type CamelizedDiscordMessageComponents = Camelize<DiscordMessageComponents>\nexport interface CamelizedDiscordActionRow extends Camelize<DiscordActionRow> {}\nexport interface CamelizedDiscordSelectMenuComponent extends Camelize<DiscordSelectMenuComponent> {}\nexport interface CamelizedDiscordSelectOption extends Camelize<DiscordSelectOption> {}\nexport interface CamelizedDiscordButtonComponent extends Camelize<DiscordButtonComponent> {}\nexport interface CamelizedDiscordInputTextComponent extends Camelize<DiscordInputTextComponent> {}\nexport interface CamelizedDiscordStickerItem extends Camelize<DiscordStickerItem> {}\nexport interface CamelizedDiscordStickerPack extends Camelize<DiscordStickerPack> {}\nexport interface CamelizedDiscordInteraction extends Camelize<DiscordInteraction> {}\nexport interface CamelizedDiscordInteractionMember extends Camelize<DiscordInteractionMember> {}\nexport interface CamelizedDiscordInteractionData extends Camelize<DiscordInteractionData> {}\nexport interface CamelizedDiscordInteractionDataOption extends Camelize<DiscordInteractionDataOption> {}\nexport interface CamelizedDiscordListActiveThreads extends Camelize<DiscordListActiveThreads> {}\nexport interface CamelizedDiscordListArchivedThreads extends Camelize<DiscordListArchivedThreads> {}\nexport interface CamelizedDiscordThreadListSync extends Camelize<DiscordThreadListSync> {}\nexport interface CamelizedDiscordAuditLog extends Camelize<DiscordAuditLog> {}\nexport interface CamelizedDiscordAutoModerationRule extends Camelize<DiscordAutoModerationRule> {}\nexport interface CamelizedDiscordAutoModerationRuleTriggerMetadata extends Camelize<DiscordAutoModerationRuleTriggerMetadata> {}\nexport interface CamelizedDiscordAutoModerationAction extends Camelize<DiscordAutoModerationAction> {}\nexport interface CamelizedDiscordAutoModerationActionMetadata extends Camelize<DiscordAutoModerationActionMetadata> {}\nexport interface CamelizedDiscordAutoModerationActionExecution extends Camelize<DiscordAutoModerationActionExecution> {}\nexport interface CamelizedDiscordAuditLogEntry extends Camelize<DiscordAuditLogEntry> {}\nexport type CamelizedDiscordAuditLogChange = Camelize<DiscordAuditLogChange>\nexport interface CamelizedDiscordOptionalAuditEntryInfo extends Camelize<DiscordOptionalAuditEntryInfo> {}\nexport interface CamelizedDiscordScheduledEvent extends Camelize<DiscordScheduledEvent> {}\nexport interface CamelizedDiscordScheduledEventEntityMetadata extends Camelize<DiscordScheduledEventEntityMetadata> {}\nexport interface CamelizedDiscordGetGatewayBot extends Camelize<DiscordGetGatewayBot> {}\nexport interface CamelizedDiscordSessionStartLimit extends Camelize<DiscordSessionStartLimit> {}\nexport interface CamelizedDiscordInviteMetadata extends Camelize<DiscordInviteMetadata> {}\nexport interface CamelizedDiscordInvite extends Camelize<DiscordInvite> {}\nexport interface CamelizedDiscordInviteStageInstance extends Camelize<DiscordInviteStageInstance> {}\nexport interface CamelizedDiscordApplicationCommand extends Camelize<DiscordApplicationCommand> {}\nexport interface CamelizedDiscordCreateApplicationCommand extends Camelize<DiscordCreateApplicationCommand> {}\nexport interface CamelizedDiscordApplicationCommandOption extends Camelize<DiscordApplicationCommandOption> {}\nexport interface CamelizedDiscordApplicationCommandOptionChoice extends Camelize<DiscordApplicationCommandOptionChoice> {}\nexport interface CamelizedDiscordGuildApplicationCommandPermissions extends Camelize<DiscordGuildApplicationCommandPermissions> {}\nexport interface CamelizedDiscordApplicationCommandPermissions extends Camelize<DiscordApplicationCommandPermissions> {}\nexport interface CamelizedDiscordGuildWidget extends Camelize<DiscordGuildWidget> {}\nexport interface CamelizedDiscordGuildPreview extends Camelize<DiscordGuildPreview> {}\nexport interface CamelizedDiscordFollowedChannel extends Camelize<DiscordFollowedChannel> {}\nexport interface CamelizedDiscordGatewayPayload extends Camelize<DiscordGatewayPayload> {}\nexport interface CamelizedDiscordGuildMembersChunk extends Camelize<DiscordGuildMembersChunk> {}\nexport interface CamelizedDiscordChannelPinsUpdate extends Camelize<DiscordChannelPinsUpdate> {}\nexport interface CamelizedDiscordGuildRoleDelete extends Camelize<DiscordGuildRoleDelete> {}\nexport interface CamelizedDiscordGuildBanAddRemove extends Camelize<DiscordGuildBanAddRemove> {}\nexport interface CamelizedDiscordMessageReactionRemove extends Camelize<DiscordMessageReactionRemove> {}\nexport interface CamelizedDiscordMessageReactionAdd extends Camelize<DiscordMessageReactionAdd> {}\nexport interface CamelizedDiscordVoiceServerUpdate extends Camelize<DiscordVoiceServerUpdate> {}\nexport interface CamelizedDiscordInviteCreate extends Camelize<DiscordInviteCreate> {}\nexport interface CamelizedDiscordHello extends Camelize<DiscordHello> {}\nexport interface CamelizedDiscordReady extends Camelize<DiscordReady> {}\nexport interface CamelizedDiscordUnavailableGuild extends Camelize<DiscordUnavailableGuild> {}\nexport interface CamelizedDiscordMessageDeleteBulk extends Camelize<DiscordMessageDeleteBulk> {}\nexport interface CamelizedDiscordTemplate extends Camelize<DiscordTemplate> {}\nexport interface CamelizedDiscordGuildMemberAdd extends Camelize<DiscordGuildMemberAdd> {}\nexport interface CamelizedDiscordMessageDelete extends Camelize<DiscordMessageDelete> {}\nexport interface CamelizedDiscordThreadMembersUpdate extends Camelize<DiscordThreadMembersUpdate> {}\nexport interface CamelizedDiscordThreadMemberUpdate extends Camelize<DiscordThreadMemberUpdate> {}\nexport interface CamelizedDiscordGuildRoleCreate extends Camelize<DiscordGuildRoleCreate> {}\nexport interface CamelizedDiscordGuildEmojisUpdate extends Camelize<DiscordGuildEmojisUpdate> {}\nexport interface CamelizedDiscordGuildStickersUpdate extends Camelize<DiscordGuildStickersUpdate> {}\nexport interface CamelizedDiscordGuildMemberUpdate extends Camelize<DiscordGuildMemberUpdate> {}\nexport interface CamelizedDiscordMessageReactionRemoveAll extends Camelize<DiscordMessageReactionRemoveAll> {}\nexport interface CamelizedDiscordGuildRoleUpdate extends Camelize<DiscordGuildRoleUpdate> {}\nexport interface CamelizedDiscordScheduledEventUserAdd extends Camelize<DiscordScheduledEventUserAdd> {}\nexport type CamelizedDiscordMessageReactionRemoveEmoji = Camelize<DiscordMessageReactionRemoveEmoji>\nexport interface CamelizedDiscordGuildMemberRemove extends Camelize<DiscordGuildMemberRemove> {}\nexport interface CamelizedDiscordBan extends Camelize<DiscordBan> {}\nexport interface CamelizedDiscordScheduledEventUserRemove extends Camelize<DiscordScheduledEventUserRemove> {}\nexport interface CamelizedDiscordInviteDelete extends Camelize<DiscordInviteDelete> {}\nexport interface CamelizedDiscordVoiceRegion extends Camelize<DiscordVoiceRegion> {}\nexport interface CamelizedDiscordGuildWidgetSettings extends Camelize<DiscordGuildWidgetSettings> {}\nexport interface CamelizedDiscordInstallParams extends Camelize<DiscordInstallParams> {}\nexport interface CamelizedDiscordForumTag extends Camelize<DiscordForumTag> {}\nexport interface CamelizedDiscordDefaultReactionEmoji extends Camelize<DiscordDefaultReactionEmoji> {}\nexport interface CamelizedDiscordModifyChannel extends Camelize<DiscordModifyChannel> {}\nexport interface CamelizedDiscordCreateGuildEmoji extends Camelize<DiscordCreateGuildEmoji> {}\nexport interface CamelizedDiscordModifyGuildEmoji extends Camelize<DiscordModifyGuildEmoji> {}\nexport interface CamelizedDiscordCreateGuildChannel extends Camelize<DiscordCreateGuildChannel> {}\nexport interface CamelizedDiscordCreateMessage extends Camelize<DiscordCreateMessage> {}\nexport interface CamelizedDiscordModifyGuildWelcomeScreen extends Camelize<DiscordModifyGuildWelcomeScreen> {}\nexport interface CamelizedDiscordFollowAnnouncementChannel extends Camelize<DiscordFollowAnnouncementChannel> {}\nexport interface CamelizedDiscordEditChannelPermissionOverridesOptions extends Camelize<DiscordEditChannelPermissionOverridesOptions> {}\nexport interface CamelizedDiscordModifyGuildChannelPositions extends Camelize<DiscordModifyGuildChannelPositions> {}\nexport interface CamelizedDiscordCreateWebhook extends Camelize<DiscordCreateWebhook> {}\nexport interface CamelizedDiscordCreateForumPostWithMessage extends Camelize<DiscordCreateForumPostWithMessage> {}\nexport type CamelizedDiscordArchivedThreads = Camelize<DiscordArchivedThreads>\nexport interface CamelizedDiscordActiveThreads extends Camelize<DiscordActiveThreads> {}\nexport interface CamelizedDiscordVanityUrl extends Camelize<DiscordVanityUrl> {}\nexport interface CamelizedDiscordPrunedCount extends Camelize<DiscordPrunedCount> {}\n"],"names":[],"mappings":"AAAA,WAqSoF"}
|
package/dist/discord.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import type { Localization, WebhookTypes } from './shared.js';
|
|
2
|
-
import type { ActivityTypes, AllowedMentionsTypes, ApplicationCommandOptionTypes, ApplicationCommandPermissionTypes, ApplicationCommandTypes, ApplicationFlags, AuditLogEvents, ButtonStyles, ChannelFlags, ChannelTypes, DefaultMessageNotificationLevels, EmbedTypes, ExplicitContentFilterLevels, GatewayEventNames, GuildFeatures, GuildNsfwLevel, IntegrationExpireBehaviors, InteractionTypes, MessageActivityTypes, MessageComponentTypes, MessageTypes, MfaLevels, OverwriteTypes, PickPartial, PremiumTiers, PremiumTypes, ScheduledEventEntityType, ScheduledEventPrivacyLevel, ScheduledEventStatus, SortOrderTypes, StickerFormatTypes, StickerTypes, SystemChannelFlags, TargetTypes, TeamMembershipStates, TextStyles, UserFlags, VerificationLevels, VideoQualityModes } from './shared';
|
|
3
|
-
import type { FileContent } from './discordeno.js';
|
|
1
|
+
import type { ActivityTypes, AllowedMentionsTypes, ApplicationCommandOptionTypes, ApplicationCommandPermissionTypes, ApplicationCommandTypes, ApplicationFlags, AuditLogEvents, ButtonStyles, ChannelFlags, ChannelTypes, DefaultMessageNotificationLevels, EmbedTypes, ExplicitContentFilterLevels, FormLayout, GatewayEventNames, GuildFeatures, GuildNsfwLevel, IntegrationExpireBehaviors, InteractionTypes, Localization, MessageActivityTypes, MessageComponentTypes, MessageTypes, MfaLevels, OverwriteTypes, PickPartial, PremiumTiers, PremiumTypes, ScheduledEventEntityType, ScheduledEventPrivacyLevel, ScheduledEventStatus, SortOrderTypes, StickerFormatTypes, StickerTypes, SystemChannelFlags, TargetTypes, TeamMembershipStates, TextStyles, UserFlags, VerificationLevels, VideoQualityModes, WebhookTypes } from './shared.js';
|
|
4
2
|
/** https://discord.com/developers/docs/resources/user#user-object */
|
|
5
3
|
export interface DiscordUser {
|
|
6
4
|
/** The user's username, not unique across the platform */
|
|
@@ -40,7 +38,7 @@ export interface DiscordIntegration {
|
|
|
40
38
|
id: string;
|
|
41
39
|
/** Integration name */
|
|
42
40
|
name: string;
|
|
43
|
-
/** Integration type (twitch, youtube or
|
|
41
|
+
/** Integration type (twitch, youtube, discord, or guild_subscription). */
|
|
44
42
|
type: 'twitch' | 'youtube' | 'discord';
|
|
45
43
|
/** Is this integration enabled */
|
|
46
44
|
enabled?: boolean;
|
|
@@ -449,9 +447,11 @@ export interface DiscordGuild {
|
|
|
449
447
|
premium_subscription_count?: number;
|
|
450
448
|
/** The maximum amount of users in a video channel */
|
|
451
449
|
max_video_channel_users?: number;
|
|
452
|
-
/**
|
|
450
|
+
/** Maximum amount of users in a stage video channel */
|
|
451
|
+
max_stage_video_channel_users?: number;
|
|
452
|
+
/** Approximate number of members in this guild, returned from the GET /guilds/id endpoint when with_counts is true */
|
|
453
453
|
approximate_member_count?: number;
|
|
454
|
-
/** Approximate number of non-offline members in this guild, returned from the GET /guilds
|
|
454
|
+
/** Approximate number of non-offline members in this guild, returned from the GET /guilds/id endpoint when with_counts is true */
|
|
455
455
|
approximate_presence_count?: number;
|
|
456
456
|
/** Guild NSFW level */
|
|
457
457
|
nsfw_level: GuildNsfwLevel;
|
|
@@ -543,6 +543,10 @@ export interface DiscordRoleTags {
|
|
|
543
543
|
integration_id?: string;
|
|
544
544
|
/** Whether this is the guild's premium subscriber role */
|
|
545
545
|
premium_subscriber?: null;
|
|
546
|
+
/** Id of this role's subscription sku and listing. */
|
|
547
|
+
subscription_listing_id?: string;
|
|
548
|
+
/** Whether this role is available for purchase. */
|
|
549
|
+
available_for_purchase?: null;
|
|
546
550
|
/** Whether this is a guild's linked role */
|
|
547
551
|
guild_connections?: null;
|
|
548
552
|
}
|
|
@@ -628,6 +632,8 @@ export interface DiscordChannel {
|
|
|
628
632
|
owner_id?: string;
|
|
629
633
|
/** Application id of the group DM creator if it is bot-created */
|
|
630
634
|
application_id?: string;
|
|
635
|
+
/** For group DM channels: whether the channel is managed by an application via the `gdm.join` OAuth2 scope. */
|
|
636
|
+
managed?: boolean;
|
|
631
637
|
/** For guild channels: Id of the parent category for a channel (each parent category can contain up to 50 channels), for threads: id of the text channel this thread was created */
|
|
632
638
|
parent_id?: string | null;
|
|
633
639
|
/** When the last pinned message was pinned. This may be null in events such as GUILD_CREATE when a message is not pinned. */
|
|
@@ -663,7 +669,7 @@ export interface DiscordChannel {
|
|
|
663
669
|
/** the default sort order type used to order posts in GUILD_FORUM channels. Defaults to null, which indicates a preferred sort order hasn't been set by a channel admin */
|
|
664
670
|
default_sort_order?: SortOrderTypes | null;
|
|
665
671
|
/** the default forum layout view used to display posts in `GUILD_FORUM` channels. Defaults to `0`, which indicates a layout view has not been set by a channel admin */
|
|
666
|
-
default_forum_layout?:
|
|
672
|
+
default_forum_layout?: FormLayout;
|
|
667
673
|
/** When a thread is created this will be true on that channel payload for the thread. */
|
|
668
674
|
newly_created?: boolean;
|
|
669
675
|
}
|
|
@@ -1201,7 +1207,7 @@ export interface DiscordInteractionDataOption {
|
|
|
1201
1207
|
/** Value of application command option type */
|
|
1202
1208
|
type: ApplicationCommandOptionTypes;
|
|
1203
1209
|
/** Value of the option resulting from user input */
|
|
1204
|
-
value?: string | boolean | number
|
|
1210
|
+
value?: string | boolean | number;
|
|
1205
1211
|
/** Present if this option is a group or subcommand */
|
|
1206
1212
|
options?: DiscordInteractionDataOption[];
|
|
1207
1213
|
/** `true` if this option is the currently focused option for autocomplete */
|
|
@@ -1227,6 +1233,28 @@ export interface DiscordThreadListSync {
|
|
|
1227
1233
|
/** All thread member objects from the synced threads for the current user, indicating which threads the current user has been added to */
|
|
1228
1234
|
members: DiscordThreadMember[];
|
|
1229
1235
|
}
|
|
1236
|
+
/** https://discord.com/developers/docs/resources/audit-log#audit-log-object */
|
|
1237
|
+
export interface DiscordAuditLog {
|
|
1238
|
+
/** List of webhooks found in the audit log */
|
|
1239
|
+
webhooks: DiscordWebhook[];
|
|
1240
|
+
/** List of users found in the audit log */
|
|
1241
|
+
users: DiscordUser[];
|
|
1242
|
+
/** List of audit log entries, sorted from most to least recent */
|
|
1243
|
+
audit_log_entries: DiscordAuditLogEntry[];
|
|
1244
|
+
/** List of partial integration objects */
|
|
1245
|
+
integrations: Array<Partial<DiscordIntegration>>;
|
|
1246
|
+
/**
|
|
1247
|
+
* List of threads found in the audit log.
|
|
1248
|
+
* Threads referenced in `THREAD_CREATE` and `THREAD_UPDATE` events are included in the threads map since archived threads might not be kept in memory by clients.
|
|
1249
|
+
*/
|
|
1250
|
+
threads: DiscordChannel[];
|
|
1251
|
+
/** List of guild scheduled events found in the audit log */
|
|
1252
|
+
guild_scheduled_events?: DiscordScheduledEvent[];
|
|
1253
|
+
/** List of auto moderation rules referenced in the audit log */
|
|
1254
|
+
auto_moderation_rules?: DiscordAutoModerationRule[];
|
|
1255
|
+
/** List of application commands referenced in the audit log */
|
|
1256
|
+
application_commands: DiscordApplicationCommand[];
|
|
1257
|
+
}
|
|
1230
1258
|
/** https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object */
|
|
1231
1259
|
export interface DiscordAutoModerationRule {
|
|
1232
1260
|
/** The id of this rule */
|
|
@@ -1298,6 +1326,8 @@ export declare enum AutoModerationActionType {
|
|
|
1298
1326
|
export interface DiscordAutoModerationActionMetadata {
|
|
1299
1327
|
/** The id of channel to which user content should be logged. Only in ActionType.SendAlertMessage */
|
|
1300
1328
|
channel_id?: string;
|
|
1329
|
+
/** Additional explanation that will be shown to members whenever their message is blocked. Maximum of 150 characters. Only supported for AutoModerationActionType.BlockMessage */
|
|
1330
|
+
custom_message?: string;
|
|
1301
1331
|
/** Timeout duration in seconds maximum of 2419200 seconds (4 weeks). Only supported for TriggerType.Keyword && Only in ActionType.Timeout */
|
|
1302
1332
|
duration_seconds?: number;
|
|
1303
1333
|
}
|
|
@@ -1653,6 +1683,26 @@ export interface DiscordApplicationCommandPermissions {
|
|
|
1653
1683
|
/** `true` to allow, `false`, to disallow */
|
|
1654
1684
|
permission: boolean;
|
|
1655
1685
|
}
|
|
1686
|
+
/** https://discord.com/developers/docs/resources/guild#get-guild-widget-example-get-guild-widget */
|
|
1687
|
+
export interface DiscordGuildWidget {
|
|
1688
|
+
id: string;
|
|
1689
|
+
name: string;
|
|
1690
|
+
instant_invite: string;
|
|
1691
|
+
channels: Array<{
|
|
1692
|
+
id: string;
|
|
1693
|
+
name: string;
|
|
1694
|
+
position: number;
|
|
1695
|
+
}>;
|
|
1696
|
+
members: Array<{
|
|
1697
|
+
id: string;
|
|
1698
|
+
username: string;
|
|
1699
|
+
discriminator: string;
|
|
1700
|
+
avatar?: string | null;
|
|
1701
|
+
status: string;
|
|
1702
|
+
avatar_url: string;
|
|
1703
|
+
}>;
|
|
1704
|
+
presence_count: number;
|
|
1705
|
+
}
|
|
1656
1706
|
/** https://discord.com/developers/docs/resources/guild#guild-preview-object */
|
|
1657
1707
|
export interface DiscordGuildPreview {
|
|
1658
1708
|
/** Guild id */
|
|
@@ -1964,6 +2014,13 @@ export interface DiscordGuildMemberRemove {
|
|
|
1964
2014
|
/** The user who was removed */
|
|
1965
2015
|
user: DiscordUser;
|
|
1966
2016
|
}
|
|
2017
|
+
/** https://discord.com/developers/docs/resources/guild#ban-object */
|
|
2018
|
+
export interface DiscordBan {
|
|
2019
|
+
/** The reason for the ban */
|
|
2020
|
+
reason: string | null;
|
|
2021
|
+
/** The banned user */
|
|
2022
|
+
user: DiscordUser;
|
|
2023
|
+
}
|
|
1967
2024
|
export interface DiscordScheduledEventUserRemove {
|
|
1968
2025
|
/** id of the guild scheduled event */
|
|
1969
2026
|
guild_scheduled_event_id: string;
|
|
@@ -1981,6 +2038,25 @@ export interface DiscordInviteDelete {
|
|
|
1981
2038
|
/** The unique invite code */
|
|
1982
2039
|
code: string;
|
|
1983
2040
|
}
|
|
2041
|
+
/** https://discord.com/developers/docs/resources/voice#voice-region-object-voice-region-structure */
|
|
2042
|
+
export interface DiscordVoiceRegion {
|
|
2043
|
+
/** Unique Id for the region */
|
|
2044
|
+
id: string;
|
|
2045
|
+
/** Name of the region */
|
|
2046
|
+
name: string;
|
|
2047
|
+
/** true for a single server that is closest to the current user's client */
|
|
2048
|
+
optimal: boolean;
|
|
2049
|
+
/** Whether this is a deprecated voice region (avoid switching to these) */
|
|
2050
|
+
deprecated: boolean;
|
|
2051
|
+
/** Whether this is a custom voice region (used for events/etc) */
|
|
2052
|
+
custom: boolean;
|
|
2053
|
+
}
|
|
2054
|
+
export interface DiscordGuildWidgetSettings {
|
|
2055
|
+
/** whether the widget is enabled */
|
|
2056
|
+
enabled: boolean;
|
|
2057
|
+
/** the widget channel id */
|
|
2058
|
+
channel_id: string | null;
|
|
2059
|
+
}
|
|
1984
2060
|
export interface DiscordInstallParams {
|
|
1985
2061
|
/** the scopes to add the application to the server with */
|
|
1986
2062
|
scopes: string[];
|
|
@@ -2064,6 +2140,8 @@ export interface DiscordModifyChannel {
|
|
|
2064
2140
|
default_thread_rate_limit_per_user?: number;
|
|
2065
2141
|
/** the default sort order type used to order posts in forum channels */
|
|
2066
2142
|
default_sort_order?: SortOrderTypes | null;
|
|
2143
|
+
/** the default forum layout view used to display posts in `GUILD_FORUM` channels. Defaults to `0`, which indicates a layout view has not been set by a channel admin */
|
|
2144
|
+
default_forum_layout?: FormLayout;
|
|
2067
2145
|
}
|
|
2068
2146
|
/** https://discord.com/developers/docs/resources/emoji#create-guild-emoji */
|
|
2069
2147
|
export interface DiscordCreateGuildEmoji {
|
|
@@ -2135,7 +2213,9 @@ export interface DiscordCreateMessage {
|
|
|
2135
2213
|
/** true if this is a TTS message */
|
|
2136
2214
|
tts?: boolean;
|
|
2137
2215
|
/** Embedded `rich` content (up to 6000 characters) */
|
|
2216
|
+
embeds?: DiscordEmbed[];
|
|
2138
2217
|
/** Allowed mentions for the message */
|
|
2218
|
+
allowed_mentions?: DiscordAllowedMentions;
|
|
2139
2219
|
/** Include to make your message a reply */
|
|
2140
2220
|
message_reference?: {
|
|
2141
2221
|
/** id of the originating message */
|
|
@@ -2151,9 +2231,19 @@ export interface DiscordCreateMessage {
|
|
|
2151
2231
|
fail_if_not_exists: boolean;
|
|
2152
2232
|
};
|
|
2153
2233
|
/** The components you would like to have sent in this message */
|
|
2234
|
+
components?: DiscordMessageComponents;
|
|
2154
2235
|
/** IDs of up to 3 stickers in the server to send in the message */
|
|
2155
2236
|
stickerIds?: [string] | [string, string] | [string, string, string];
|
|
2156
2237
|
}
|
|
2238
|
+
/** https://discord.com/developers/docs/resources/guild#modify-guild-welcome-screen */
|
|
2239
|
+
export interface DiscordModifyGuildWelcomeScreen {
|
|
2240
|
+
/** Whether the welcome screen is enabled */
|
|
2241
|
+
enabled?: boolean | null;
|
|
2242
|
+
/** Channels linked in the welcome screen and their display options */
|
|
2243
|
+
welcome_screen?: DiscordWelcomeScreenChannel[] | null;
|
|
2244
|
+
/** The server description to show in the welcome screen */
|
|
2245
|
+
description?: string | null;
|
|
2246
|
+
}
|
|
2157
2247
|
export interface DiscordFollowAnnouncementChannel {
|
|
2158
2248
|
/** The id of the channel to send announcements to. */
|
|
2159
2249
|
webhook_channel_id: string;
|
|
@@ -2203,8 +2293,6 @@ export interface DiscordCreateForumPostWithMessage {
|
|
|
2203
2293
|
components?: DiscordMessageComponents[];
|
|
2204
2294
|
/** IDs of up to 3 stickers in the server to send in the message */
|
|
2205
2295
|
sticker_ids?: string[];
|
|
2206
|
-
/** Contents of the file being sent. See {@link https://discord.com/developers/docs/reference#uploading-files Uploading Files} */
|
|
2207
|
-
file: FileContent | FileContent[] | undefined;
|
|
2208
2296
|
/** JSON-encoded body of non-file params, only for multipart/form-data requests. See {@link https://discord.com/developers/docs/reference#uploading-files Uploading Files} */
|
|
2209
2297
|
payload_json?: string;
|
|
2210
2298
|
/** Attachment objects with filename and description. See {@link https://discord.com/developers/docs/reference#uploading-files Uploading Files} */
|
|
@@ -2222,4 +2310,11 @@ export interface DiscordActiveThreads {
|
|
|
2222
2310
|
threads: DiscordChannel[];
|
|
2223
2311
|
members: DiscordThreadMember[];
|
|
2224
2312
|
}
|
|
2313
|
+
export interface DiscordVanityUrl {
|
|
2314
|
+
code: string | null;
|
|
2315
|
+
uses: number;
|
|
2316
|
+
}
|
|
2317
|
+
export interface DiscordPrunedCount {
|
|
2318
|
+
pruned: number;
|
|
2319
|
+
}
|
|
2225
2320
|
//# sourceMappingURL=discord.d.ts.map
|