mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-22 11:20:10 +00:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db49793666 | ||
|
|
9dce6ed392 | ||
|
|
be770c91be | ||
|
|
cd8b63f9ba | ||
|
|
5079b164db | ||
|
|
50ace3b7e0 | ||
|
|
7c69137a47 | ||
|
|
3dac5b93e7 | ||
|
|
0f7602605c | ||
|
|
ca6a95d69c | ||
|
|
9a66d21f49 | ||
|
|
bb0ccf1e28 | ||
|
|
cfedc17338 | ||
|
|
e647e795c9 |
23
CHANGELOG.md
23
CHANGELOG.md
@@ -1,3 +1,26 @@
|
||||
## [0.37.41](https://github.com/discordjs/discord-api-types/compare/0.37.40...0.37.41) (2023-05-01)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **GatewayGuildMembersChunkDispatchData:** Omit `guild_id` for presences ([#761](https://github.com/discordjs/discord-api-types/issues/761)) ([5079b16](https://github.com/discordjs/discord-api-types/commit/5079b164db3ac3bda25675a553a586f099555667))
|
||||
- **types:** move `types` condition to the front ([#763](https://github.com/discordjs/discord-api-types/issues/763)) ([9dce6ed](https://github.com/discordjs/discord-api-types/commit/9dce6ed392b64e602c3cc05946bc0f30bac7279e))
|
||||
|
||||
## [0.37.40](https://github.com/discordjs/discord-api-types/compare/0.37.39...0.37.40) (2023-04-24)
|
||||
|
||||
### Features
|
||||
|
||||
- add support for voice messages ([#749](https://github.com/discordjs/discord-api-types/issues/749)) ([3dac5b9](https://github.com/discordjs/discord-api-types/commit/3dac5b93e7568ba2fbd3bc30d229d2df80f96eed))
|
||||
|
||||
## [0.37.39](https://github.com/discordjs/discord-api-types/compare/0.37.38...0.37.39) (2023-04-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **RESTPostAPIChannelMessagesThreadsJSONBody:** mark `auto_archive_duration` as optional ([ca6a95d](https://github.com/discordjs/discord-api-types/commit/ca6a95d69c7b93f564f10cce422faf5ea4133be7))
|
||||
|
||||
### Features
|
||||
|
||||
- **APIGuild:** add `max_stage_video_channel_users` ([#550](https://github.com/discordjs/discord-api-types/issues/550)) ([9a66d21](https://github.com/discordjs/discord-api-types/commit/9a66d21f4913c63ed7c192cf9340febe603bf516))
|
||||
|
||||
## [0.37.38](https://github.com/discordjs/discord-api-types/compare/0.37.37...0.37.38) (2023-04-10)
|
||||
|
||||
### Features
|
||||
|
||||
@@ -1,3 +1,26 @@
|
||||
## [0.37.41](https://github.com/discordjs/discord-api-types/compare/0.37.40...0.37.41) (2023-05-01)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **GatewayGuildMembersChunkDispatchData:** Omit `guild_id` for presences ([#761](https://github.com/discordjs/discord-api-types/issues/761)) ([5079b16](https://github.com/discordjs/discord-api-types/commit/5079b164db3ac3bda25675a553a586f099555667))
|
||||
- **types:** move `types` condition to the front ([#763](https://github.com/discordjs/discord-api-types/issues/763)) ([9dce6ed](https://github.com/discordjs/discord-api-types/commit/9dce6ed392b64e602c3cc05946bc0f30bac7279e))
|
||||
|
||||
## [0.37.40](https://github.com/discordjs/discord-api-types/compare/0.37.39...0.37.40) (2023-04-24)
|
||||
|
||||
### Features
|
||||
|
||||
- add support for voice messages ([#749](https://github.com/discordjs/discord-api-types/issues/749)) ([3dac5b9](https://github.com/discordjs/discord-api-types/commit/3dac5b93e7568ba2fbd3bc30d229d2df80f96eed))
|
||||
|
||||
## [0.37.39](https://github.com/discordjs/discord-api-types/compare/0.37.38...0.37.39) (2023-04-17)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- **RESTPostAPIChannelMessagesThreadsJSONBody:** mark `auto_archive_duration` as optional ([ca6a95d](https://github.com/discordjs/discord-api-types/commit/ca6a95d69c7b93f564f10cce422faf5ea4133be7))
|
||||
|
||||
### Features
|
||||
|
||||
- **APIGuild:** add `max_stage_video_channel_users` ([#550](https://github.com/discordjs/discord-api-types/issues/550)) ([9a66d21](https://github.com/discordjs/discord-api-types/commit/9a66d21f4913c63ed7c192cf9340febe603bf516))
|
||||
|
||||
## [0.37.38](https://github.com/discordjs/discord-api-types/compare/0.37.37...0.37.38) (2023-04-10)
|
||||
|
||||
### Features
|
||||
|
||||
@@ -975,6 +975,11 @@ export type GatewayGuildMembersChunkDispatch = DataPayload<
|
||||
GatewayGuildMembersChunkDispatchData
|
||||
>;
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/topics/gateway-events#update-presence
|
||||
*/
|
||||
export type GatewayGuildMembersChunkPresence = Omit<RawGatewayPresenceUpdate, 'guild_id'>;
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/topics/gateway-events#guild-members-chunk
|
||||
*/
|
||||
@@ -1006,7 +1011,7 @@ export interface GatewayGuildMembersChunkDispatchData {
|
||||
*
|
||||
* See https://discord.com/developers/docs/topics/gateway-events#update-presence
|
||||
*/
|
||||
presences?: RawGatewayPresenceUpdate[];
|
||||
presences?: GatewayGuildMembersChunkPresence[];
|
||||
/**
|
||||
* The nonce used in the Guild Members Request
|
||||
*
|
||||
|
||||
@@ -974,6 +974,11 @@ export type GatewayGuildMembersChunkDispatch = DataPayload<
|
||||
GatewayGuildMembersChunkDispatchData
|
||||
>;
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/topics/gateway-events#update-presence
|
||||
*/
|
||||
export type GatewayGuildMembersChunkPresence = Omit<RawGatewayPresenceUpdate, 'guild_id'>;
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/topics/gateway-events#guild-members-chunk
|
||||
*/
|
||||
@@ -1005,7 +1010,7 @@ export interface GatewayGuildMembersChunkDispatchData {
|
||||
*
|
||||
* See https://discord.com/developers/docs/topics/gateway-events#update-presence
|
||||
*/
|
||||
presences?: RawGatewayPresenceUpdate[];
|
||||
presences?: GatewayGuildMembersChunkPresence[];
|
||||
/**
|
||||
* The nonce used in the Guild Members Request
|
||||
*
|
||||
|
||||
@@ -8,47 +8,261 @@ import type { LocaleString } from '../rest/common.ts';
|
||||
* replicate them in some way
|
||||
*/
|
||||
export const PermissionFlagsBits = {
|
||||
/**
|
||||
* Allows creation of instant invites
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
CreateInstantInvite: 1n << 0n,
|
||||
/**
|
||||
* Allows kicking members
|
||||
*/
|
||||
KickMembers: 1n << 1n,
|
||||
/**
|
||||
* Allows banning members
|
||||
*/
|
||||
BanMembers: 1n << 2n,
|
||||
/**
|
||||
* Allows all permissions and bypasses channel permission overwrites
|
||||
*/
|
||||
Administrator: 1n << 3n,
|
||||
/**
|
||||
* Allows management and editing of channels
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ManageChannels: 1n << 4n,
|
||||
/**
|
||||
* Allows management and editing of the guild
|
||||
*/
|
||||
ManageGuild: 1n << 5n,
|
||||
/**
|
||||
* Allows for the addition of reactions to messages
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
AddReactions: 1n << 6n,
|
||||
/**
|
||||
* Allows for viewing of audit logs
|
||||
*/
|
||||
ViewAuditLog: 1n << 7n,
|
||||
/**
|
||||
* Allows for using priority speaker in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
PrioritySpeaker: 1n << 8n,
|
||||
/**
|
||||
* Allows the user to go live
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
Stream: 1n << 9n,
|
||||
/**
|
||||
* Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ViewChannel: 1n << 10n,
|
||||
/**
|
||||
* Allows for sending messages in a channel and creating threads in a forum
|
||||
* (does not allow sending messages in threads)
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
SendMessages: 1n << 11n,
|
||||
/**
|
||||
* Allows for sending of `/tts` messages
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
SendTTSMessages: 1n << 12n,
|
||||
/**
|
||||
* Allows for deletion of other users messages
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ManageMessages: 1n << 13n,
|
||||
/**
|
||||
* Links sent by users with this permission will be auto-embedded
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
EmbedLinks: 1n << 14n,
|
||||
/**
|
||||
* Allows for uploading images and files
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
AttachFiles: 1n << 15n,
|
||||
/**
|
||||
* Allows for reading of message history
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ReadMessageHistory: 1n << 16n,
|
||||
/**
|
||||
* Allows for using the `@everyone` tag to notify all users in a channel,
|
||||
* and the `@here` tag to notify all online users in a channel
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
MentionEveryone: 1n << 17n,
|
||||
/**
|
||||
* Allows the usage of custom emojis from other servers
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
UseExternalEmojis: 1n << 18n,
|
||||
/**
|
||||
* Allows for viewing guild insights
|
||||
*/
|
||||
ViewGuildInsights: 1n << 19n,
|
||||
/**
|
||||
* Allows for joining of a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
Connect: 1n << 20n,
|
||||
/**
|
||||
* Allows for speaking in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
Speak: 1n << 21n,
|
||||
/**
|
||||
* Allows for muting members in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
MuteMembers: 1n << 22n,
|
||||
/**
|
||||
* Allows for deafening of members in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
DeafenMembers: 1n << 23n,
|
||||
/**
|
||||
* Allows for moving of members between voice channels
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
MoveMembers: 1n << 24n,
|
||||
/**
|
||||
* Allows for using voice-activity-detection in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
UseVAD: 1n << 25n,
|
||||
/**
|
||||
* Allows for modification of own nickname
|
||||
*/
|
||||
ChangeNickname: 1n << 26n,
|
||||
/**
|
||||
* Allows for modification of other users nicknames
|
||||
*/
|
||||
ManageNicknames: 1n << 27n,
|
||||
/**
|
||||
* Allows management and editing of roles
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ManageRoles: 1n << 28n,
|
||||
/**
|
||||
* Allows management and editing of webhooks
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ManageWebhooks: 1n << 29n,
|
||||
/**
|
||||
* Allows management and editing of emojis, stickers, and soundboard sounds
|
||||
*
|
||||
* @deprecated This is the old name for {@apilink PermissionFlagsBits#ManageGuildExpressions}
|
||||
*/
|
||||
ManageEmojisAndStickers: 1n << 30n,
|
||||
/**
|
||||
* Allows management and editing of emojis, stickers, and soundboard sounds
|
||||
*/
|
||||
ManageGuildExpressions: 1n << 30n,
|
||||
/**
|
||||
* Allows members to use application commands, including slash commands and context menu commands
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
UseApplicationCommands: 1n << 31n,
|
||||
/**
|
||||
* Allows for requesting to speak in stage channels
|
||||
*
|
||||
* Applies to channel types: Stage
|
||||
*/
|
||||
RequestToSpeak: 1n << 32n,
|
||||
/**
|
||||
* Allows for creating, editing, and deleting scheduled events
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
ManageEvents: 1n << 33n,
|
||||
/**
|
||||
* Allows for deleting and archiving threads, and viewing all private threads
|
||||
*
|
||||
* Applies to channel types: Text
|
||||
*/
|
||||
ManageThreads: 1n << 34n,
|
||||
/**
|
||||
* Allows for creating public and announcement threads
|
||||
*
|
||||
* Applies to channel types: Text
|
||||
*/
|
||||
CreatePublicThreads: 1n << 35n,
|
||||
/**
|
||||
* Allows for creating private threads
|
||||
*
|
||||
* Applies to channel types: Text
|
||||
*/
|
||||
CreatePrivateThreads: 1n << 36n,
|
||||
/**
|
||||
* Allows the usage of custom stickers from other servers
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
UseExternalStickers: 1n << 37n,
|
||||
/**
|
||||
* Allows for sending messages in threads
|
||||
*
|
||||
* Applies to channel types: Text
|
||||
*/
|
||||
SendMessagesInThreads: 1n << 38n,
|
||||
/**
|
||||
* Allows for using Activities (applications with the {@apilink ApplicationFlags.Embedded} flag) in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
UseEmbeddedActivities: 1n << 39n,
|
||||
/**
|
||||
* Allows for timing out users to prevent them from sending or reacting to messages in chat and threads,
|
||||
* and from speaking in voice and stage channels
|
||||
*/
|
||||
ModerateMembers: 1n << 40n,
|
||||
/**
|
||||
* Allows for viewing role subscription insights
|
||||
*/
|
||||
ViewCreatorMonetizationAnalytics: 1n << 41n,
|
||||
/**
|
||||
* Allows for using soundboard in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
UseSoundboard: 1n << 42n,
|
||||
/**
|
||||
* @unstable This permission flag is currently not documented by Discord but has a known value which we will try to keep up to date.
|
||||
*/
|
||||
UseExternalSounds: 1n << 45n,
|
||||
/**
|
||||
* Allows sending voice messages
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
SendVoiceMessages: 1n << 46n,
|
||||
} as const;
|
||||
|
||||
/**
|
||||
|
||||
@@ -807,7 +807,7 @@ export enum MessageFlags {
|
||||
*/
|
||||
SuppressNotifications = 1 << 12,
|
||||
/**
|
||||
* @unstable This message flag is currently not documented by Discord but has a known value which we will try to keep up to date.
|
||||
* This message is a voice message
|
||||
*/
|
||||
IsVoiceMessage = 1 << 13,
|
||||
}
|
||||
@@ -1321,6 +1321,14 @@ export interface APIAttachment {
|
||||
* Whether this attachment is ephemeral
|
||||
*/
|
||||
ephemeral?: boolean;
|
||||
/**
|
||||
* The duration of the audio file (currently for voice messages)
|
||||
*/
|
||||
duration_secs?: number;
|
||||
/**
|
||||
* Base64 encoded bytearray representing a sampled waveform (currently for voice messages)
|
||||
*/
|
||||
waveform?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -235,6 +235,10 @@ export interface APIGuild extends APIPartialGuild {
|
||||
* The maximum amount of users in a video channel
|
||||
*/
|
||||
max_video_channel_users?: number;
|
||||
/**
|
||||
* The maximum amount of users in a stage video channel
|
||||
*/
|
||||
max_stage_video_channel_users?: number;
|
||||
/**
|
||||
* Approximate number of members in this guild,
|
||||
* returned from the `GET /guilds/<id>` and `/users/@me/guilds` (OAuth2) endpoints when `with_counts` is `true`
|
||||
|
||||
@@ -793,7 +793,7 @@ export enum MessageFlags {
|
||||
*/
|
||||
SuppressNotifications = 1 << 12,
|
||||
/**
|
||||
* @unstable This message flag is currently not documented by Discord but has a known value which we will try to keep up to date.
|
||||
* This message is a voice message
|
||||
*/
|
||||
IsVoiceMessage = 1 << 13,
|
||||
}
|
||||
@@ -1289,6 +1289,14 @@ export interface APIAttachment {
|
||||
* Whether this attachment is ephemeral
|
||||
*/
|
||||
ephemeral?: boolean;
|
||||
/**
|
||||
* The duration of the audio file (currently for voice messages)
|
||||
*/
|
||||
duration_secs?: number;
|
||||
/**
|
||||
* Base64 encoded bytearray representing a sampled waveform (currently for voice messages)
|
||||
*/
|
||||
waveform?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -235,6 +235,10 @@ export interface APIGuild extends APIPartialGuild {
|
||||
* The maximum amount of users in a video channel
|
||||
*/
|
||||
max_video_channel_users?: number;
|
||||
/**
|
||||
* The maximum amount of users in a stage video channel
|
||||
*/
|
||||
max_stage_video_channel_users?: number;
|
||||
/**
|
||||
* Approximate number of members in this guild,
|
||||
* returned from the `GET /guilds/<id>` and `/users/@me/guilds` (OAuth2) endpoints when `with_counts` is `true`
|
||||
|
||||
@@ -232,7 +232,13 @@ export enum RESTJSONErrorCodes {
|
||||
CannotConvertBetweenPremiumEmojiAndNormalEmoji,
|
||||
UploadedFileNotFound,
|
||||
|
||||
CannotDeleteGuildSubscriptionIntegration = 50163,
|
||||
VoiceMessagesDoNotSupportAdditionalContent = 50159,
|
||||
VoiceMessagesMustHaveASingleAudioAttachment,
|
||||
VoiceMessagesMustHaveSupportingMetadata,
|
||||
VoiceMessagesCannotBeEdited,
|
||||
CannotDeleteGuildSubscriptionIntegration,
|
||||
|
||||
YouCannotSendVoiceMessagesInThisChannel = 50173,
|
||||
|
||||
YouDoNotHavePermissionToSendThisSticker = 50600,
|
||||
|
||||
|
||||
@@ -608,7 +608,7 @@ export interface RESTPostAPIChannelMessagesThreadsJSONBody {
|
||||
*
|
||||
* The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings.
|
||||
*/
|
||||
auto_archive_duration: ThreadAutoArchiveDuration;
|
||||
auto_archive_duration?: ThreadAutoArchiveDuration | undefined;
|
||||
/**
|
||||
* Amount of seconds a user has to wait before sending another message (0-21600)
|
||||
*/
|
||||
|
||||
@@ -622,7 +622,7 @@ export interface RESTPostAPIChannelMessagesThreadsJSONBody {
|
||||
*
|
||||
* The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings.
|
||||
*/
|
||||
auto_archive_duration: ThreadAutoArchiveDuration;
|
||||
auto_archive_duration?: ThreadAutoArchiveDuration | undefined;
|
||||
/**
|
||||
* Amount of seconds a user has to wait before sending another message (0-21600)
|
||||
*/
|
||||
|
||||
@@ -975,6 +975,11 @@ export type GatewayGuildMembersChunkDispatch = DataPayload<
|
||||
GatewayGuildMembersChunkDispatchData
|
||||
>;
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/topics/gateway-events#update-presence
|
||||
*/
|
||||
export type GatewayGuildMembersChunkPresence = Omit<RawGatewayPresenceUpdate, 'guild_id'>;
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/topics/gateway-events#guild-members-chunk
|
||||
*/
|
||||
@@ -1006,7 +1011,7 @@ export interface GatewayGuildMembersChunkDispatchData {
|
||||
*
|
||||
* See https://discord.com/developers/docs/topics/gateway-events#update-presence
|
||||
*/
|
||||
presences?: RawGatewayPresenceUpdate[];
|
||||
presences?: GatewayGuildMembersChunkPresence[];
|
||||
/**
|
||||
* The nonce used in the Guild Members Request
|
||||
*
|
||||
|
||||
@@ -974,6 +974,11 @@ export type GatewayGuildMembersChunkDispatch = DataPayload<
|
||||
GatewayGuildMembersChunkDispatchData
|
||||
>;
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/topics/gateway-events#update-presence
|
||||
*/
|
||||
export type GatewayGuildMembersChunkPresence = Omit<RawGatewayPresenceUpdate, 'guild_id'>;
|
||||
|
||||
/**
|
||||
* https://discord.com/developers/docs/topics/gateway-events#guild-members-chunk
|
||||
*/
|
||||
@@ -1005,7 +1010,7 @@ export interface GatewayGuildMembersChunkDispatchData {
|
||||
*
|
||||
* See https://discord.com/developers/docs/topics/gateway-events#update-presence
|
||||
*/
|
||||
presences?: RawGatewayPresenceUpdate[];
|
||||
presences?: GatewayGuildMembersChunkPresence[];
|
||||
/**
|
||||
* The nonce used in the Guild Members Request
|
||||
*
|
||||
|
||||
751
package-lock.json
generated
751
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
72
package.json
72
package.json
@@ -1,93 +1,93 @@
|
||||
{
|
||||
"name": "discord-api-types",
|
||||
"version": "0.37.38",
|
||||
"version": "0.37.41",
|
||||
"description": "Discord API typings that are kept up to date for use in bot library creation.",
|
||||
"homepage": "https://discord-api-types.dev",
|
||||
"exports": {
|
||||
"./globals": {
|
||||
"types": "./globals.d.ts",
|
||||
"require": "./globals.js",
|
||||
"import": "./globals.mjs",
|
||||
"types": "./globals.d.ts"
|
||||
"import": "./globals.mjs"
|
||||
},
|
||||
"./v6": {
|
||||
"types": "./v6.d.ts",
|
||||
"require": "./v6.js",
|
||||
"import": "./v6.mjs",
|
||||
"types": "./v6.d.ts"
|
||||
"import": "./v6.mjs"
|
||||
},
|
||||
"./v8": {
|
||||
"types": "./v8.d.ts",
|
||||
"require": "./v8.js",
|
||||
"import": "./v8.mjs",
|
||||
"types": "./v8.d.ts"
|
||||
"import": "./v8.mjs"
|
||||
},
|
||||
"./v9": {
|
||||
"types": "./v9.d.ts",
|
||||
"require": "./v9.js",
|
||||
"import": "./v9.mjs",
|
||||
"types": "./v9.d.ts"
|
||||
"import": "./v9.mjs"
|
||||
},
|
||||
"./v10": {
|
||||
"types": "./v10.d.ts",
|
||||
"require": "./v10.js",
|
||||
"import": "./v10.mjs",
|
||||
"types": "./v10.d.ts"
|
||||
"import": "./v10.mjs"
|
||||
},
|
||||
"./gateway": {
|
||||
"types": "./gateway/index.d.ts",
|
||||
"require": "./gateway/index.js",
|
||||
"import": "./gateway/index.mjs",
|
||||
"types": "./gateway/index.d.ts"
|
||||
"import": "./gateway/index.mjs"
|
||||
},
|
||||
"./gateway/v*": {
|
||||
"types": "./gateway/v*.d.ts",
|
||||
"require": "./gateway/v*.js",
|
||||
"import": "./gateway/v*.mjs",
|
||||
"types": "./gateway/v*.d.ts"
|
||||
"import": "./gateway/v*.mjs"
|
||||
},
|
||||
"./payloads": {
|
||||
"types": "./payloads/index.d.ts",
|
||||
"require": "./payloads/index.js",
|
||||
"import": "./payloads/index.mjs",
|
||||
"types": "./payloads/index.d.ts"
|
||||
"import": "./payloads/index.mjs"
|
||||
},
|
||||
"./payloads/v*": {
|
||||
"types": "./payloads/v*/index.d.ts",
|
||||
"require": "./payloads/v*/index.js",
|
||||
"import": "./payloads/v*/index.mjs",
|
||||
"types": "./payloads/v*/index.d.ts"
|
||||
"import": "./payloads/v*/index.mjs"
|
||||
},
|
||||
"./rest": {
|
||||
"types": "./rest/index.d.ts",
|
||||
"require": "./rest/index.js",
|
||||
"import": "./rest/index.mjs",
|
||||
"types": "./rest/index.d.ts"
|
||||
"import": "./rest/index.mjs"
|
||||
},
|
||||
"./rest/v*": {
|
||||
"types": "./rest/v*/index.d.ts",
|
||||
"require": "./rest/v*/index.js",
|
||||
"import": "./rest/v*/index.mjs",
|
||||
"types": "./rest/v*/index.d.ts"
|
||||
"import": "./rest/v*/index.mjs"
|
||||
},
|
||||
"./rpc": {
|
||||
"types": "./rpc/index.d.ts",
|
||||
"require": "./rpc/index.js",
|
||||
"import": "./rpc/index.mjs",
|
||||
"types": "./rpc/index.d.ts"
|
||||
"import": "./rpc/index.mjs"
|
||||
},
|
||||
"./rpc/v*": {
|
||||
"types": "./rpc/v*.d.ts",
|
||||
"require": "./rpc/v*.js",
|
||||
"import": "./rpc/v*.mjs",
|
||||
"types": "./rpc/v*.d.ts"
|
||||
"import": "./rpc/v*.mjs"
|
||||
},
|
||||
"./voice": {
|
||||
"types": "./voice/index.d.ts",
|
||||
"require": "./voice/index.js",
|
||||
"import": "./voice/index.mjs",
|
||||
"types": "./voice/index.d.ts"
|
||||
"import": "./voice/index.mjs"
|
||||
},
|
||||
"./voice/v*": {
|
||||
"types": "./voice/v*.d.ts",
|
||||
"require": "./voice/v*.js",
|
||||
"import": "./voice/v*.mjs",
|
||||
"types": "./voice/v*.d.ts"
|
||||
"import": "./voice/v*.mjs"
|
||||
},
|
||||
"./utils": {
|
||||
"types": "./utils/index.d.ts",
|
||||
"require": "./utils/index.js",
|
||||
"import": "./utils/index.mjs",
|
||||
"types": "./utils/index.d.ts"
|
||||
"import": "./utils/index.mjs"
|
||||
},
|
||||
"./utils/v*": {
|
||||
"types": "./utils/v*.d.ts",
|
||||
"require": "./utils/v*.js",
|
||||
"import": "./utils/v*.mjs",
|
||||
"types": "./utils/v*.d.ts"
|
||||
"import": "./utils/v*.mjs"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
@@ -155,7 +155,7 @@
|
||||
"gen-esm-wrapper": "^1.1.3",
|
||||
"husky": "^8.0.1",
|
||||
"is-ci": "^3.0.1",
|
||||
"lint-staged": "^12.4.1",
|
||||
"lint-staged": "^13.2.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.6.2",
|
||||
"pretty-quick": "^3.1.3",
|
||||
|
||||
@@ -8,47 +8,261 @@ import type { LocaleString } from '../rest/common';
|
||||
* replicate them in some way
|
||||
*/
|
||||
export const PermissionFlagsBits = {
|
||||
/**
|
||||
* Allows creation of instant invites
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
CreateInstantInvite: 1n << 0n,
|
||||
/**
|
||||
* Allows kicking members
|
||||
*/
|
||||
KickMembers: 1n << 1n,
|
||||
/**
|
||||
* Allows banning members
|
||||
*/
|
||||
BanMembers: 1n << 2n,
|
||||
/**
|
||||
* Allows all permissions and bypasses channel permission overwrites
|
||||
*/
|
||||
Administrator: 1n << 3n,
|
||||
/**
|
||||
* Allows management and editing of channels
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ManageChannels: 1n << 4n,
|
||||
/**
|
||||
* Allows management and editing of the guild
|
||||
*/
|
||||
ManageGuild: 1n << 5n,
|
||||
/**
|
||||
* Allows for the addition of reactions to messages
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
AddReactions: 1n << 6n,
|
||||
/**
|
||||
* Allows for viewing of audit logs
|
||||
*/
|
||||
ViewAuditLog: 1n << 7n,
|
||||
/**
|
||||
* Allows for using priority speaker in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
PrioritySpeaker: 1n << 8n,
|
||||
/**
|
||||
* Allows the user to go live
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
Stream: 1n << 9n,
|
||||
/**
|
||||
* Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ViewChannel: 1n << 10n,
|
||||
/**
|
||||
* Allows for sending messages in a channel and creating threads in a forum
|
||||
* (does not allow sending messages in threads)
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
SendMessages: 1n << 11n,
|
||||
/**
|
||||
* Allows for sending of `/tts` messages
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
SendTTSMessages: 1n << 12n,
|
||||
/**
|
||||
* Allows for deletion of other users messages
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ManageMessages: 1n << 13n,
|
||||
/**
|
||||
* Links sent by users with this permission will be auto-embedded
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
EmbedLinks: 1n << 14n,
|
||||
/**
|
||||
* Allows for uploading images and files
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
AttachFiles: 1n << 15n,
|
||||
/**
|
||||
* Allows for reading of message history
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ReadMessageHistory: 1n << 16n,
|
||||
/**
|
||||
* Allows for using the `@everyone` tag to notify all users in a channel,
|
||||
* and the `@here` tag to notify all online users in a channel
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
MentionEveryone: 1n << 17n,
|
||||
/**
|
||||
* Allows the usage of custom emojis from other servers
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
UseExternalEmojis: 1n << 18n,
|
||||
/**
|
||||
* Allows for viewing guild insights
|
||||
*/
|
||||
ViewGuildInsights: 1n << 19n,
|
||||
/**
|
||||
* Allows for joining of a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
Connect: 1n << 20n,
|
||||
/**
|
||||
* Allows for speaking in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
Speak: 1n << 21n,
|
||||
/**
|
||||
* Allows for muting members in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
MuteMembers: 1n << 22n,
|
||||
/**
|
||||
* Allows for deafening of members in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
DeafenMembers: 1n << 23n,
|
||||
/**
|
||||
* Allows for moving of members between voice channels
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
MoveMembers: 1n << 24n,
|
||||
/**
|
||||
* Allows for using voice-activity-detection in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
UseVAD: 1n << 25n,
|
||||
/**
|
||||
* Allows for modification of own nickname
|
||||
*/
|
||||
ChangeNickname: 1n << 26n,
|
||||
/**
|
||||
* Allows for modification of other users nicknames
|
||||
*/
|
||||
ManageNicknames: 1n << 27n,
|
||||
/**
|
||||
* Allows management and editing of roles
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ManageRoles: 1n << 28n,
|
||||
/**
|
||||
* Allows management and editing of webhooks
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
ManageWebhooks: 1n << 29n,
|
||||
/**
|
||||
* Allows management and editing of emojis, stickers, and soundboard sounds
|
||||
*
|
||||
* @deprecated This is the old name for {@apilink PermissionFlagsBits#ManageGuildExpressions}
|
||||
*/
|
||||
ManageEmojisAndStickers: 1n << 30n,
|
||||
/**
|
||||
* Allows management and editing of emojis, stickers, and soundboard sounds
|
||||
*/
|
||||
ManageGuildExpressions: 1n << 30n,
|
||||
/**
|
||||
* Allows members to use application commands, including slash commands and context menu commands
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
UseApplicationCommands: 1n << 31n,
|
||||
/**
|
||||
* Allows for requesting to speak in stage channels
|
||||
*
|
||||
* Applies to channel types: Stage
|
||||
*/
|
||||
RequestToSpeak: 1n << 32n,
|
||||
/**
|
||||
* Allows for creating, editing, and deleting scheduled events
|
||||
*
|
||||
* Applies to channel types: Voice, Stage
|
||||
*/
|
||||
ManageEvents: 1n << 33n,
|
||||
/**
|
||||
* Allows for deleting and archiving threads, and viewing all private threads
|
||||
*
|
||||
* Applies to channel types: Text
|
||||
*/
|
||||
ManageThreads: 1n << 34n,
|
||||
/**
|
||||
* Allows for creating public and announcement threads
|
||||
*
|
||||
* Applies to channel types: Text
|
||||
*/
|
||||
CreatePublicThreads: 1n << 35n,
|
||||
/**
|
||||
* Allows for creating private threads
|
||||
*
|
||||
* Applies to channel types: Text
|
||||
*/
|
||||
CreatePrivateThreads: 1n << 36n,
|
||||
/**
|
||||
* Allows the usage of custom stickers from other servers
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
UseExternalStickers: 1n << 37n,
|
||||
/**
|
||||
* Allows for sending messages in threads
|
||||
*
|
||||
* Applies to channel types: Text
|
||||
*/
|
||||
SendMessagesInThreads: 1n << 38n,
|
||||
/**
|
||||
* Allows for using Activities (applications with the {@apilink ApplicationFlags.Embedded} flag) in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
UseEmbeddedActivities: 1n << 39n,
|
||||
/**
|
||||
* Allows for timing out users to prevent them from sending or reacting to messages in chat and threads,
|
||||
* and from speaking in voice and stage channels
|
||||
*/
|
||||
ModerateMembers: 1n << 40n,
|
||||
/**
|
||||
* Allows for viewing role subscription insights
|
||||
*/
|
||||
ViewCreatorMonetizationAnalytics: 1n << 41n,
|
||||
/**
|
||||
* Allows for using soundboard in a voice channel
|
||||
*
|
||||
* Applies to channel types: Voice
|
||||
*/
|
||||
UseSoundboard: 1n << 42n,
|
||||
/**
|
||||
* @unstable This permission flag is currently not documented by Discord but has a known value which we will try to keep up to date.
|
||||
*/
|
||||
UseExternalSounds: 1n << 45n,
|
||||
/**
|
||||
* Allows sending voice messages
|
||||
*
|
||||
* Applies to channel types: Text, Voice, Stage
|
||||
*/
|
||||
SendVoiceMessages: 1n << 46n,
|
||||
} as const;
|
||||
|
||||
/**
|
||||
|
||||
@@ -807,7 +807,7 @@ export enum MessageFlags {
|
||||
*/
|
||||
SuppressNotifications = 1 << 12,
|
||||
/**
|
||||
* @unstable This message flag is currently not documented by Discord but has a known value which we will try to keep up to date.
|
||||
* This message is a voice message
|
||||
*/
|
||||
IsVoiceMessage = 1 << 13,
|
||||
}
|
||||
@@ -1321,6 +1321,14 @@ export interface APIAttachment {
|
||||
* Whether this attachment is ephemeral
|
||||
*/
|
||||
ephemeral?: boolean;
|
||||
/**
|
||||
* The duration of the audio file (currently for voice messages)
|
||||
*/
|
||||
duration_secs?: number;
|
||||
/**
|
||||
* Base64 encoded bytearray representing a sampled waveform (currently for voice messages)
|
||||
*/
|
||||
waveform?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -235,6 +235,10 @@ export interface APIGuild extends APIPartialGuild {
|
||||
* The maximum amount of users in a video channel
|
||||
*/
|
||||
max_video_channel_users?: number;
|
||||
/**
|
||||
* The maximum amount of users in a stage video channel
|
||||
*/
|
||||
max_stage_video_channel_users?: number;
|
||||
/**
|
||||
* Approximate number of members in this guild,
|
||||
* returned from the `GET /guilds/<id>` and `/users/@me/guilds` (OAuth2) endpoints when `with_counts` is `true`
|
||||
|
||||
@@ -793,7 +793,7 @@ export enum MessageFlags {
|
||||
*/
|
||||
SuppressNotifications = 1 << 12,
|
||||
/**
|
||||
* @unstable This message flag is currently not documented by Discord but has a known value which we will try to keep up to date.
|
||||
* This message is a voice message
|
||||
*/
|
||||
IsVoiceMessage = 1 << 13,
|
||||
}
|
||||
@@ -1289,6 +1289,14 @@ export interface APIAttachment {
|
||||
* Whether this attachment is ephemeral
|
||||
*/
|
||||
ephemeral?: boolean;
|
||||
/**
|
||||
* The duration of the audio file (currently for voice messages)
|
||||
*/
|
||||
duration_secs?: number;
|
||||
/**
|
||||
* Base64 encoded bytearray representing a sampled waveform (currently for voice messages)
|
||||
*/
|
||||
waveform?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -235,6 +235,10 @@ export interface APIGuild extends APIPartialGuild {
|
||||
* The maximum amount of users in a video channel
|
||||
*/
|
||||
max_video_channel_users?: number;
|
||||
/**
|
||||
* The maximum amount of users in a stage video channel
|
||||
*/
|
||||
max_stage_video_channel_users?: number;
|
||||
/**
|
||||
* Approximate number of members in this guild,
|
||||
* returned from the `GET /guilds/<id>` and `/users/@me/guilds` (OAuth2) endpoints when `with_counts` is `true`
|
||||
|
||||
@@ -232,7 +232,13 @@ export enum RESTJSONErrorCodes {
|
||||
CannotConvertBetweenPremiumEmojiAndNormalEmoji,
|
||||
UploadedFileNotFound,
|
||||
|
||||
CannotDeleteGuildSubscriptionIntegration = 50163,
|
||||
VoiceMessagesDoNotSupportAdditionalContent = 50159,
|
||||
VoiceMessagesMustHaveASingleAudioAttachment,
|
||||
VoiceMessagesMustHaveSupportingMetadata,
|
||||
VoiceMessagesCannotBeEdited,
|
||||
CannotDeleteGuildSubscriptionIntegration,
|
||||
|
||||
YouCannotSendVoiceMessagesInThisChannel = 50173,
|
||||
|
||||
YouDoNotHavePermissionToSendThisSticker = 50600,
|
||||
|
||||
|
||||
@@ -608,7 +608,7 @@ export interface RESTPostAPIChannelMessagesThreadsJSONBody {
|
||||
*
|
||||
* The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings.
|
||||
*/
|
||||
auto_archive_duration: ThreadAutoArchiveDuration;
|
||||
auto_archive_duration?: ThreadAutoArchiveDuration | undefined;
|
||||
/**
|
||||
* Amount of seconds a user has to wait before sending another message (0-21600)
|
||||
*/
|
||||
|
||||
@@ -622,7 +622,7 @@ export interface RESTPostAPIChannelMessagesThreadsJSONBody {
|
||||
*
|
||||
* The 3 day and 7 day archive durations require the server to be boosted. The [guild features](https://discord.com/developers/docs/resources/guild#guild-object-guild-features) will indicate if a server is able to use those settings.
|
||||
*/
|
||||
auto_archive_duration: ThreadAutoArchiveDuration;
|
||||
auto_archive_duration?: ThreadAutoArchiveDuration | undefined;
|
||||
/**
|
||||
* Amount of seconds a user has to wait before sending another message (0-21600)
|
||||
*/
|
||||
|
||||
12
website/package-lock.json
generated
12
website/package-lock.json
generated
@@ -8263,9 +8263,9 @@
|
||||
"integrity": "sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg=="
|
||||
},
|
||||
"node_modules/dns-packet": {
|
||||
"version": "5.3.1",
|
||||
"resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.3.1.tgz",
|
||||
"integrity": "sha512-spBwIj0TK0Ey3666GwIdWVfUpLyubpU53BTCu8iPn4r4oXd9O14Hjg3EHw3ts2oed77/SeckunUYCyRlSngqHw==",
|
||||
"version": "5.4.0",
|
||||
"resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.4.0.tgz",
|
||||
"integrity": "sha512-EgqGeaBB8hLiHLZtp/IbaDQTL8pZ0+IvwzSHA6d7VyMDM+B9hgddEMa9xjK5oYnw0ci0JQ6g2XCD7/f6cafU6g==",
|
||||
"dependencies": {
|
||||
"@leichtgewicht/ip-codec": "^2.0.1"
|
||||
},
|
||||
@@ -24962,9 +24962,9 @@
|
||||
"integrity": "sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg=="
|
||||
},
|
||||
"dns-packet": {
|
||||
"version": "5.3.1",
|
||||
"resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.3.1.tgz",
|
||||
"integrity": "sha512-spBwIj0TK0Ey3666GwIdWVfUpLyubpU53BTCu8iPn4r4oXd9O14Hjg3EHw3ts2oed77/SeckunUYCyRlSngqHw==",
|
||||
"version": "5.4.0",
|
||||
"resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.4.0.tgz",
|
||||
"integrity": "sha512-EgqGeaBB8hLiHLZtp/IbaDQTL8pZ0+IvwzSHA6d7VyMDM+B9hgddEMa9xjK5oYnw0ci0JQ6g2XCD7/f6cafU6g==",
|
||||
"requires": {
|
||||
"@leichtgewicht/ip-codec": "^2.0.1"
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
[{"entryPoints":{"globals":{"path":"globals.ts","label":"Global Types"},"gateway/common":{"path":"gateway/common.ts","label":"Gateway - Common Types"},"payloads/common":{"path":"payloads/common.ts","label":"Payloads - Common Types"},"rest/common":{"path":"rest/common.ts","label":"REST - Common Types"},"rpc/common":{"path":"rpc/common.ts","label":"RPC - Common Types"},"v6":{"path":"v6.ts","label":"API v6 - Deprecated"},"v8":{"path":"v8.ts","label":"API v8 - Deprecated"},"v9":{"path":"v9.ts","label":"API v9"},"v10":{"path":"v10.ts","label":"API v10"},"rpc/v8":{"path":"rpc/v8.ts","label":"RPC v8"},"rpc/v9":{"path":"rpc/v9.ts","label":"RPC v9"},"rpc/v10":{"path":"rpc/v10.ts","label":"RPC v10"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"utils/v8":{"path":"utils/v8.ts","label":"Utils v8"},"utils/v9":{"path":"utils/v9.ts","label":"Utils v9"},"utils/v10":{"path":"utils/v10.ts","label":"Utils v10"}},"packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.37.37"}]
|
||||
[{"entryPoints":{"globals":{"path":"globals.ts","label":"Global Types"},"gateway/common":{"path":"gateway/common.ts","label":"Gateway - Common Types"},"payloads/common":{"path":"payloads/common.ts","label":"Payloads - Common Types"},"rest/common":{"path":"rest/common.ts","label":"REST - Common Types"},"rpc/common":{"path":"rpc/common.ts","label":"RPC - Common Types"},"v6":{"path":"v6.ts","label":"API v6 - Deprecated"},"v8":{"path":"v8.ts","label":"API v8 - Deprecated"},"v9":{"path":"v9.ts","label":"API v9"},"v10":{"path":"v10.ts","label":"API v10"},"rpc/v8":{"path":"rpc/v8.ts","label":"RPC v8"},"rpc/v9":{"path":"rpc/v9.ts","label":"RPC v9"},"rpc/v10":{"path":"rpc/v10.ts","label":"RPC v10"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"utils/v8":{"path":"utils/v8.ts","label":"Utils v8"},"utils/v9":{"path":"utils/v9.ts","label":"Utils v9"},"utils/v10":{"path":"utils/v10.ts","label":"Utils v10"}},"packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.37.40"}]
|
||||
1
website/versioned_docs/version-0.37.40/api-typedoc.json
Normal file
1
website/versioned_docs/version-0.37.40/api-typedoc.json
Normal file
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 126 KiB |
@@ -1 +1 @@
|
||||
[{"entryPoints":{"globals":{"path":"globals.ts","label":"Global Types"},"gateway/common":{"path":"gateway/common.ts","label":"Gateway - Common Types"},"payloads/common":{"path":"payloads/common.ts","label":"Payloads - Common Types"},"rest/common":{"path":"rest/common.ts","label":"REST - Common Types"},"rpc/common":{"path":"rpc/common.ts","label":"RPC - Common Types"},"v6":{"path":"v6.ts","label":"API v6 - Deprecated"},"v8":{"path":"v8.ts","label":"API v8 - Deprecated"},"v9":{"path":"v9.ts","label":"API v9"},"v10":{"path":"v10.ts","label":"API v10"},"rpc/v8":{"path":"rpc/v8.ts","label":"RPC v8"},"rpc/v9":{"path":"rpc/v9.ts","label":"RPC v9"},"rpc/v10":{"path":"rpc/v10.ts","label":"RPC v10"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"utils/v8":{"path":"utils/v8.ts","label":"Utils v8"},"utils/v9":{"path":"utils/v9.ts","label":"Utils v9"},"utils/v10":{"path":"utils/v10.ts","label":"Utils v10"}},"packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.37.38"}]
|
||||
[{"entryPoints":{"globals":{"path":"globals.ts","label":"Global Types"},"gateway/common":{"path":"gateway/common.ts","label":"Gateway - Common Types"},"payloads/common":{"path":"payloads/common.ts","label":"Payloads - Common Types"},"rest/common":{"path":"rest/common.ts","label":"REST - Common Types"},"rpc/common":{"path":"rpc/common.ts","label":"RPC - Common Types"},"v6":{"path":"v6.ts","label":"API v6 - Deprecated"},"v8":{"path":"v8.ts","label":"API v8 - Deprecated"},"v9":{"path":"v9.ts","label":"API v9"},"v10":{"path":"v10.ts","label":"API v10"},"rpc/v8":{"path":"rpc/v8.ts","label":"RPC v8"},"rpc/v9":{"path":"rpc/v9.ts","label":"RPC v9"},"rpc/v10":{"path":"rpc/v10.ts","label":"RPC v10"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"utils/v8":{"path":"utils/v8.ts","label":"Utils v8"},"utils/v9":{"path":"utils/v9.ts","label":"Utils v9"},"utils/v10":{"path":"utils/v10.ts","label":"Utils v10"}},"packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.37.41"}]
|
||||
1
website/versioned_docs/version-0.37.41/api-typedoc.json
Normal file
1
website/versioned_docs/version-0.37.41/api-typedoc.json
Normal file
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 126 KiB |
@@ -1,4 +1,4 @@
|
||||
[
|
||||
"0.37.38",
|
||||
"0.37.37"
|
||||
"0.37.41",
|
||||
"0.37.40"
|
||||
]
|
||||
Reference in New Issue
Block a user