Skip to main content
Version: 0.37.35

discord-api-types/v8

Index

Enumerations

Interfaces

References

Type Aliases

Variables

References

FormattingPatterns

GatewayURLQuery

Re-exports GatewayURLQuery

Locale

Re-exports Locale

LocaleString

Re-exports LocaleString

LocalizationMap

Re-exports LocalizationMap

PermissionFlagsBits

RESTError

Re-exports RESTError

RESTErrorData

Re-exports RESTErrorData

RESTErrorFieldInformation

RESTErrorGroupWrapper

RESTJSONErrorCodes

RESTRateLimit

Re-exports RESTRateLimit

RPCCloseEventCodes

RPCErrorCodes

Re-exports RPCErrorCodes

Snowflake

Re-exports Snowflake

Utils

Renames and re-exports discord-api-types/utils/v8

Type Aliases

APIActionRowComponentTypes

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandAttachmentOption

APIApplicationCommandAttachmentOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.Attachment>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandAutocompleteDMInteraction

APIApplicationCommandAutocompleteDMInteraction: APIDMInteractionWrapper<APIApplicationCommandAutocompleteInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandAutocompleteGuildInteraction

APIApplicationCommandAutocompleteGuildInteraction: APIGuildInteractionWrapper<APIApplicationCommandAutocompleteInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandAutocompleteInteraction

APIApplicationCommandAutocompleteInteraction: APIBaseInteraction<InteractionType.ApplicationCommandAutocomplete, APIChatInputApplicationCommandInteractionData> & Required<Pick<APIBaseInteraction<InteractionType.ApplicationCommandAutocomplete, Required<Pick<APIChatInputApplicationCommandInteractionData, options>>>, data>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandBasicOption

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandBooleanOption

APIApplicationCommandBooleanOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.Boolean>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandDMInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandGuildInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandIntegerOption

APIApplicationCommandIntegerOption: APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<APIApplicationCommandIntegerOptionBase, APIApplicationCommandOptionChoice<number>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionData

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionDataAttachmentOption

APIApplicationCommandInteractionDataAttachmentOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Attachment, Snowflake>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionDataBasicOption

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionDataBooleanOption

APIApplicationCommandInteractionDataBooleanOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Boolean, boolean>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionDataChannelOption

APIApplicationCommandInteractionDataChannelOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Channel, Snowflake>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionDataMentionableOption

APIApplicationCommandInteractionDataMentionableOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Mentionable, Snowflake>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionDataOption

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionDataRoleOption

APIApplicationCommandInteractionDataRoleOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Role, Snowflake>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionDataUserOption

APIApplicationCommandInteractionDataUserOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.User, Snowflake>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandInteractionWrapper

APIApplicationCommandInteractionWrapper<Data>: APIBaseInteraction<InteractionType.ApplicationCommand, Data> & Required<Pick<APIBaseInteraction<InteractionType.ApplicationCommand, Data>, channel_id | data>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.


APIApplicationCommandMentionableOption

APIApplicationCommandMentionableOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.Mentionable>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandNumberOption

APIApplicationCommandNumberOption: APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<APIApplicationCommandNumberOptionBase, APIApplicationCommandOptionChoice<number>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandOption

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandRoleOption

APIApplicationCommandRoleOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.Role>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandStringOption

APIApplicationCommandStringOption: APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<APIApplicationCommandOptionBase<ApplicationCommandOptionType.String>, APIApplicationCommandOptionChoice<string>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIApplicationCommandUserOption

APIApplicationCommandUserOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.User>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChange

APIAuditLogChange: APIAuditLogChangeKeyName | APIAuditLogChangeKeyDescription | APIAuditLogChangeKeyIconHash | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyDiscoverySplashHash | APIAuditLogChangeKeyBannerHash | APIAuditLogChangeKeyOwnerId | APIAuditLogChangeKeyRegion | APIAuditLogChangeKeyPreferredLocale | APIAuditLogChangeKeyAFKChannelId | APIAuditLogChangeKeyAFKTimeout | APIAuditLogChangeKeyRulesChannelId | APIAuditLogChangeKeyPublicUpdatesChannelId | APIAuditLogChangeKeyMFALevel | APIAuditLogChangeKeyVerificationLevel | APIAuditLogChangeKeyExplicitContentFilter | APIAuditLogChangeKeyDefaultMessageNotifications | APIAuditLogChangeKeyVanityURLCode | APIAuditLogChangeKey$Add | APIAuditLogChangeKey$Remove | APIAuditLogChangeKeyPruneDeleteDays | APIAuditLogChangeKeyWidgetEnabled | APIAuditLogChangeKeyWidgetChannelId | APIAuditLogChangeKeySystemChannelId | APIAuditLogChangeKeyPosition | APIAuditLogChangeKeyTopic | APIAuditLogChangeKeyBitrate | APIAuditLogChangeKeyPermissionOverwrites | APIAuditLogChangeKeyNSFW | APIAuditLogChangeKeyApplicationId | APIAuditLogChangeKeyRateLimitPerUser | APIAuditLogChangeKeyPermissions | APIAuditLogChangeKeyColor | APIAuditLogChangeKeyHoist | APIAuditLogChangeKeyMentionable | APIAuditLogChangeKeyAllow | APIAuditLogChangeKeyDeny | APIAuditLogChangeKeyCode | APIAuditLogChangeKeyChannelId | APIAuditLogChangeKeyInviterId | APIAuditLogChangeKeyMaxUses | APIAuditLogChangeKeyUses | APIAuditLogChangeKeyMaxAge | APIAuditLogChangeKeyTemporary | APIAuditLogChangeKeyDeaf | APIAuditLogChangeKeyMute | APIAuditLogChangeKeyNick | APIAuditLogChangeKeyAvatarHash | APIAuditLogChangeKeyId | APIAuditLogChangeKeyType | APIAuditLogChangeKeyEnableEmoticons | APIAuditLogChangeKeyExpireBehavior | APIAuditLogChangeKeyExpireGracePeriod | APIAuditLogChangeKeyUserLimit | APIAuditLogChangeKeyPrivacyLevel | APIAuditLogChangeKeyTags | APIAuditLogChangeKeyFormatType | APIAuditLogChangeKeyAsset | APIAuditLogChangeKeyAvailable | APIAuditLogChangeKeyGuildId | APIAuditLogChangeKeyEntityType | APIAuditLogChangeKeyStatus | APIAuditLogChangeKeyLocation | APIAuditLogChangeKeyCommunicationDisabledUntil
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKey$Add

APIAuditLogChangeKey$Add: AuditLogChangeData<$add, APIRole[]>

Returned when new role(s) are added

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKey$Remove

APIAuditLogChangeKey$Remove: AuditLogChangeData<$remove, APIRole[]>

Returned when role(s) are removed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyAFKChannelId

APIAuditLogChangeKeyAFKChannelId: AuditLogChangeData<afk_channel_id, Snowflake>

Returned when a guild’s afk_channel_id is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyAFKTimeout

APIAuditLogChangeKeyAFKTimeout: AuditLogChangeData<afk_timeout, number>

Returned when a guild’s afk_timeout is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyAllow

APIAuditLogChangeKeyAllow: AuditLogChangeData<allow, string>

Returned when an overwrite’s allowed permissions bitfield is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyApplicationId

APIAuditLogChangeKeyApplicationId: AuditLogChangeData<application_id, Snowflake>

The application ID of the added or removed Webhook or Bot

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyAsset

APIAuditLogChangeKeyAsset: AuditLogChangeData<asset, >

Empty string

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyAvailable

APIAuditLogChangeKeyAvailable: AuditLogChangeData<available, boolean>

Returned when a sticker’s availability is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyAvatarHash

APIAuditLogChangeKeyAvatarHash: AuditLogChangeData<avatar_hash, string>

Returned when a user’s avatar_hash is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyBannerHash

APIAuditLogChangeKeyBannerHash: AuditLogChangeData<banner_hash, string>

Returned when a guild’s banner hash is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyBitrate

APIAuditLogChangeKeyBitrate: AuditLogChangeData<bitrate, number>

Returned when a voice channel’s bitrate is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyChannelId

APIAuditLogChangeKeyChannelId: AuditLogChangeData<channel_id, Snowflake>

Returned when an invite’s or guild scheduled event’s channel_id is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyCode

APIAuditLogChangeKeyCode: AuditLogChangeData<code, string>

Returned when an invite’s code is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyColor

APIAuditLogChangeKeyColor: AuditLogChangeData<color, number>

Returned when a role’s color is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyCommunicationDisabledUntil

APIAuditLogChangeKeyCommunicationDisabledUntil: AuditLogChangeData<communication_disabled_until, string>

Returned when a user’s timeout is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyDeaf

APIAuditLogChangeKeyDeaf: AuditLogChangeData<deaf, boolean>

Returned when a user’s deaf status is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyDefaultMessageNotifications

APIAuditLogChangeKeyDefaultMessageNotifications: AuditLogChangeData<default_message_notifications, GuildDefaultMessageNotifications>

Returned when a guild’s default_message_notifications is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyDeny

APIAuditLogChangeKeyDeny: AuditLogChangeData<deny, string>

Returned when an overwrite’s denied permissions bitfield is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyDescription

APIAuditLogChangeKeyDescription: AuditLogChangeData<description, string>

Returned when a guild’s or sticker’s or guild scheduled event’s description is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyDiscoverySplashHash

APIAuditLogChangeKeyDiscoverySplashHash: AuditLogChangeData<discovery_splash_hash, string>

Returned when a guild’s discovery splash is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyEnableEmoticons

APIAuditLogChangeKeyEnableEmoticons: AuditLogChangeData<enable_emoticons, boolean>

Returned when an integration’s enable_emoticons is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyEntityType

APIAuditLogChangeKeyEntityType: AuditLogChangeData<entity_type, GuildScheduledEventEntityType>

Returned when entity type of a guild scheduled event is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyExpireBehavior

APIAuditLogChangeKeyExpireBehavior: AuditLogChangeData<expire_behavior, IntegrationExpireBehavior>

Returned when an integration’s expire_behavior is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyExpireGracePeriod

APIAuditLogChangeKeyExpireGracePeriod: AuditLogChangeData<expire_grace_period, number>

Returned when an integration’s expire_grace_period is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyExplicitContentFilter

APIAuditLogChangeKeyExplicitContentFilter: AuditLogChangeData<explicit_content_filter, GuildExplicitContentFilter>

Returned when a guild’s explicit_content_filter is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyFormatType

APIAuditLogChangeKeyFormatType: AuditLogChangeData<format_type, StickerFormatType>

Returned when a sticker’s format_type is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyGuildId

APIAuditLogChangeKeyGuildId: AuditLogChangeData<guild_id, Snowflake>

Returned when a sticker’s guild_id is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyHoist

APIAuditLogChangeKeyHoist: AuditLogChangeData<hoist, boolean>

Returned when a role’s hoist status is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyIconHash

APIAuditLogChangeKeyIconHash: AuditLogChangeData<icon_hash, string>

Returned when a guild’s icon is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyId

APIAuditLogChangeKeyId: AuditLogChangeData<id, Snowflake>

The ID of the changed entity - sometimes used in conjunction with other keys

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyInviterId

APIAuditLogChangeKeyInviterId: AuditLogChangeData<inviter_id, Snowflake>

Returned when an invite’s inviter_id is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyLocation

APIAuditLogChangeKeyLocation: AuditLogChangeData<location, string>

Returned when location of a guild scheduled event is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyMFALevel

APIAuditLogChangeKeyMFALevel: AuditLogChangeData<mfa_level, GuildMFALevel>

Returned when a guild’s mfa_level is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyMaxAge

APIAuditLogChangeKeyMaxAge: AuditLogChangeData<max_age, number>

Returned when an invite’s max_age is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyMaxUses

APIAuditLogChangeKeyMaxUses: AuditLogChangeData<max_uses, number>

Returned when an invite’s max_uses is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyMentionable

APIAuditLogChangeKeyMentionable: AuditLogChangeData<mentionable, boolean>

Returned when a role’s mentionable status is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyMute

APIAuditLogChangeKeyMute: AuditLogChangeData<mute, boolean>

Returned when a user’s mute status is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyNSFW

APIAuditLogChangeKeyNSFW: AuditLogChangeData<nsfw, boolean>

Returned when a channel’s NSFW restriction is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyName

APIAuditLogChangeKeyName: AuditLogChangeData<name, string>

Returned when an entity’s name is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyNick

APIAuditLogChangeKeyNick: AuditLogChangeData<nick, string>

Returned when a user’s nick is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyOwnerId

APIAuditLogChangeKeyOwnerId: AuditLogChangeData<owner_id, Snowflake>

Returned when a guild’s owner_id is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyPermissionOverwrites

APIAuditLogChangeKeyPermissionOverwrites: AuditLogChangeData<permission_overwrites, APIOverwrite[]>

Returned when a channel’s permission overwrites is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyPermissions

APIAuditLogChangeKeyPermissions: AuditLogChangeData<permissions, string>

Returned when a permission bitfield is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyPosition

APIAuditLogChangeKeyPosition: AuditLogChangeData<position, number>

Returned when a channel’s position is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyPreferredLocale

APIAuditLogChangeKeyPreferredLocale: AuditLogChangeData<preferred_locale, string>

Returned when a guild’s preferred_locale is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyPrivacyLevel

APIAuditLogChangeKeyPrivacyLevel: AuditLogChangeData<privacy_level, StageInstancePrivacyLevel>

Returned when privacy level of a stage instance or guild scheduled event is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyPruneDeleteDays

APIAuditLogChangeKeyPruneDeleteDays: AuditLogChangeData<prune_delete_days, number>

Returned when there is a change in number of days after which inactive and role-unassigned members are kicked

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyPublicUpdatesChannelId

APIAuditLogChangeKeyPublicUpdatesChannelId: AuditLogChangeData<public_updates_channel_id, string>

Returned when a guild’s public_updates_channel_id is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyRateLimitPerUser

APIAuditLogChangeKeyRateLimitPerUser: AuditLogChangeData<rate_limit_per_user, number>

Returned when a channel’s amount of seconds a user has to wait before sending another message is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyRegion

APIAuditLogChangeKeyRegion: AuditLogChangeData<region, string>

Returned when a guild’s region is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyRulesChannelId

APIAuditLogChangeKeyRulesChannelId: AuditLogChangeData<rules_channel_id, string>

Returned when a guild’s rules_channel_id is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeySplashHash

APIAuditLogChangeKeySplashHash: AuditLogChangeData<splash_hash, string>

Returned when a guild’s splash is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyStatus

APIAuditLogChangeKeyStatus: AuditLogChangeData<status, GuildScheduledEventStatus>

Returned when status of a guild scheduled event is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeySystemChannelId

APIAuditLogChangeKeySystemChannelId: AuditLogChangeData<system_channel_id, Snowflake>

Returned when a guild’s system_channel_id is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyTags

APIAuditLogChangeKeyTags: AuditLogChangeData<tags, string>

Returned when a sticker’s related emoji is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyTemporary

APIAuditLogChangeKeyTemporary: AuditLogChangeData<temporary, boolean>

Returned when an invite’s temporary status is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyTopic

APIAuditLogChangeKeyTopic: AuditLogChangeData<topic, string>

Returned when a channel’s topic is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyType

APIAuditLogChangeKeyType: AuditLogChangeData<type, number | string>

The type of entity created

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyUserLimit

APIAuditLogChangeKeyUserLimit: AuditLogChangeData<user_limit, number>

Returned when a voice channel’s user_limit is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyUses

APIAuditLogChangeKeyUses: AuditLogChangeData<uses, number>

Returned when an invite’s uses is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyVanityURLCode

APIAuditLogChangeKeyVanityURLCode: AuditLogChangeData<vanity_url_code, string>

Returned when a guild’s vanity_url_code is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyVerificationLevel

APIAuditLogChangeKeyVerificationLevel: AuditLogChangeData<verification_level, GuildVerificationLevel>

Returned when a guild’s verification_level is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyWidgetChannelId

APIAuditLogChangeKeyWidgetChannelId: AuditLogChangeData<widget_channel_id, Snowflake>

Returned when a guild’s widget_channel_id is changed

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIAuditLogChangeKeyWidgetEnabled

APIAuditLogChangeKeyWidgetEnabled: AuditLogChangeData<widget_enabled, boolean>

Returned when a guild’s widget is enabled

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIButtonComponent

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIChannel

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIChatInputApplicationCommandDMInteraction

APIChatInputApplicationCommandDMInteraction: APIDMInteractionWrapper<APIChatInputApplicationCommandInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIChatInputApplicationCommandGuildInteraction

APIChatInputApplicationCommandGuildInteraction: APIGuildInteractionWrapper<APIChatInputApplicationCommandInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIChatInputApplicationCommandInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIContextMenuDMInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIContextMenuGuildInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIContextMenuInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIContextMenuInteractionData

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIDMChannel

APIDMChannel: APIDMChannelBase<ChannelType.DM>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIDMInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIDMInteractionWrapper

APIDMInteractionWrapper<Original>: Omit<Original, member | guild_id> & Required<Pick<Original, user>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.


Type parameters

APIGuildCategoryChannel

APIGuildCategoryChannel: APIGuildChannel<ChannelType.GuildCategory>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIGuildChannelResolvable

APIGuildChannelResolvable: Exclude<APIChannel, APIDMChannel | APIGroupDMChannel>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIGuildCreatePartialChannel

APIGuildCreatePartialChannel: StrictPartial<Pick<UnionToIntersection<APIGuildChannelResolvable>, type | topic | nsfw | bitrate | user_limit | rate_limit_per_user>> & AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ id?: number | string; name: string; parent_id?: number | string | null; permission_overwrites?: APIGuildCreateOverwrite[] }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIGuildInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIGuildInteractionType

APIGuildInteractionType: twitch | youtube | discord
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIGuildInteractionWrapper

APIGuildInteractionWrapper<Original>: Omit<Original, user> & Required<Pick<Original, member | guild_id>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.


Type parameters

APIGuildScheduledEvent

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIGuildStoreChannel

APIGuildStoreChannel: APIGuildChannel<ChannelType.GuildStore>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIInteractionResponse

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIInteractionResponseCallbackData

APIInteractionResponseCallbackData: Omit<RESTPostAPIWebhookWithTokenJSONBody, username | avatar_url> & { flags?: MessageFlags }
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIInviteGuild

APIInviteGuild: Pick<APIGuild, id | name | splash | banner | icon | vanity_url_code | description | features | verification_level | nsfw_level | premium_subscription_count>

APIMessageActionRowComponent

APIMessageActionRowComponent: APIButtonComponent | APISelectMenuComponent
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageApplicationCommandDMInteraction

APIMessageApplicationCommandDMInteraction: APIDMInteractionWrapper<APIMessageApplicationCommandInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageApplicationCommandGuildInteraction

APIMessageApplicationCommandGuildInteraction: APIGuildInteractionWrapper<APIMessageApplicationCommandInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageApplicationCommandInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageButtonInteractionData

APIMessageButtonInteractionData: APIMessageComponentBaseInteractionData<ComponentType.Button>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageComponent

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageComponentDMInteraction

APIMessageComponentDMInteraction: APIDMInteractionWrapper<APIMessageComponentInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageComponentGuildInteraction

APIMessageComponentGuildInteraction: APIGuildInteractionWrapper<APIMessageComponentInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageComponentInteraction

APIMessageComponentInteraction: APIBaseInteraction<InteractionType.MessageComponent, APIMessageComponentInteractionData> & Required<Pick<APIBaseInteraction<InteractionType.MessageComponent, APIMessageComponentInteractionData>, channel_id | data | message>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageComponentInteractionData

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIMessageReferenceSend

APIMessageReferenceSend: StrictPartial<APIMessageReference> & Required<Pick<APIMessageReference, message_id>> & AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ fail_if_not_exists?: boolean }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIModalActionRowComponent

APIModalActionRowComponent: APITextInputComponent
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIModalComponent

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIModalSubmitDMInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIModalSubmitGuildInteraction

APIModalSubmitGuildInteraction: APIGuildInteractionWrapper<APIModalSubmitInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIModalSubmitInteraction

APIModalSubmitInteraction: APIBaseInteraction<InteractionType.ModalSubmit, APIModalSubmission> & Required<Pick<APIBaseInteraction<InteractionType.ModalSubmit, APIModalSubmission>, data>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APINewsChannel

APINewsChannel: APIGuildTextChannel<ChannelType.GuildNews>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIPingInteraction

APIPingInteraction: Omit<APIBaseInteraction<InteractionType.Ping, never>, locale>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIStickerItem

APIStickerItem: Pick<APISticker, id | name | format_type>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIUserApplicationCommandDMInteraction

APIUserApplicationCommandDMInteraction: APIDMInteractionWrapper<APIUserApplicationCommandInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIUserApplicationCommandGuildInteraction

APIUserApplicationCommandGuildInteraction: APIGuildInteractionWrapper<APIUserApplicationCommandInteraction>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

APIUserApplicationCommandInteraction

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayActivityAssets

GatewayActivityAssets: Partial<Record<large_image | large_text | small_image | small_text, string>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayActivityEmoji

GatewayActivityEmoji: Partial<Pick<APIEmoji, id | animated>> & Pick<APIEmoji, name>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayActivitySecrets

GatewayActivitySecrets: Partial<Record<join | spectate | match, string>>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayActivityUpdateData

GatewayActivityUpdateData: Pick<GatewayActivity, name | type | url>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayChannelCreateDispatch

GatewayChannelCreateDispatch: GatewayChannelModifyDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayChannelCreateDispatchData

GatewayChannelCreateDispatchData: GatewayChannelModifyDispatchData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayChannelDeleteDispatch

GatewayChannelDeleteDispatch: GatewayChannelModifyDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayChannelDeleteDispatchData

GatewayChannelDeleteDispatchData: GatewayChannelModifyDispatchData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayChannelModifyDispatch

GatewayChannelModifyDispatch: DataPayload<GatewayDispatchEvents.ChannelCreate | GatewayDispatchEvents.ChannelDelete | GatewayDispatchEvents.ChannelUpdate, GatewayChannelModifyDispatchData>

GatewayChannelModifyDispatchData

GatewayChannelModifyDispatchData: APIChannel

GatewayChannelPinsUpdateDispatch

GatewayChannelPinsUpdateDispatch: DataPayload<GatewayDispatchEvents.ChannelPinsUpdate, GatewayChannelPinsUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayChannelUpdateDispatch

GatewayChannelUpdateDispatch: GatewayChannelModifyDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayChannelUpdateDispatchData

GatewayChannelUpdateDispatchData: GatewayChannelModifyDispatchData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayDispatchPayload

GatewayDispatchPayload: GatewayChannelModifyDispatch | GatewayChannelPinsUpdateDispatch | GatewayGuildBanModifyDispatch | GatewayGuildDeleteDispatch | GatewayGuildEmojisUpdateDispatch | GatewayGuildIntegrationsUpdateDispatch | GatewayGuildMemberAddDispatch | GatewayGuildMemberRemoveDispatch | GatewayGuildMembersChunkDispatch | GatewayGuildMemberUpdateDispatch | GatewayGuildModifyDispatch | GatewayGuildRoleDeleteDispatch | GatewayGuildRoleModifyDispatch | GatewayGuildScheduledEventCreateDispatch | GatewayGuildScheduledEventUpdateDispatch | GatewayGuildScheduledEventDeleteDispatch | GatewayGuildScheduledEventUserAddDispatch | GatewayGuildScheduledEventUserRemoveDispatch | GatewayGuildStickersUpdateDispatch | GatewayIntegrationCreateDispatch | GatewayIntegrationDeleteDispatch | GatewayIntegrationUpdateDispatch | GatewayInteractionCreateDispatch | GatewayInviteCreateDispatch | GatewayInviteDeleteDispatch | GatewayMessageCreateDispatch | GatewayMessageDeleteBulkDispatch | GatewayMessageDeleteDispatch | GatewayMessageReactionAddDispatch | GatewayMessageReactionRemoveAllDispatch | GatewayMessageReactionRemoveDispatch | GatewayMessageReactionRemoveEmojiDispatch | GatewayMessageUpdateDispatch | GatewayPresenceUpdateDispatch | GatewayStageInstanceCreateDispatch | GatewayStageInstanceDeleteDispatch | GatewayStageInstanceUpdateDispatch | GatewayReadyDispatch | GatewayResumedDispatch | GatewayTypingStartDispatch | GatewayUserUpdateDispatch | GatewayVoiceServerUpdateDispatch | GatewayVoiceStateUpdateDispatch | GatewayWebhooksUpdateDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildBanAddDispatch

GatewayGuildBanAddDispatch: GatewayGuildBanModifyDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildBanAddDispatchData

GatewayGuildBanAddDispatchData: GatewayGuildBanModifyDispatchData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildBanModifyDispatch

GatewayGuildBanModifyDispatch: DataPayload<GatewayDispatchEvents.GuildBanAdd | GatewayDispatchEvents.GuildBanRemove, GatewayGuildBanModifyDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildBanRemoveDispatch

GatewayGuildBanRemoveDispatch: GatewayGuildBanModifyDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildBanRemoveDispatchData

GatewayGuildBanRemoveDispatchData: GatewayGuildBanModifyDispatchData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildCreateDispatch

GatewayGuildCreateDispatch: GatewayGuildModifyDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildCreateDispatchData

GatewayGuildCreateDispatchData: GatewayGuildModifyDispatchData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildDeleteDispatch

GatewayGuildDeleteDispatch: DataPayload<GatewayDispatchEvents.GuildDelete, GatewayGuildDeleteDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildDeleteDispatchData

GatewayGuildDeleteDispatchData: APIUnavailableGuild
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildEmojisUpdateDispatch

GatewayGuildEmojisUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildEmojisUpdate, GatewayGuildEmojisUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildIntegrationsUpdateDispatch

GatewayGuildIntegrationsUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildIntegrationsUpdate, GatewayGuildIntegrationsUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildMemberAddDispatch

GatewayGuildMemberAddDispatch: DataPayload<GatewayDispatchEvents.GuildMemberAdd, GatewayGuildMemberAddDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildMemberRemoveDispatch

GatewayGuildMemberRemoveDispatch: DataPayload<GatewayDispatchEvents.GuildMemberRemove, GatewayGuildMemberRemoveDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildMemberUpdateDispatch

GatewayGuildMemberUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildMemberUpdate, GatewayGuildMemberUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildMemberUpdateDispatchData

GatewayGuildMemberUpdateDispatchData: Omit<APIGuildMember, deaf | mute | user | joined_at> & Partial<Pick<APIGuildMember, deaf | mute>> & Required<Pick<APIGuildMember, user>> & Nullable<Pick<APIGuildMember, joined_at>> & { guild_id: Snowflake }
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildMembersChunkDispatch

GatewayGuildMembersChunkDispatch: DataPayload<GatewayDispatchEvents.GuildMembersChunk, GatewayGuildMembersChunkDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildModifyDispatch

GatewayGuildModifyDispatch: DataPayload<GatewayDispatchEvents.GuildCreate | GatewayDispatchEvents.GuildUpdate, GatewayGuildModifyDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildModifyDispatchData

GatewayGuildModifyDispatchData: APIGuild
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildRoleCreateDispatch

GatewayGuildRoleCreateDispatch: GatewayGuildRoleModifyDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildRoleCreateDispatchData

GatewayGuildRoleCreateDispatchData: GatewayGuildRoleModifyDispatchData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildRoleDeleteDispatch

GatewayGuildRoleDeleteDispatch: DataPayload<GatewayDispatchEvents.GuildRoleDelete, GatewayGuildRoleDeleteDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildRoleModifyDispatch

GatewayGuildRoleModifyDispatch: DataPayload<GatewayDispatchEvents.GuildRoleCreate | GatewayDispatchEvents.GuildRoleUpdate, GatewayGuildRoleModifyDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildRoleUpdateDispatch

GatewayGuildRoleUpdateDispatch: GatewayGuildRoleModifyDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildRoleUpdateDispatchData

GatewayGuildRoleUpdateDispatchData: GatewayGuildRoleModifyDispatchData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildScheduledEventCreateDispatch

GatewayGuildScheduledEventCreateDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventCreate, GatewayGuildScheduledEventCreateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildScheduledEventCreateDispatchData

GatewayGuildScheduledEventCreateDispatchData: APIGuildScheduledEvent
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildScheduledEventDeleteDispatch

GatewayGuildScheduledEventDeleteDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventDelete, GatewayGuildScheduledEventDeleteDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildScheduledEventDeleteDispatchData

GatewayGuildScheduledEventDeleteDispatchData: APIGuildScheduledEvent
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildScheduledEventUpdateDispatch

GatewayGuildScheduledEventUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventUpdate, GatewayGuildScheduledEventUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildScheduledEventUpdateDispatchData

GatewayGuildScheduledEventUpdateDispatchData: APIGuildScheduledEvent
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildScheduledEventUserAddDispatch

GatewayGuildScheduledEventUserAddDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventUserAdd, GatewayGuildScheduledEventUserAddDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildScheduledEventUserRemoveDispatch

GatewayGuildScheduledEventUserRemoveDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventUserRemove, GatewayGuildScheduledEventUserAddDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildStickersUpdateDispatch

GatewayGuildStickersUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildStickersUpdate, GatewayGuildStickersUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildUpdateDispatch

GatewayGuildUpdateDispatch: GatewayGuildModifyDispatch
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayGuildUpdateDispatchData

GatewayGuildUpdateDispatchData: GatewayGuildModifyDispatchData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayHeartbeatData

GatewayHeartbeatData: number | null
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayIntegrationCreateDispatch

GatewayIntegrationCreateDispatch: DataPayload<GatewayDispatchEvents.IntegrationCreate, GatewayIntegrationCreateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayIntegrationCreateDispatchData

GatewayIntegrationCreateDispatchData: APIGuildIntegration & { guild_id: Snowflake }
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayIntegrationDeleteDispatch

GatewayIntegrationDeleteDispatch: DataPayload<GatewayDispatchEvents.IntegrationDelete, GatewayIntegrationDeleteDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayIntegrationUpdateDispatch

GatewayIntegrationUpdateDispatch: DataPayload<GatewayDispatchEvents.IntegrationUpdate, GatewayIntegrationUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayIntegrationUpdateDispatchData

GatewayIntegrationUpdateDispatchData: APIGuildIntegration & { guild_id: Snowflake }
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayInteractionCreateDispatch

GatewayInteractionCreateDispatch: DataPayload<GatewayDispatchEvents.InteractionCreate, GatewayInteractionCreateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayInteractionCreateDispatchData

GatewayInteractionCreateDispatchData: APIInteraction
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayInvalidSessionData

GatewayInvalidSessionData: boolean
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayInviteCreateDispatch

GatewayInviteCreateDispatch: DataPayload<GatewayDispatchEvents.InviteCreate, GatewayInviteCreateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayInviteDeleteDispatch

GatewayInviteDeleteDispatch: DataPayload<GatewayDispatchEvents.InviteDelete, GatewayInviteDeleteDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageCreateDispatch

GatewayMessageCreateDispatch: DataPayload<GatewayDispatchEvents.MessageCreate, GatewayMessageCreateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageCreateDispatchData

GatewayMessageCreateDispatchData: APIMessage
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageDeleteBulkDispatch

GatewayMessageDeleteBulkDispatch: DataPayload<GatewayDispatchEvents.MessageDeleteBulk, GatewayMessageDeleteBulkDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageDeleteDispatch

GatewayMessageDeleteDispatch: DataPayload<GatewayDispatchEvents.MessageDelete, GatewayMessageDeleteDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageReactionAddDispatch

GatewayMessageReactionAddDispatch: ReactionData<GatewayDispatchEvents.MessageReactionAdd>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageReactionAddDispatchData

GatewayMessageReactionAddDispatchData: GatewayMessageReactionAddDispatch[d]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageReactionRemoveAllDispatch

GatewayMessageReactionRemoveAllDispatch: DataPayload<GatewayDispatchEvents.MessageReactionRemoveAll, GatewayMessageReactionRemoveAllDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageReactionRemoveAllDispatchData

GatewayMessageReactionRemoveAllDispatchData: MessageReactionRemoveData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageReactionRemoveDispatch

GatewayMessageReactionRemoveDispatch: ReactionData<GatewayDispatchEvents.MessageReactionRemove, member>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageReactionRemoveDispatchData

GatewayMessageReactionRemoveDispatchData: GatewayMessageReactionRemoveDispatch[d]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageReactionRemoveEmojiDispatch

GatewayMessageReactionRemoveEmojiDispatch: DataPayload<GatewayDispatchEvents.MessageReactionRemoveEmoji, GatewayMessageReactionRemoveEmojiDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageUpdateDispatch

GatewayMessageUpdateDispatch: DataPayload<GatewayDispatchEvents.MessageUpdate, GatewayMessageUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayMessageUpdateDispatchData

GatewayMessageUpdateDispatchData: { channel_id: Snowflake; id: Snowflake } & Partial<APIMessage>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayPresenceUpdateDispatch

GatewayPresenceUpdateDispatch: DataPayload<GatewayDispatchEvents.PresenceUpdate, GatewayPresenceUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayPresenceUpdateDispatchData

GatewayPresenceUpdateDispatchData: RawGatewayPresenceUpdate
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayReadyDispatch

GatewayReadyDispatch: DataPayload<GatewayDispatchEvents.Ready, GatewayReadyDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayReceivePayload

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayResumedDispatch

GatewayResumedDispatch: DataPayload<GatewayDispatchEvents.Resumed, never>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewaySendPayload

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayStageInstanceCreateDispatch

GatewayStageInstanceCreateDispatch: DataPayload<GatewayDispatchEvents.StageInstanceCreate, GatewayStageInstanceCreateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayStageInstanceCreateDispatchData

GatewayStageInstanceCreateDispatchData: APIStageInstance
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayStageInstanceDeleteDispatch

GatewayStageInstanceDeleteDispatch: DataPayload<GatewayDispatchEvents.StageInstanceDelete, GatewayStageInstanceDeleteDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayStageInstanceDeleteDispatchData

GatewayStageInstanceDeleteDispatchData: APIStageInstance
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayStageInstanceUpdateDispatch

GatewayStageInstanceUpdateDispatch: DataPayload<GatewayDispatchEvents.StageInstanceUpdate, GatewayStageInstanceUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayStageInstanceUpdateDispatchData

GatewayStageInstanceUpdateDispatchData: APIStageInstance
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayTypingStartDispatch

GatewayTypingStartDispatch: DataPayload<GatewayDispatchEvents.TypingStart, GatewayTypingStartDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayUserUpdateDispatch

GatewayUserUpdateDispatch: DataPayload<GatewayDispatchEvents.UserUpdate, GatewayUserUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayUserUpdateDispatchData

GatewayUserUpdateDispatchData: APIUser
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayVoiceServerUpdateDispatch

GatewayVoiceServerUpdateDispatch: DataPayload<GatewayDispatchEvents.VoiceServerUpdate, GatewayVoiceServerUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayVoiceStateUpdateDispatch

GatewayVoiceStateUpdateDispatch: DataPayload<GatewayDispatchEvents.VoiceStateUpdate, GatewayVoiceStateUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayVoiceStateUpdateDispatchData

GatewayVoiceStateUpdateDispatchData: GatewayVoiceState
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GatewayWebhooksUpdateDispatch

GatewayWebhooksUpdateDispatch: DataPayload<GatewayDispatchEvents.WebhooksUpdate, GatewayWebhooksUpdateDispatchData>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GetAPIVoiceRegionsResult

GetAPIVoiceRegionsResult: APIVoiceRegion[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GuildChannelType

GuildChannelType: Exclude<TextChannelType | ChannelType.GuildVoice | ChannelType.GuildStageVoice | ChannelType.GuildNews | ChannelType.GuildStore, ChannelType.DM | ChannelType.GroupDM>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

GuildTextChannelType

GuildTextChannelType: Exclude<TextChannelType, ChannelType.DM | ChannelType.GroupDM>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

PartialAPIMessageInteractionGuildMember

PartialAPIMessageInteractionGuildMember: Pick<APIGuildMember, roles | premium_since | pending | nick | mute | joined_at | deaf | communication_disabled_until | avatar>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIChannelAllMessageReactionsResult

RESTDeleteAPIChannelAllMessageReactionsResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIChannelMessageOwnReaction

RESTDeleteAPIChannelMessageOwnReaction: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIChannelMessageReactionResult

RESTDeleteAPIChannelMessageReactionResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIChannelMessageResult

RESTDeleteAPIChannelMessageResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIChannelMessageUserReactionResult

RESTDeleteAPIChannelMessageUserReactionResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIChannelPermissionResult

RESTDeleteAPIChannelPermissionResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIChannelPinResult

RESTDeleteAPIChannelPinResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIChannelRecipientResult

RESTDeleteAPIChannelRecipientResult: unknown
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIChannelResult

RESTDeleteAPIChannelResult: APIChannel
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPICurrentUserGuildResult

RESTDeleteAPICurrentUserGuildResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildBanResult

RESTDeleteAPIGuildBanResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildEmojiResult

RESTDeleteAPIGuildEmojiResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildIntegrationResult

RESTDeleteAPIGuildIntegrationResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildMemberResult

RESTDeleteAPIGuildMemberResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildMemberRoleResult

RESTDeleteAPIGuildMemberRoleResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildResult

RESTDeleteAPIGuildResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildRoleResult

RESTDeleteAPIGuildRoleResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildScheduledEventResult

RESTDeleteAPIGuildScheduledEventResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildStickerResult

RESTDeleteAPIGuildStickerResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIGuildTemplateResult

RESTDeleteAPIGuildTemplateResult: APITemplate
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIInteractionFollowupResult

RESTDeleteAPIInteractionFollowupResult: RESTDeleteAPIWebhookWithTokenMessageResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIInteractionOriginalResponseResult

RESTDeleteAPIInteractionOriginalResponseResult: RESTDeleteAPIWebhookWithTokenMessageResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIInviteResult

RESTDeleteAPIInviteResult: APIInvite
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIStageInstanceResult

RESTDeleteAPIStageInstanceResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIWebhookResult

RESTDeleteAPIWebhookResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIWebhookWithTokenMessageResult

RESTDeleteAPIWebhookWithTokenMessageResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTDeleteAPIWebhookWithTokenResult

RESTDeleteAPIWebhookWithTokenResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIApplicationCommandPermissionsResult

RESTGetAPIApplicationCommandPermissionsResult: APIGuildApplicationCommandPermissions
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIApplicationCommandResult

RESTGetAPIApplicationCommandResult: APIApplicationCommand
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIApplicationCommandsResult

RESTGetAPIApplicationCommandsResult: APIApplicationCommand[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIApplicationGuildCommandResult

RESTGetAPIApplicationGuildCommandResult: APIApplicationCommand
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIApplicationGuildCommandsResult

RESTGetAPIApplicationGuildCommandsResult: APIApplicationCommand[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIAuditLogResult

RESTGetAPIAuditLogResult: APIAuditLog
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIChannelInvitesResult

RESTGetAPIChannelInvitesResult: APIExtendedInvite[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIChannelMessageReactionUsersResult

RESTGetAPIChannelMessageReactionUsersResult: APIUser[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIChannelMessageResult

RESTGetAPIChannelMessageResult: APIMessage
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIChannelMessagesResult

RESTGetAPIChannelMessagesResult: APIMessage[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIChannelPinsResult

RESTGetAPIChannelPinsResult: APIMessage[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIChannelResult

RESTGetAPIChannelResult: APIChannel
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIChannelWebhooksResult

RESTGetAPIChannelWebhooksResult: APIWebhook[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPICurrentUserConnectionsResult

RESTGetAPICurrentUserConnectionsResult: APIConnection[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPICurrentUserGuildsResult

RESTGetAPICurrentUserGuildsResult: RESTAPIPartialCurrentUserGuild[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPICurrentUserResult

RESTGetAPICurrentUserResult: APIUser
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGatewayBotResult

RESTGetAPIGatewayBotResult: APIGatewayBotInfo
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGatewayResult

RESTGetAPIGatewayResult: APIGatewayInfo
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildApplicationCommandsPermissionsResult

RESTGetAPIGuildApplicationCommandsPermissionsResult: APIGuildApplicationCommandPermissions[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildBanResult

RESTGetAPIGuildBanResult: APIBan
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildBansResult

RESTGetAPIGuildBansResult: APIBan[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildChannelsResult

RESTGetAPIGuildChannelsResult: APIChannel[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildEmojiResult

RESTGetAPIGuildEmojiResult: APIEmoji
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildEmojisResult

RESTGetAPIGuildEmojisResult: APIEmoji[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildIntegrationsResult

RESTGetAPIGuildIntegrationsResult: APIGuildIntegration[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildInvitesResult

RESTGetAPIGuildInvitesResult: APIExtendedInvite[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildMemberResult

RESTGetAPIGuildMemberResult: APIGuildMember
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildMemberVerificationResult

RESTGetAPIGuildMemberVerificationResult: APIGuildMembershipScreening
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildMembersResult

RESTGetAPIGuildMembersResult: APIGuildMember[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildMembersSearchResult

RESTGetAPIGuildMembersSearchResult: APIGuildMember[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildPreviewResult

RESTGetAPIGuildPreviewResult: APIGuildPreview
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildResult

RESTGetAPIGuildResult: APIGuild
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildRolesResult

RESTGetAPIGuildRolesResult: APIRole[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildScheduledEventResult

RESTGetAPIGuildScheduledEventResult: APIGuildScheduledEvent
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildScheduledEventUsersResult

RESTGetAPIGuildScheduledEventUsersResult: APIGuildScheduledEventUser[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildScheduledEventsResult

RESTGetAPIGuildScheduledEventsResult: APIGuildScheduledEvent[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildStickerResult

RESTGetAPIGuildStickerResult: APISticker
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildStickersResult

RESTGetAPIGuildStickersResult: APISticker[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildTemplatesResult

RESTGetAPIGuildTemplatesResult: APITemplate[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildVoiceRegionsResult

RESTGetAPIGuildVoiceRegionsResult: APIVoiceRegion[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildWebhooksResult

RESTGetAPIGuildWebhooksResult: APIWebhook[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildWelcomeScreenResult

RESTGetAPIGuildWelcomeScreenResult: APIGuildWelcomeScreen
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildWidgetImageResult

RESTGetAPIGuildWidgetImageResult: ArrayBuffer

Note: while the return type is ArrayBuffer, the expected result is a buffer of sorts (depends if in browser or on node.js/deno).

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildWidgetJSONResult

RESTGetAPIGuildWidgetJSONResult: APIGuildWidget
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIGuildWidgetSettingsResult

RESTGetAPIGuildWidgetSettingsResult: APIGuildWidgetSettings
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIInteractionFollowupResult

RESTGetAPIInteractionFollowupResult: RESTGetAPIWebhookWithTokenMessageResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIInteractionOriginalResponseResult

RESTGetAPIInteractionOriginalResponseResult: RESTGetAPIWebhookWithTokenMessageResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIInviteResult

RESTGetAPIInviteResult: APIInvite
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIOAuth2CurrentApplicationResult

RESTGetAPIOAuth2CurrentApplicationResult: Omit<APIApplication, flags>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIStageInstanceResult

RESTGetAPIStageInstanceResult: APIStageInstance
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIStickerResult

RESTGetAPIStickerResult: APISticker
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPITemplateResult

RESTGetAPITemplateResult: APITemplate
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIUserResult

RESTGetAPIUserResult: APIUser
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIWebhookResult

RESTGetAPIWebhookResult: APIWebhook
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIWebhookWithTokenMessageResult

RESTGetAPIWebhookWithTokenMessageResult: APIMessage
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetAPIWebhookWithTokenResult

RESTGetAPIWebhookWithTokenResult: Omit<APIWebhook, user>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTGetCurrentUserGuildMemberResult

RESTGetCurrentUserGuildMemberResult: APIGuildMember
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTOAuth2ImplicitAuthorizationURLFragmentResult

RESTOAuth2ImplicitAuthorizationURLFragmentResult: Omit<RESTPostOAuth2AccessTokenResult, refresh_token>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIApplicationCommandJSONBody

RESTPatchAPIApplicationCommandJSONBody: StrictPartial<RESTPostAPIApplicationCommandsJSONBody>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIApplicationCommandResult

RESTPatchAPIApplicationCommandResult: APIApplicationCommand
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIApplicationGuildCommandJSONBody

RESTPatchAPIApplicationGuildCommandJSONBody: StrictPartial<RESTPostAPIApplicationCommandsJSONBody>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIApplicationGuildCommandResult

RESTPatchAPIApplicationGuildCommandResult: APIApplicationCommand
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIChannelJSONBody

RESTPatchAPIChannelJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ bitrate?: number | null; name?: string; nsfw?: boolean | null; parent_id?: Snowflake | null; permission_overwrites?: APIChannelPatchOverwrite[] | null; position?: number | null; rate_limit_per_user?: number | null; rtc_region?: string | null; topic?: string | null; type?: ChannelType.GuildNews | ChannelType.GuildText; user_limit?: number | null; video_quality_mode?: VideoQualityMode | null }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIChannelMessageFormDataBody

RESTPatchAPIChannelMessageFormDataBody: ({ payload_json?: string } & Record<`files[${bigint}]`, unknown>) | (RESTPatchAPIChannelMessageJSONBody & Record<`files[${bigint}]`, unknown>)
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIChannelMessageJSONBody

RESTPatchAPIChannelMessageJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ allowed_mentions?: APIAllowedMentions | null; attachments?: (Pick<APIAttachment, id> & Partial<Pick<APIAttachment, filename | description>>)[]; components?: APIActionRowComponent<APIMessageActionRowComponent>[] | null; content?: string | null; embed?: APIEmbed | null; embeds?: APIEmbed[] | null; flags?: MessageFlags | null }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIChannelMessageResult

RESTPatchAPIChannelMessageResult: APIMessage
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIChannelResult

RESTPatchAPIChannelResult: APIChannel
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPICurrentGuildMemberJSONBody

RESTPatchAPICurrentGuildMemberJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ nick?: string | null }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPICurrentGuildMemberNicknameJSONBody

RESTPatchAPICurrentGuildMemberNicknameJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ nick?: string | null }>
@deprecated
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPICurrentGuildMemberNicknameResult

RESTPatchAPICurrentGuildMemberNicknameResult: StrictRequired<RESTPatchAPICurrentGuildMemberNicknameJSONBody>
@deprecated
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPICurrentUserJSONBody

RESTPatchAPICurrentUserJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ avatar?: string | null; username?: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPICurrentUserResult

RESTPatchAPICurrentUserResult: APIUser
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildChannelPositionsJSONBody

RESTPatchAPIGuildChannelPositionsJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ id: Snowflake; lock_permissions?: boolean; parent_id?: Snowflake | null; position: number }>[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildChannelPositionsResult

RESTPatchAPIGuildChannelPositionsResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildEmojiJSONBody

RESTPatchAPIGuildEmojiJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ name?: string; roles?: Snowflake[] | null }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildEmojiResult

RESTPatchAPIGuildEmojiResult: APIEmoji
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildJSONBody

RESTPatchAPIGuildJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ afk_channel_id?: Snowflake | null; afk_timeout?: number; banner?: string | null; default_message_notifications?: GuildDefaultMessageNotifications | null; description?: string | null; discovery_splash?: string | null; explicit_content_filter?: GuildExplicitContentFilter | null; features?: GuildFeature[]; icon?: string | null; name?: string; owner_id?: Snowflake; preferred_locale?: string | null; premium_progress_bar_enabled?: boolean; public_updates_channel_id?: Snowflake | null; region?: string | null; rules_channel_id?: Snowflake | null; splash?: string | null; system_channel_flags?: GuildSystemChannelFlags; system_channel_id?: Snowflake | null; verification_level?: GuildVerificationLevel | null }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildMemberJSONBody

RESTPatchAPIGuildMemberJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ channel_id?: Snowflake | null; communication_disabled_until?: string | null; deaf?: boolean | null; mute?: boolean | null; nick?: string | null; roles?: Snowflake[] | null }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildMemberResult

RESTPatchAPIGuildMemberResult: APIGuildMember
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildMemberVerificationJSONBody

RESTPatchAPIGuildMemberVerificationJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ description?: string | null; enabled?: boolean; form_fields?: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildMemberVerificationResult

RESTPatchAPIGuildMemberVerificationResult: APIGuildMembershipScreening
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildResult

RESTPatchAPIGuildResult: APIGuild
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildRoleJSONBody

RESTPatchAPIGuildRoleJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ color?: number | null; hoist?: boolean | null; icon?: string | null; mentionable?: boolean | null; name?: string | null; permissions?: Permissions | null; unicode_emoji?: string | null }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildRolePositionsJSONBody

RESTPatchAPIGuildRolePositionsJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ id: Snowflake; position?: number }>[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildRolePositionsResult

RESTPatchAPIGuildRolePositionsResult: APIRole[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildRoleResult

RESTPatchAPIGuildRoleResult: APIRole
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildScheduledEventJSONBody

RESTPatchAPIGuildScheduledEventJSONBody: StrictPartial<RESTPostAPIGuildScheduledEventJSONBody> & AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ status?: GuildScheduledEventStatus }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildScheduledEventResult

RESTPatchAPIGuildScheduledEventResult: APIGuildScheduledEvent
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildStickerJSONBody

RESTPatchAPIGuildStickerJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ description?: string | null; name?: string; tags?: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildStickerResult

RESTPatchAPIGuildStickerResult: APISticker
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildTemplateJSONBody

RESTPatchAPIGuildTemplateJSONBody: StrictPartial<RESTPostAPIGuildTemplatesJSONBody>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildTemplateResult

RESTPatchAPIGuildTemplateResult: APITemplate
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody

RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ channel_id: Snowflake; request_to_speak_timestamp?: string | null; suppress?: boolean }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildVoiceStateUserJSONBody

RESTPatchAPIGuildVoiceStateUserJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ channel_id: Snowflake; suppress?: boolean }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildWelcomeScreenJSONBody

RESTPatchAPIGuildWelcomeScreenJSONBody: Nullable<StrictPartial<APIGuildWelcomeScreen>> & AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ enabled?: boolean | null }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildWidgetSettingsJSONBody

RESTPatchAPIGuildWidgetSettingsJSONBody: StrictPartial<APIGuildWidgetSettings>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIGuildWidgetSettingsResult

RESTPatchAPIGuildWidgetSettingsResult: APIGuildWidgetSettings
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIInteractionFollowupFormDataBody

RESTPatchAPIInteractionFollowupFormDataBody: RESTPatchAPIWebhookWithTokenMessageFormDataBody
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIInteractionFollowupJSONBody

RESTPatchAPIInteractionFollowupJSONBody: RESTPatchAPIWebhookWithTokenMessageJSONBody
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIInteractionFollowupResult

RESTPatchAPIInteractionFollowupResult: RESTPatchAPIWebhookWithTokenMessageResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIInteractionOriginalResponseFormDataBody

RESTPatchAPIInteractionOriginalResponseFormDataBody: RESTPatchAPIWebhookWithTokenMessageFormDataBody
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIInteractionOriginalResponseJSONBody

RESTPatchAPIInteractionOriginalResponseJSONBody: RESTPatchAPIWebhookWithTokenMessageJSONBody
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIInteractionOriginalResponseResult

RESTPatchAPIInteractionOriginalResponseResult: RESTPatchAPIWebhookWithTokenMessageResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIStageInstanceJSONBody

RESTPatchAPIStageInstanceJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ privacy_level?: StageInstancePrivacyLevel; topic?: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIStageInstanceResult

RESTPatchAPIStageInstanceResult: APIStageInstance
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIWebhookJSONBody

RESTPatchAPIWebhookJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ avatar?: string | null; channel_id?: Snowflake; name?: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIWebhookResult

RESTPatchAPIWebhookResult: APIWebhook
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIWebhookWithTokenJSONBody

RESTPatchAPIWebhookWithTokenJSONBody: Omit<RESTPatchAPIWebhookJSONBody, channel_id>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIWebhookWithTokenMessageFormDataBody

RESTPatchAPIWebhookWithTokenMessageFormDataBody: ({ payload_json?: string } & Record<`files[${bigint}]`, unknown>) | (RESTPatchAPIWebhookWithTokenMessageJSONBody & Record<`files[${bigint}]`, unknown>)
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIWebhookWithTokenMessageJSONBody

RESTPatchAPIWebhookWithTokenMessageJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Nullable<Pick<RESTPostAPIWebhookWithTokenJSONBody, content | embeds | allowed_mentions | components>> & { attachments?: (Pick<APIAttachment, id> & Partial<Pick<APIAttachment, filename | description>>)[] }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIWebhookWithTokenMessageResult

RESTPatchAPIWebhookWithTokenMessageResult: APIMessage
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPatchAPIWebhookWithTokenResult

RESTPatchAPIWebhookWithTokenResult: RESTGetAPIWebhookWithTokenResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIApplicationCommandsJSONBody

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIApplicationCommandsResult

RESTPostAPIApplicationCommandsResult: APIApplicationCommand
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIApplicationGuildCommandsJSONBody

RESTPostAPIApplicationGuildCommandsJSONBody: RESTPostAPIApplicationCommandsJSONBody
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIApplicationGuildCommandsResult

RESTPostAPIApplicationGuildCommandsResult: APIApplicationCommand
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelFollowersResult

RESTPostAPIChannelFollowersResult: APIFollowedChannel
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelInviteJSONBody

RESTPostAPIChannelInviteJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ max_age?: number; max_uses?: number; target_application_id?: Snowflake; target_type?: InviteTargetType; target_user_id?: Snowflake; temporary?: boolean; unique?: boolean }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelInviteResult

RESTPostAPIChannelInviteResult: APIExtendedInvite
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelMessageCrosspostResult

RESTPostAPIChannelMessageCrosspostResult: APIMessage
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelMessageFormDataBody

RESTPostAPIChannelMessageFormDataBody: ({ payload_json?: string } & Record<`files[${bigint}]`, unknown>) | (RESTPostAPIChannelMessageJSONBody & Record<`files[${bigint}]`, unknown>)
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelMessageJSONBody

RESTPostAPIChannelMessageJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ allowed_mentions?: APIAllowedMentions; attachments?: (Pick<APIAttachment, id | description> & Partial<Pick<APIAttachment, filename>>)[]; components?: APIActionRowComponent<APIMessageActionRowComponent>[]; content?: string; embed?: APIEmbed; embeds?: APIEmbed[]; flags?: MessageFlags; message_reference?: APIMessageReferenceSend; nonce?: number | string; sticker_ids?: [Snowflake] | [Snowflake, Snowflake] | [Snowflake, Snowflake, Snowflake]; tts?: boolean }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelMessageResult

RESTPostAPIChannelMessageResult: APIMessage
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelMessagesBulkDeleteResult

RESTPostAPIChannelMessagesBulkDeleteResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelTypingResult

RESTPostAPIChannelTypingResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelWebhookJSONBody

RESTPostAPIChannelWebhookJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ avatar?: string | null; name: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChannelWebhookResult

RESTPostAPIChannelWebhookResult: APIWebhook
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIChatInputApplicationCommandsJSONBody

RESTPostAPIChatInputApplicationCommandsJSONBody: RESTPostAPIBaseApplicationCommandsJSONBody & AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ description: string; type?: ApplicationCommandType.ChatInput }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPICurrentUserCreateDMChannelResult

RESTPostAPICurrentUserCreateDMChannelResult: APIChannel
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildChannelJSONBody

RESTPostAPIGuildChannelJSONBody: Omit<APIGuildCreatePartialChannel, id>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildChannelResult

RESTPostAPIGuildChannelResult: APIChannel
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildEmojiJSONBody

RESTPostAPIGuildEmojiJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ image: string; name: string; roles?: Snowflake[] }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildEmojiResult

RESTPostAPIGuildEmojiResult: APIEmoji
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildPruneJSONBody

RESTPostAPIGuildPruneJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ compute_prune_count?: boolean; days?: number; include_roles?: Snowflake[] }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildRoleJSONBody

RESTPostAPIGuildRoleJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ color?: number | null; hoist?: boolean | null; icon?: string | null; mentionable?: boolean | null; name?: string | null; permissions?: Permissions | null; unicode_emoji?: string | null }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildRoleResult

RESTPostAPIGuildRoleResult: APIRole
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildScheduledEventJSONBody

RESTPostAPIGuildScheduledEventJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ channel_id?: Snowflake; description?: string; entity_metadata?: APIGuildScheduledEventEntityMetadata; entity_type?: GuildScheduledEventEntityType; image?: string | null; name: string; privacy_level: GuildScheduledEventPrivacyLevel; scheduled_end_time?: string; scheduled_start_time: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildScheduledEventResult

RESTPostAPIGuildScheduledEventResult: APIGuildScheduledEvent
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildStickerResult

RESTPostAPIGuildStickerResult: APISticker
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildTemplatesJSONBody

RESTPostAPIGuildTemplatesJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ description?: string | null; name: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildTemplatesResult

RESTPostAPIGuildTemplatesResult: APITemplate
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildsJSONBody

RESTPostAPIGuildsJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ afk_channel_id?: number | Snowflake | null; afk_timeout?: number; channels?: APIGuildCreatePartialChannel[]; default_message_notifications?: GuildDefaultMessageNotifications; explicit_content_filter?: GuildExplicitContentFilter; icon?: string; name: string; premium_progress_bar_enabled?: boolean; region?: string; roles?: APIGuildCreateRole[]; system_channel_flags?: GuildSystemChannelFlags; system_channel_id?: number | Snowflake | null; verification_level?: GuildVerificationLevel }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIGuildsResult

RESTPostAPIGuildsResult: APIGuild
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIInteractionCallbackFormDataBody

RESTPostAPIInteractionCallbackFormDataBody: ({ payload_json?: string } & Record<`files[${bigint}]`, unknown>) | (RESTPostAPIInteractionCallbackJSONBody & Record<`files[${bigint}]`, unknown>)
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIInteractionCallbackJSONBody

RESTPostAPIInteractionCallbackJSONBody: APIInteractionResponse
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIInteractionFollowupFormDataBody

RESTPostAPIInteractionFollowupFormDataBody: ({ payload_json?: string } & Record<`files[${bigint}]`, unknown>) | (RESTPostAPIInteractionFollowupJSONBody & Record<`files[${bigint}]`, unknown>)
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIInteractionFollowupJSONBody

RESTPostAPIInteractionFollowupJSONBody: APIInteractionResponseCallbackData
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIInteractionFollowupResult

RESTPostAPIInteractionFollowupResult: RESTPostAPIWebhookWithTokenWaitResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIStageInstanceResult

RESTPostAPIStageInstanceResult: APIStageInstance
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPITemplateCreateGuildJSONBody

RESTPostAPITemplateCreateGuildJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ icon?: string; name: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPITemplateCreateGuildResult

RESTPostAPITemplateCreateGuildResult: APIGuild
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenFormDataBody

RESTPostAPIWebhookWithTokenFormDataBody: ({ payload_json?: string } & Record<`files[${bigint}]`, unknown>) | (RESTPostAPIWebhookWithTokenJSONBody & Record<`files[${bigint}]`, unknown>)
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenGitHubQuery

RESTPostAPIWebhookWithTokenGitHubQuery: RESTPostAPIWebhookWithTokenQuery
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenGitHubResult

RESTPostAPIWebhookWithTokenGitHubResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenGitHubWaitResult

RESTPostAPIWebhookWithTokenGitHubWaitResult: APIMessage

Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives the wait query parameter set to true

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenJSONBody

RESTPostAPIWebhookWithTokenJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ allowed_mentions?: APIAllowedMentions; attachments?: (Pick<APIAttachment, id | description> & Partial<Pick<APIAttachment, filename>>)[]; avatar_url?: string; components?: APIActionRowComponent<APIMessageActionRowComponent>[]; content?: string; embeds?: APIEmbed[]; flags?: MessageFlags; tts?: boolean; username?: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenResult

RESTPostAPIWebhookWithTokenResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenSlackQuery

RESTPostAPIWebhookWithTokenSlackQuery: RESTPostAPIWebhookWithTokenQuery
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenSlackResult

RESTPostAPIWebhookWithTokenSlackResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenSlackWaitResult

RESTPostAPIWebhookWithTokenSlackWaitResult: APIMessage

Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives the wait query parameter set to true

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostAPIWebhookWithTokenWaitResult

RESTPostAPIWebhookWithTokenWaitResult: APIMessage

Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives the wait query parameter set to true

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResult

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostOAuth2ClientCredentialsResult

RESTPostOAuth2ClientCredentialsResult: RESTOAuth2ImplicitAuthorizationURLFragmentResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPostOAuth2RefreshTokenResult

RESTPostOAuth2RefreshTokenResult: RESTPostOAuth2AccessTokenResult
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIApplicationCommandPermissionsResult

RESTPutAPIApplicationCommandPermissionsResult: APIGuildApplicationCommandPermissions
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIApplicationCommandsJSONBody

RESTPutAPIApplicationCommandsJSONBody: RESTPostAPIApplicationCommandsJSONBody[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIApplicationCommandsResult

RESTPutAPIApplicationCommandsResult: APIApplicationCommand[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIApplicationGuildCommandsJSONBody

RESTPutAPIApplicationGuildCommandsJSONBody: RESTPostAPIApplicationCommandsJSONBody[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIApplicationGuildCommandsResult

RESTPutAPIApplicationGuildCommandsResult: APIApplicationCommand[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIChannelMessageReactionResult

RESTPutAPIChannelMessageReactionResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIChannelPermissionResult

RESTPutAPIChannelPermissionResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIChannelPinResult

RESTPutAPIChannelPinResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIChannelRecipientJSONBody

RESTPutAPIChannelRecipientJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ access_token: string; nick?: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIChannelRecipientResult

RESTPutAPIChannelRecipientResult: unknown
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIGuildApplicationCommandsPermissionsJSONBody

RESTPutAPIGuildApplicationCommandsPermissionsJSONBody: Pick<APIGuildApplicationCommandPermissions, id | permissions>[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIGuildApplicationCommandsPermissionsResult

RESTPutAPIGuildApplicationCommandsPermissionsResult: APIGuildApplicationCommandPermissions[]
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIGuildBanJSONBody

RESTPutAPIGuildBanJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ delete_message_days?: number; reason?: string }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIGuildBanResult

RESTPutAPIGuildBanResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIGuildMemberJSONBody

RESTPutAPIGuildMemberJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<{ access_token: string; deaf?: boolean; mute?: boolean; nick?: string; roles?: Snowflake[] }>
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIGuildMemberResult

RESTPutAPIGuildMemberResult: APIGuildMember | never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIGuildMemberRoleResult

RESTPutAPIGuildMemberRoleResult: never
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

RESTPutAPIGuildTemplateSyncResult

RESTPutAPIGuildTemplateSyncResult: APITemplate
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

TextChannelType

TextChannelType: ChannelType.DM | ChannelType.GroupDM | ChannelType.GuildNews | ChannelType.GuildText
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Variables

constAPIVersion

APIVersion: 8 = '8'

constGatewayVersion

GatewayVersion: 8 = '8'
@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

constOAuth2Routes

OAuth2Routes: { authorizationURL: https://discord.com/api/v8/oauth2/authorize; tokenRevocationURL: https://discord.com/api/v8/oauth2/token/revoke; tokenURL: https://discord.com/api/v8/oauth2/token } = ...

Type declaration

  • authorizationURL: https://discord.com/api/v8/oauth2/authorize
  • tokenRevocationURL: https://discord.com/api/v8/oauth2/token/revoke
  • tokenURL: https://discord.com/api/v8/oauth2/token

constRouteBases

RouteBases: { api: https://discord.com/api/v8; cdn: https://cdn.discordapp.com; gift: https://discord.gift; invite: https://discord.gg; scheduledEvent: https://discord.com/events; template: https://discord.new } = ...

Type declaration

  • api: https://discord.com/api/v8
  • cdn: https://cdn.discordapp.com
  • gift: https://discord.gift
  • invite: https://discord.gg
  • scheduledEvent: https://discord.com/events
  • template: https://discord.new

constRoutes

Routes: { applicationCommand: any; applicationCommandPermissions: any; applicationCommands: any; applicationGuildCommand: any; applicationGuildCommands: any; channel: any; channelBulkDelete: any; channelFollowers: any; channelInvites: any; channelMessage: any; channelMessageAllReactions: any; channelMessageCrosspost: any; channelMessageOwnReaction: any; channelMessageReaction: any; channelMessageUserReaction: any; channelMessages: any; channelPermission: any; channelPin: any; channelPins: any; channelRecipient: any; channelTyping: any; channelWebhooks: any; gateway: any; gatewayBot: any; guild: any; guildApplicationCommandsPermissions: any; guildAuditLog: any; guildBan: any; guildBans: any; guildChannels: any; guildCurrentMemberNickname: any; guildEmoji: any; guildEmojis: any; guildIntegration: any; guildIntegrations: any; guildInvites: any; guildMember: any; guildMemberRole: any; guildMemberVerification: any; guildMembers: any; guildMembersSearch: any; guildPreview: any; guildPrune: any; guildRole: any; guildRoles: any; guildScheduledEvent: any; guildScheduledEventUsers: any; guildScheduledEvents: any; guildSticker: any; guildStickers: any; guildTemplate: any; guildTemplates: any; guildVanityUrl: any; guildVoiceRegions: any; guildVoiceState: any; guildWebhooks: any; guildWelcomeScreen: any; guildWidgetImage: any; guildWidgetJSON: any; guildWidgetSettings: any; guilds: any; interactionCallback: any; invite: any; nitroStickerPacks: any; oauth2Authorization: any; oauth2CurrentApplication: any; oauth2CurrentAuthorization: any; oauth2TokenExchange: any; oauth2TokenRevocation: any; stageInstance: any; stageInstances: any; sticker: any; template: any; user: any; userChannels: any; userConnections: any; userGuild: any; userGuildMember: any; userGuilds: any; voiceRegions: any; webhook: any; webhookMessage: any; webhookPlatform: any } = ...

Type declaration

  • applicationCommand: function
    • applicationCommand(applicationId: string, commandId: string): `/applications/${string}/commands/${string}`

    • Route for:

      • GET /applications/{application.id}/commands/{command.id}
      • PATCH /applications/{application.id}/commands/{command.id}
      • DELETE /applications/{application.id}/commands/{command.id}

      Parameters

      • applicationId: string
      • commandId: string

      Returns `/applications/${string}/commands/${string}`

  • applicationCommandPermissions: function
    • applicationCommandPermissions(applicationId: string, guildId: string, commandId: string): `/applications/${string}/guilds/${string}/commands/${string}/permissions`

    • Route for:

      • GET /applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions
      • PUT /applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions

      Parameters

      • applicationId: string
      • guildId: string
      • commandId: string

      Returns `/applications/${string}/guilds/${string}/commands/${string}/permissions`

  • applicationCommands: function
    • applicationCommands(applicationId: string): `/applications/${string}/commands`

    • Route for:

      • GET /applications/{application.id}/commands
      • PUT /applications/{application.id}/commands
      • POST /applications/{application.id}/commands

      Parameters

      • applicationId: string

      Returns `/applications/${string}/commands`

  • applicationGuildCommand: function
    • applicationGuildCommand(applicationId: string, guildId: string, commandId: string): `/applications/${string}/guilds/${string}/commands/${string}`

    • Route for:

      • GET /applications/{application.id}/guilds/{guild.id}/commands/{command.id}
      • PATCH /applications/{application.id}/guilds/{guild.id}/commands/{command.id}
      • DELETE /applications/{application.id}/guilds/{guild.id}/commands/{command.id}

      Parameters

      • applicationId: string
      • guildId: string
      • commandId: string

      Returns `/applications/${string}/guilds/${string}/commands/${string}`

  • applicationGuildCommands: function
    • applicationGuildCommands(applicationId: string, guildId: string): `/applications/${string}/guilds/${string}/commands`

    • Route for:

      • GET /applications/{application.id}/guilds/{guild.id}/commands
      • PUT /applications/{application.id}/guilds/{guild.id}/commands
      • POST /applications/{application.id}/guilds/{guild.id}/commands

      Parameters

      • applicationId: string
      • guildId: string

      Returns `/applications/${string}/guilds/${string}/commands`

  • channel: function
    • channel(channelId: string): `/channels/${string}`

    • Route for:

      • GET /channels/{channel.id}
      • PATCH /channels/{channel.id}
      • DELETE /channels/{channel.id}

      Parameters

      • channelId: string

      Returns `/channels/${string}`

  • channelBulkDelete: function
    • channelBulkDelete(channelId: string): `/channels/${string}/messages/bulk-delete`

    • Route for:

      • POST /channels/{channel.id}/messages/bulk-delete

      Parameters

      • channelId: string

      Returns `/channels/${string}/messages/bulk-delete`

  • channelFollowers: function
    • channelFollowers(channelId: string): `/channels/${string}/followers`

    • Route for:

      • POST /channels/{channel.id}/followers

      Parameters

      • channelId: string

      Returns `/channels/${string}/followers`

  • channelInvites: function
    • channelInvites(channelId: string): `/channels/${string}/invites`

    • Route for:

      • GET /channels/{channel.id}/invites
      • POST /channels/{channel.id}/invites

      Parameters

      • channelId: string

      Returns `/channels/${string}/invites`

  • channelMessage: function
    • channelMessage(channelId: string, messageId: string): `/channels/${string}/messages/${string}`

    • Route for:

      • GET /channels/{channel.id}/messages/{message.id}
      • PATCH /channels/{channel.id}/messages/{message.id}
      • DELETE /channels/{channel.id}/messages/{message.id}

      Parameters

      • channelId: string
      • messageId: string

      Returns `/channels/${string}/messages/${string}`

  • channelMessageAllReactions: function
    • channelMessageAllReactions(channelId: string, messageId: string): `/channels/${string}/messages/${string}/reactions`

    • Route for:

      • DELETE /channels/{channel.id}/messages/{message.id}/reactions

      Parameters

      • channelId: string
      • messageId: string

      Returns `/channels/${string}/messages/${string}/reactions`

  • channelMessageCrosspost: function
    • channelMessageCrosspost(channelId: string, messageId: string): `/channels/${string}/messages/${string}/crosspost`

    • Route for:

      • POST /channels/{channel.id}/messages/{message.id}/crosspost

      Parameters

      • channelId: string
      • messageId: string

      Returns `/channels/${string}/messages/${string}/crosspost`

  • channelMessageOwnReaction: function
    • channelMessageOwnReaction(channelId: string, messageId: string, emoji: string): `/channels/${string}/messages/${string}/reactions/${string}/@me`

    • Route for:

      • PUT /channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me
      • DELETE /channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me

      Note: You need to URL encode the emoji yourself


      Parameters

      • channelId: string
      • messageId: string
      • emoji: string

      Returns `/channels/${string}/messages/${string}/reactions/${string}/@me`

  • channelMessageReaction: function
    • channelMessageReaction(channelId: string, messageId: string, emoji: string): `/channels/${string}/messages/${string}/reactions/${string}`

    • Route for:

      • GET /channels/{channel.id}/messages/{message.id}/reactions/{emoji}
      • DELETE /channels/{channel.id}/messages/{message.id}/reactions/{emoji}

      Note: You need to URL encode the emoji yourself


      Parameters

      • channelId: string
      • messageId: string
      • emoji: string

      Returns `/channels/${string}/messages/${string}/reactions/${string}`

  • channelMessageUserReaction: function
    • channelMessageUserReaction(channelId: string, messageId: string, emoji: string, userId: string): `/channels/${string}/messages/${string}/reactions/${string}/${string}`

    • Route for:

      • DELETE /channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id}

      Note: You need to URL encode the emoji yourself


      Parameters

      • channelId: string
      • messageId: string
      • emoji: string
      • userId: string

      Returns `/channels/${string}/messages/${string}/reactions/${string}/${string}`

  • channelMessages: function
    • channelMessages(channelId: string): `/channels/${string}/messages`

    • Route for:

      • GET /channels/{channel.id}/messages
      • POST /channels/{channel.id}/messages

      Parameters

      • channelId: string

      Returns `/channels/${string}/messages`

  • channelPermission: function
    • channelPermission(channelId: string, overwriteId: string): `/channels/${string}/permissions/${string}`

    • Route for:

      • PUT /channels/{channel.id}/permissions/{overwrite.id}
      • DELETE /channels/{channel.id}/permissions/{overwrite.id}

      Parameters

      • channelId: string
      • overwriteId: string

      Returns `/channels/${string}/permissions/${string}`

  • channelPin: function
    • channelPin(channelId: string, messageId: string): `/channels/${string}/pins/${string}`

    • Route for:

      • PUT /channels/{channel.id}/pins/{message.id}
      • DELETE /channels/{channel.id}/pins/{message.id}

      Parameters

      • channelId: string
      • messageId: string

      Returns `/channels/${string}/pins/${string}`

  • channelPins: function
    • channelPins(channelId: string): `/channels/${string}/pins`

    • Route for:

      • GET /channels/{channel.id}/pins

      Parameters

      • channelId: string

      Returns `/channels/${string}/pins`

  • channelRecipient: function
    • channelRecipient(channelId: string, userId: string): `/channels/${string}/recipients/${string}`

    • Route for:

      • PUT /channels/{channel.id}/recipients/{user.id}
      • DELETE /channels/{channel.id}/recipients/{user.id}

      Parameters

      • channelId: string
      • userId: string

      Returns `/channels/${string}/recipients/${string}`

  • channelTyping: function
    • channelTyping(channelId: string): `/channels/${string}/typing`

    • Route for:

      • POST /channels/{channel.id}/typing

      Parameters

      • channelId: string

      Returns `/channels/${string}/typing`

  • channelWebhooks: function
    • channelWebhooks(channelId: string): `/channels/${string}/webhooks`

    • Route for:

      • GET /channels/{channel.id}/webhooks
      • POST /channels/{channel.id}/webhooks

      Parameters

      • channelId: string

      Returns `/channels/${string}/webhooks`

  • gateway: function
    • gateway(): /gateway

    • Route for:

      • GET /gateway

      Returns /gateway

  • gatewayBot: function
    • gatewayBot(): /gateway/bot

    • Route for:

      • GET /gateway/bot

      Returns /gateway/bot

  • guild: function
    • guild(guildId: string): `/guilds/${string}`

    • Route for:

      • GET /guilds/{guild.id}
      • PATCH /guilds/{guild.id}
      • DELETE /guilds/{guild.id}

      Parameters

      • guildId: string

      Returns `/guilds/${string}`

  • guildApplicationCommandsPermissions: function
    • guildApplicationCommandsPermissions(applicationId: string, guildId: string): `/applications/${string}/guilds/${string}/commands/permissions`

    • Route for:

      • GET /applications/{application.id}/guilds/{guild.id}/commands/permissions
      • PUT /applications/{application.id}/guilds/{guild.id}/commands/permissions

      Parameters

      • applicationId: string
      • guildId: string

      Returns `/applications/${string}/guilds/${string}/commands/permissions`

  • guildAuditLog: function
    • guildAuditLog(guildId: string): `/guilds/${string}/audit-logs`

    • Route for:

      • GET /guilds/{guild.id}/audit-logs

      Parameters

      • guildId: string

      Returns `/guilds/${string}/audit-logs`

  • guildBan: function
    • guildBan(guildId: string, userId: string): `/guilds/${string}/bans/${string}`

    • Route for:

      • GET /guilds/{guild.id}/bans/{user.id}
      • PUT /guilds/{guild.id}/bans/{user.id}
      • DELETE /guilds/{guild.id}/bans/{user.id}

      Parameters

      • guildId: string
      • userId: string

      Returns `/guilds/${string}/bans/${string}`

  • guildBans: function
    • guildBans(guildId: string): `/guilds/${string}/bans`

    • Route for:

      • GET /guilds/{guild.id}/bans

      Parameters

      • guildId: string

      Returns `/guilds/${string}/bans`

  • guildChannels: function
    • guildChannels(guildId: string): `/guilds/${string}/channels`

    • Route for:

      • GET /guilds/{guild.id}/channels
      • POST /guilds/{guild.id}/channels
      • PATCH /guilds/{guild.id}/channels

      Parameters

      • guildId: string

      Returns `/guilds/${string}/channels`

  • guildCurrentMemberNickname: function
    • guildCurrentMemberNickname(guildId: string): `/guilds/${string}/members/@me/nick`

    • Route for:

      • PATCH /guilds/{guild.id}/members/@me/nick
      @deprecated

      Use Routes.guildMember instead.


      Parameters

      • guildId: string

      Returns `/guilds/${string}/members/@me/nick`

  • guildEmoji: function
    • guildEmoji(guildId: string, emojiId: string): `/guilds/${string}/emojis/${string}`

    • Route for:

      • GET /guilds/{guild.id}/emojis/{emoji.id}
      • PATCH /guilds/{guild.id}/emojis/{emoji.id}
      • DELETE /guilds/{guild.id}/emojis/{emoji.id}

      Parameters

      • guildId: string
      • emojiId: string

      Returns `/guilds/${string}/emojis/${string}`

  • guildEmojis: function
    • guildEmojis(guildId: string): `/guilds/${string}/emojis`

    • Route for:

      • GET /guilds/{guild.id}/emojis
      • POST /guilds/{guild.id}/emojis

      Parameters

      • guildId: string

      Returns `/guilds/${string}/emojis`

  • guildIntegration: function
    • guildIntegration(guildId: string, integrationId: string): `/guilds/${string}/integrations/${string}`

    • Route for:

      • DELETE /guilds/{guild.id}/integrations/{integration.id}

      Parameters

      • guildId: string
      • integrationId: string

      Returns `/guilds/${string}/integrations/${string}`

  • guildIntegrations: function
    • guildIntegrations(guildId: string): `/guilds/${string}/integrations`

    • Route for:

      • GET /guilds/{guild.id}/integrations

      Parameters

      • guildId: string

      Returns `/guilds/${string}/integrations`

  • guildInvites: function
    • guildInvites(guildId: string): `/guilds/${string}/invites`

    • Route for:

      • GET /guilds/{guild.id}/invites

      Parameters

      • guildId: string

      Returns `/guilds/${string}/invites`

  • guildMember: function
    • guildMember(guildId: string, userId?: string): `/guilds/${string}/members/${string}`

    • Route for:

      • GET /guilds/{guild.id}/members/{user.id}
      • PUT /guilds/{guild.id}/members/{user.id}
      • PATCH /guilds/{guild.id}/members/@me
      • PATCH /guilds/{guild.id}/members/{user.id}
      • DELETE /guilds/{guild.id}/members/{user.id}

      Parameters

      • guildId: string
      • userId: string = '@me'

      Returns `/guilds/${string}/members/${string}`

  • guildMemberRole: function
    • guildMemberRole(guildId: string, memberId: string, roleId: string): `/guilds/${string}/members/${string}/roles/${string}`

    • Route for:

      • PUT /guilds/{guild.id}/members/{user.id}/roles/{role.id}
      • DELETE /guilds/{guild.id}/members/{user.id}/roles/{role.id}

      Parameters

      • guildId: string
      • memberId: string
      • roleId: string

      Returns `/guilds/${string}/members/${string}/roles/${string}`

  • guildMemberVerification: function
    • guildMemberVerification(guildId: string): `/guilds/${string}/member-verification`

    • Route for:

      • GET /guilds/{guild.id}/member-verification
      • PATCH /guilds/{guild.id}/member-verification

      Parameters

      • guildId: string

      Returns `/guilds/${string}/member-verification`

  • guildMembers: function
    • guildMembers(guildId: string): `/guilds/${string}/members`

    • Route for:

      • GET /guilds/{guild.id}/members

      Parameters

      • guildId: string

      Returns `/guilds/${string}/members`

  • guildMembersSearch: function
    • guildMembersSearch(guildId: string): `/guilds/${string}/members/search`

    • Route for:

      • GET /guilds/{guild.id}/members/search

      Parameters

      • guildId: string

      Returns `/guilds/${string}/members/search`

  • guildPreview: function
    • guildPreview(guildId: string): `/guilds/${string}/preview`

    • Route for:

      • GET /guilds/{guild.id}/preview

      Parameters

      • guildId: string

      Returns `/guilds/${string}/preview`

  • guildPrune: function
    • guildPrune(guildId: string): `/guilds/${string}/prune`

    • Route for:

      • GET /guilds/{guild.id}/prune
      • POST /guilds/{guild.id}/prune

      Parameters

      • guildId: string

      Returns `/guilds/${string}/prune`

  • guildRole: function
    • guildRole(guildId: string, roleId: string): `/guilds/${string}/roles/${string}`

    • Route for:

      • PATCH /guilds/{guild.id}/roles/{role.id}
      • DELETE /guilds/{guild.id}/roles/{role.id}

      Parameters

      • guildId: string
      • roleId: string

      Returns `/guilds/${string}/roles/${string}`

  • guildRoles: function
    • guildRoles(guildId: string): `/guilds/${string}/roles`

    • Route for:

      • GET /guilds/{guild.id}/roles
      • POST /guilds/{guild.id}/roles
      • PATCH /guilds/{guild.id}/roles

      Parameters

      • guildId: string

      Returns `/guilds/${string}/roles`

  • guildScheduledEvent: function
    • guildScheduledEvent(guildId: string, guildScheduledEventId: string): string

    • Route for:

      • GET /guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}
      • PATCH /guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}
      • DELETE /guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}

      Parameters

      • guildId: string
      • guildScheduledEventId: string

      Returns string

  • guildScheduledEventUsers: function
    • guildScheduledEventUsers(guildId: string, guildScheduledEventId: string): string

    • Route for:

      • GET /guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}/users

      Parameters

      • guildId: string
      • guildScheduledEventId: string

      Returns string

  • guildScheduledEvents: function
    • guildScheduledEvents(guildId: string): string

    • Route for:

      • GET /guilds/{guild.id}/scheduled-events
      • POST /guilds/{guild.id}/scheduled-events

      Parameters

      • guildId: string

      Returns string

  • guildSticker: function
    • guildSticker(guildId: string, stickerId: string): `/guilds/${string}/stickers/${string}`

    • Route for:

      • GET /guilds/{guild.id}/stickers/{sticker.id}
      • PATCH /guilds/{guild.id}/stickers/{sticker.id}
      • DELETE /guilds/{guild.id}/stickers/{sticker.id}

      Parameters

      • guildId: string
      • stickerId: string

      Returns `/guilds/${string}/stickers/${string}`

  • guildStickers: function
    • guildStickers(guildId: string): `/guilds/${string}/stickers`

    • Route for:

      • GET /guilds/{guild.id}/stickers
      • POST /guilds/{guild.id}/stickers

      Parameters

      • guildId: string

      Returns `/guilds/${string}/stickers`

  • guildTemplate: function
    • guildTemplate(guildId: string, code: string): `/guilds/${string}/templates/${string}`

    • Route for:

      • PUT /guilds/{guild.id}/templates/{template.code}
      • PATCH /guilds/{guild.id}/templates/{template.code}
      • DELETE /guilds/{guild.id}/templates/{template.code}

      Parameters

      • guildId: string
      • code: string

      Returns `/guilds/${string}/templates/${string}`

  • guildTemplates: function
    • guildTemplates(guildId: string): `/guilds/${string}/templates`

    • Route for:

      • GET /guilds/{guild.id}/templates
      • POST /guilds/{guild.id}/templates

      Parameters

      • guildId: string

      Returns `/guilds/${string}/templates`

  • guildVanityUrl: function
    • guildVanityUrl(guildId: string): `/guilds/${string}/vanity-url`

    • Route for:

      • GET /guilds/{guild.id}/vanity-url

      Parameters

      • guildId: string

      Returns `/guilds/${string}/vanity-url`

  • guildVoiceRegions: function
    • guildVoiceRegions(guildId: string): `/guilds/${string}/regions`

    • Route for:

      • GET /guilds/{guild.id}/regions

      Parameters

      • guildId: string

      Returns `/guilds/${string}/regions`

  • guildVoiceState: function
    • guildVoiceState(guildId: string, userId?: string): `/guilds/${string}/voice-states/${string}`

    • Route for:

      • PATCH /guilds/{guild.id}/voice-states/@me
      • PATCH /guilds/{guild.id}/voice-states/{user.id}

      Parameters

      • guildId: string
      • userId: string = '@me'

      Returns `/guilds/${string}/voice-states/${string}`

  • guildWebhooks: function
    • guildWebhooks(guildId: string): `/guilds/${string}/webhooks`

    • Route for:

      • GET /guilds/{guild.id}/webhooks

      Parameters

      • guildId: string

      Returns `/guilds/${string}/webhooks`

  • guildWelcomeScreen: function
    • guildWelcomeScreen(guildId: string): `/guilds/${string}/welcome-screen`

    • Route for:

      • GET /guilds/{guild.id}/welcome-screen
      • PATCH /guilds/{guild.id}/welcome-screen

      Parameters

      • guildId: string

      Returns `/guilds/${string}/welcome-screen`

  • guildWidgetImage: function
    • guildWidgetImage(guildId: string): `/guilds/${string}/widget.png`

    • Route for:

      • GET /guilds/{guild.id}/widget.png

      Parameters

      • guildId: string

      Returns `/guilds/${string}/widget.png`

  • guildWidgetJSON: function
    • guildWidgetJSON(guildId: string): `/guilds/${string}/widget.json`

    • Route for:

      • GET /guilds/{guild.id}/widget.json

      Parameters

      • guildId: string

      Returns `/guilds/${string}/widget.json`

  • guildWidgetSettings: function
    • guildWidgetSettings(guildId: string): `/guilds/${string}/widget`

    • Route for:

      • GET /guilds/{guild.id}/widget
      • PATCH /guilds/{guild.id}/widget

      Parameters

      • guildId: string

      Returns `/guilds/${string}/widget`

  • guilds: function
    • guilds(): /guilds

    • Route for:

      • POST /guilds

      Returns /guilds

  • interactionCallback: function
    • interactionCallback(interactionId: string, interactionToken: string): `/interactions/${string}/${string}/callback`

    • Route for:

      • POST /interactions/{interaction.id}/{interaction.token}/callback

      Parameters

      • interactionId: string
      • interactionToken: string

      Returns `/interactions/${string}/${string}/callback`

  • invite: function
    • invite(code: string): `/invites/${string}`

    • Route for:

      • GET /invites/{invite.code}
      • DELETE /invites/{invite.code}

      Parameters

      • code: string

      Returns `/invites/${string}`

  • nitroStickerPacks: function
    • nitroStickerPacks(): /sticker-packs

    • Route for:

      • GET /sticker-packs

      Returns /sticker-packs

  • oauth2Authorization: function
    • oauth2Authorization(): /oauth2/authorize

    • Route for:

      • GET /oauth2/authorize

      Returns /oauth2/authorize

  • oauth2CurrentApplication: function
    • oauth2CurrentApplication(): /oauth2/applications/@me

    • Route for:

      • GET /oauth2/applications/@me

      Returns /oauth2/applications/@me

  • oauth2CurrentAuthorization: function
    • oauth2CurrentAuthorization(): /oauth2/@me

    • Route for:

      • GET /oauth2/@me

      Returns /oauth2/@me

  • oauth2TokenExchange: function
    • oauth2TokenExchange(): /oauth2/token

    • Route for:

      • POST /oauth2/token

      Returns /oauth2/token

  • oauth2TokenRevocation: function
    • oauth2TokenRevocation(): /oauth2/token/revoke

    • Route for:

      • POST /oauth2/token/revoke

      Returns /oauth2/token/revoke

  • stageInstance: function
    • stageInstance(channelId: string): `/stage-instances/${string}`

    • Route for:

      • GET /stage-instances/{channel.id}
      • PATCH /stage-instances/{channel.id}
      • DELETE /stage-instances/{channel.id}

      Parameters

      • channelId: string

      Returns `/stage-instances/${string}`

  • stageInstances: function
    • stageInstances(): /stage-instances

    • Route for:

      • POST /stage-instances

      Returns /stage-instances

  • sticker: function
    • sticker(stickerId: string): `/stickers/${string}`

    • Route for:

      • GET /stickers/{sticker.id}

      Parameters

      • stickerId: string

      Returns `/stickers/${string}`

  • template: function
    • template(code: string): `/guilds/templates/${string}`

    • Route for:

      • GET /guilds/templates/{template.code}
      • POST /guilds/templates/{template.code}

      Parameters

      • code: string

      Returns `/guilds/templates/${string}`

  • user: function
    • user(userId?: string): `/users/${string}`

    • Route for:

      • GET /users/@me
      • GET /users/{user.id}
      • PATCH /users/@me

      Parameters

      • userId: string = '@me'

      Returns `/users/${string}`

  • userChannels: function
    • userChannels(): /users/@me/channels

    • Route for:

      • POST /users/@me/channels

      Returns /users/@me/channels

  • userConnections: function
    • userConnections(): /users/@me/connections

    • Route for:

      • GET /users/@me/connections

      Returns /users/@me/connections

  • userGuild: function
    • userGuild(guildId: string): `/users/@me/guilds/${string}`

    • Route for:

      • DELETE /users/@me/guilds/{guild.id}

      Parameters

      • guildId: string

      Returns `/users/@me/guilds/${string}`

  • userGuildMember: function
    • userGuildMember(guildId: string): `/users/@me/guilds/${string}/member`

    • Route for:

      • GET /users/@me/guilds/{guild.id}/member

      Parameters

      • guildId: string

      Returns `/users/@me/guilds/${string}/member`

  • userGuilds: function
    • userGuilds(): /users/@me/guilds

    • Route for:

      • GET /users/@me/guilds

      Returns /users/@me/guilds

  • voiceRegions: function
    • voiceRegions(): /voice/regions

    • Route for:

      • GET /voice/regions

      Returns /voice/regions

  • webhook: function
    • webhook(webhookId: string, webhookToken?: string): `/webhooks/${string}` | `/webhooks/${string}/${string}`

    • Route for:

      • GET /webhooks/{webhook.id}
      • GET /webhooks/{webhook.id}/{webhook.token}
      • PATCH /webhooks/{webhook.id}
      • PATCH /webhooks/{webhook.id}/{webhook.token}
      • DELETE /webhooks/{webhook.id}
      • DELETE /webhooks/{webhook.id}/{webhook.token}
      • POST /webhooks/{webhook.id}/{webhook.token}
      • POST /webhooks/{application.id}/{interaction.token}

      Parameters

      • webhookId: string
      • optionalwebhookToken: string

      Returns `/webhooks/${string}` | `/webhooks/${string}/${string}`

  • webhookMessage: function
    • webhookMessage(webhookId: string, webhookToken: string, messageId?: string): `/webhooks/${string}/${string}/messages/${string}`

    • Route for:

      • GET /webhooks/{webhook.id}/{webhook.token}/messages/@original
      • GET /webhooks/{webhook.id}/{webhook.token}/messages/{message.id}
      • PATCH /webhooks/{webhook.id}/{webhook.token}/messages/@original
      • PATCH /webhooks/{webhook.id}/{webhook.token}/messages/{message.id}
      • DELETE /webhooks/{webhook.id}/{webhook.token}/messages/@original
      • DELETE /webhooks/{webhook.id}/{webhook.token}/messages/{message.id}
      • PATCH /webhooks/{application.id}/{interaction.token}/messages/@original
      • PATCH /webhooks/{application.id}/{interaction.token}/messages/{message.id}
      • DELETE /webhooks/{application.id}/{interaction.token}/messages/{message.id}

      Parameters

      • webhookId: string
      • webhookToken: string
      • messageId: string = '@original'

      Returns `/webhooks/${string}/${string}/messages/${string}`

  • webhookPlatform: function
    • webhookPlatform(webhookId: string, webhookToken: string, platform: github | slack): `/webhooks/${string}/${string}/github` | `/webhooks/${string}/${string}/slack`

    • Route for:

      • POST /webhooks/{webhook.id}/{webhook.token}/github
      • POST /webhooks/{webhook.id}/{webhook.token}/slack

      Parameters

      • webhookId: string
      • webhookToken: string
      • platform: github | slack

      Returns `/webhooks/${string}/${string}/github` | `/webhooks/${string}/${string}/slack`