Skip to main content
Version: 0.37.100

discord-api-types/v10

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/v10

Type Aliases

APIActionRowComponentTypes

APIApplicationCommandAttachmentOption

APIApplicationCommandAttachmentOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.Attachment>

APIApplicationCommandAutocompleteDMInteraction

APIApplicationCommandAutocompleteDMInteraction: APIDMInteractionWrapper<APIApplicationCommandAutocompleteInteraction>

APIApplicationCommandAutocompleteGuildInteraction

APIApplicationCommandAutocompleteGuildInteraction: APIGuildInteractionWrapper<APIApplicationCommandAutocompleteInteraction>

APIApplicationCommandAutocompleteInteraction

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

APIApplicationCommandBasicOption

APIApplicationCommandBooleanOption

APIApplicationCommandBooleanOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.Boolean>

APIApplicationCommandDMInteraction

APIApplicationCommandGuildInteraction

APIApplicationCommandIntegerOption

APIApplicationCommandIntegerOption: APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<APIApplicationCommandIntegerOptionBase, APIApplicationCommandOptionChoice<number>>

APIApplicationCommandInteraction

APIApplicationCommandInteractionData

APIApplicationCommandInteractionDataAttachmentOption

APIApplicationCommandInteractionDataAttachmentOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Attachment, Snowflake>

APIApplicationCommandInteractionDataBasicOption

APIApplicationCommandInteractionDataBooleanOption

APIApplicationCommandInteractionDataBooleanOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Boolean, boolean>

APIApplicationCommandInteractionDataChannelOption

APIApplicationCommandInteractionDataChannelOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Channel, Snowflake>

APIApplicationCommandInteractionDataMentionableOption

APIApplicationCommandInteractionDataMentionableOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Mentionable, Snowflake>

APIApplicationCommandInteractionDataOption

APIApplicationCommandInteractionDataRoleOption

APIApplicationCommandInteractionDataRoleOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.Role, Snowflake>

APIApplicationCommandInteractionDataUserOption

APIApplicationCommandInteractionDataUserOption: APIInteractionDataOptionBase<ApplicationCommandOptionType.User, Snowflake>

APIApplicationCommandInteractionWrapper

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

APIApplicationCommandMentionableOption

APIApplicationCommandMentionableOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.Mentionable>

APIApplicationCommandNumberOption

APIApplicationCommandNumberOption: APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<APIApplicationCommandNumberOptionBase, APIApplicationCommandOptionChoice<number>>

APIApplicationCommandOption

APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper

APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<Base, ChoiceType>: (Base & { autocomplete: true; choices?: [] }) | (Base & { autocomplete?: false; choices?: ChoiceType[] })

APIApplicationCommandRoleOption

APIApplicationCommandRoleOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.Role>

APIApplicationCommandStringOption

APIApplicationCommandStringOption: APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper<APIApplicationCommandStringOptionBase, APIApplicationCommandOptionChoice<string>>

APIApplicationCommandUserOption

APIApplicationCommandUserOption: APIApplicationCommandOptionBase<ApplicationCommandOptionType.User>

APIApplicationIntegrationTypesConfigMap

APIApplicationIntegrationTypesConfigMap: { [ key in ApplicationIntegrationType ]?: APIApplicationIntegrationTypeConfiguration }

APIAuditLogChange

APIAuditLogChange: APIAuditLogChangeKey$Add | APIAuditLogChangeKey$Remove | APIAuditLogChangeKeyActions | APIAuditLogChangeKeyAFKChannelId | APIAuditLogChangeKeyAFKTimeout | APIAuditLogChangeKeyAllow | APIAuditLogChangeKeyApplicationId | APIAuditLogChangeKeyArchived | APIAuditLogChangeKeyAsset | APIAuditLogChangeKeyAutoArchiveDuration | APIAuditLogChangeKeyAvailable | APIAuditLogChangeKeyAvailableTags | APIAuditLogChangeKeyAvatarHash | APIAuditLogChangeKeyBannerHash | APIAuditLogChangeKeyBitrate | APIAuditLogChangeKeyChannelId | APIAuditLogChangeKeyCode | APIAuditLogChangeKeyColor | APIAuditLogChangeKeyCommunicationDisabledUntil | APIAuditLogChangeKeyDeaf | APIAuditLogChangeKeyDefaultAutoArchiveDuration | APIAuditLogChangeKeyDefaultMessageNotifications | APIAuditLogChangeKeyDefaultReactionEmoji | APIAuditLogChangeKeyDefaultThreadRateLimitPerUser | APIAuditLogChangeKeyDeny | APIAuditLogChangeKeyDescription | APIAuditLogChangeKeyDiscoverySplashHash | APIAuditLogChangeKeyEnabled | APIAuditLogChangeKeyEnableEmoticons | APIAuditLogChangeKeyEntityType | APIAuditLogChangeKeyEventType | APIAuditLogChangeKeyExemptChannels | APIAuditLogChangeKeyExemptRoles | APIAuditLogChangeKeyExpireBehavior | APIAuditLogChangeKeyExpireGracePeriod | APIAuditLogChangeKeyExplicitContentFilter | APIAuditLogChangeKeyFlags | APIAuditLogChangeKeyFormatType | APIAuditLogChangeKeyGuildId | APIAuditLogChangeKeyHoist | APIAuditLogChangeKeyIconHash | APIAuditLogChangeKeyId | APIAuditLogChangeKeyImageHash | APIAuditLogChangeKeyInviterId | APIAuditLogChangeKeyLocation | APIAuditLogChangeKeyLocked | APIAuditLogChangeKeyMaxAge | APIAuditLogChangeKeyMaxUses | APIAuditLogChangeKeyMentionable | APIAuditLogChangeKeyMFALevel | APIAuditLogChangeKeyMute | APIAuditLogChangeKeyName | APIAuditLogChangeKeyNick | APIAuditLogChangeKeyNSFW | APIAuditLogChangeKeyOwnerId | APIAuditLogChangeKeyPermissionOverwrites | APIAuditLogChangeKeyPermissions | APIAuditLogChangeKeyPosition | APIAuditLogChangeKeyPreferredLocale | APIAuditLogChangeKeyPrivacyLevel | APIAuditLogChangeKeyPruneDeleteDays | APIAuditLogChangeKeyPublicUpdatesChannelId | APIAuditLogChangeKeyRateLimitPerUser | APIAuditLogChangeKeyRegion | APIAuditLogChangeKeyRulesChannelId | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyStatus | APIAuditLogChangeKeySystemChannelFlags | APIAuditLogChangeKeySystemChannelId | APIAuditLogChangeKeyTags | APIAuditLogChangeKeyTemporary | APIAuditLogChangeKeyTopic | APIAuditLogChangeKeyTriggerMetadata | APIAuditLogChangeKeyTriggerType | APIAuditLogChangeKeyType | APIAuditLogChangeKeyUserLimit | APIAuditLogChangeKeyUses | APIAuditLogChangeKeyVanityURLCode | APIAuditLogChangeKeyVerificationLevel | APIAuditLogChangeKeyWidgetChannelId | APIAuditLogChangeKeyWidgetEnabled

APIAuditLogChangeKey$Add

APIAuditLogChangeKey$Add: AuditLogChangeData<$add, Pick<APIRole, id | name>[]>

Returned when new role(s) are added

APIAuditLogChangeKey$Remove

APIAuditLogChangeKey$Remove: AuditLogChangeData<$remove, Pick<APIRole, id | name>[]>

Returned when role(s) are removed

APIAuditLogChangeKeyAFKChannelId

APIAuditLogChangeKeyAFKChannelId: AuditLogChangeData<afk_channel_id, Snowflake>

Returned when a guild’s afk_channel_id is changed

APIAuditLogChangeKeyAFKTimeout

APIAuditLogChangeKeyAFKTimeout: AuditLogChangeData<afk_timeout, number>

Returned when a guild’s afk_timeout is changed

APIAuditLogChangeKeyActions

APIAuditLogChangeKeyActions: AuditLogChangeData<actions, APIAutoModerationAction[]>

Returned when an auto moderation rule’s actions is changed

APIAuditLogChangeKeyAllow

APIAuditLogChangeKeyAllow: AuditLogChangeData<allow, string>

Returned when an overwrite’s allowed permissions bitfield is changed

APIAuditLogChangeKeyApplicationId

APIAuditLogChangeKeyApplicationId: AuditLogChangeData<application_id, Snowflake>

The application ID of the added or removed Webhook or Bot

APIAuditLogChangeKeyArchived

APIAuditLogChangeKeyArchived: AuditLogChangeData<archived, boolean>

Returned when a thread’s archive status is changed

APIAuditLogChangeKeyAsset

APIAuditLogChangeKeyAsset: AuditLogChangeData<asset, >

Empty string

APIAuditLogChangeKeyAutoArchiveDuration

APIAuditLogChangeKeyAutoArchiveDuration: AuditLogChangeData<auto_archive_duration, number>

Returned when a thread’s auto archive duration is changed

APIAuditLogChangeKeyAvailable

APIAuditLogChangeKeyAvailable: AuditLogChangeData<available, boolean>

Returned when a sticker’s availability is changed

APIAuditLogChangeKeyAvailableTags

APIAuditLogChangeKeyAvailableTags: AuditLogChangeData<available_tags, APIGuildForumTag[]>

Returned when a guild forum’s available tags gets changed

APIAuditLogChangeKeyAvatarHash

APIAuditLogChangeKeyAvatarHash: AuditLogChangeData<avatar_hash, string>

Returned when a user’s avatar_hash is changed

APIAuditLogChangeKeyBannerHash

APIAuditLogChangeKeyBannerHash: AuditLogChangeData<banner_hash, string>

Returned when a guild’s banner hash is changed

APIAuditLogChangeKeyBitrate

APIAuditLogChangeKeyBitrate: AuditLogChangeData<bitrate, number>

Returned when a voice channel’s bitrate is changed

APIAuditLogChangeKeyChannelId

APIAuditLogChangeKeyChannelId: AuditLogChangeData<channel_id, Snowflake>

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

APIAuditLogChangeKeyCode

APIAuditLogChangeKeyCode: AuditLogChangeData<code, string>

Returned when an invite’s code is changed

APIAuditLogChangeKeyColor

APIAuditLogChangeKeyColor: AuditLogChangeData<color, number>

Returned when a role’s color is changed

APIAuditLogChangeKeyCommunicationDisabledUntil

APIAuditLogChangeKeyCommunicationDisabledUntil: AuditLogChangeData<communication_disabled_until, string>

Returned when a user’s timeout is changed

APIAuditLogChangeKeyDeaf

APIAuditLogChangeKeyDeaf: AuditLogChangeData<deaf, boolean>

Returned when a user’s deaf status is changed

APIAuditLogChangeKeyDefaultAutoArchiveDuration

APIAuditLogChangeKeyDefaultAutoArchiveDuration: AuditLogChangeData<default_auto_archive_duration, number>

Returned when a channel’s default auto archive duration for newly created threads is changed

APIAuditLogChangeKeyDefaultMessageNotifications

APIAuditLogChangeKeyDefaultMessageNotifications: AuditLogChangeData<default_message_notifications, GuildDefaultMessageNotifications>

Returned when a guild’s default_message_notifications is changed

APIAuditLogChangeKeyDefaultReactionEmoji

APIAuditLogChangeKeyDefaultReactionEmoji: AuditLogChangeData<default_reaction_emoji, APIGuildForumDefaultReactionEmoji>

Returned when a guild forum’s default reaction emoji gets changed

APIAuditLogChangeKeyDefaultThreadRateLimitPerUser

APIAuditLogChangeKeyDefaultThreadRateLimitPerUser: AuditLogChangeData<default_thread_rate_limit_per_user, number>

Returned when a thread’s amount of seconds a user has to wait before creating another thread gets changed

APIAuditLogChangeKeyDeny

APIAuditLogChangeKeyDeny: AuditLogChangeData<deny, string>

Returned when an overwrite’s denied permissions bitfield is changed

APIAuditLogChangeKeyDescription

APIAuditLogChangeKeyDescription: AuditLogChangeData<description, string>

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

APIAuditLogChangeKeyDiscoverySplashHash

APIAuditLogChangeKeyDiscoverySplashHash: AuditLogChangeData<discovery_splash_hash, string>

Returned when a guild’s discovery splash is changed

APIAuditLogChangeKeyEnableEmoticons

APIAuditLogChangeKeyEnableEmoticons: AuditLogChangeData<enable_emoticons, boolean>

Returned when an integration’s enable_emoticons is changed

APIAuditLogChangeKeyEnabled

APIAuditLogChangeKeyEnabled: AuditLogChangeData<enabled, boolean>

Returned when an auto moderation rule’s enabled status is changed

APIAuditLogChangeKeyEntityType

APIAuditLogChangeKeyEntityType: AuditLogChangeData<entity_type, GuildScheduledEventEntityType>

Returned when entity type of a guild scheduled event is changed

APIAuditLogChangeKeyEventType

APIAuditLogChangeKeyEventType: AuditLogChangeData<event_type, AutoModerationRuleEventType>

Returned when an auto moderation rule’s event type is changed

APIAuditLogChangeKeyExemptChannels

APIAuditLogChangeKeyExemptChannels: AuditLogChangeData<exempt_channels, Snowflake[]>

Returned when an auto moderation rule’s exempt channels is changed

APIAuditLogChangeKeyExemptRoles

APIAuditLogChangeKeyExemptRoles: AuditLogChangeData<exempt_roles, Snowflake[]>

Returned when an auto moderation rule’s exempt roles is changed

APIAuditLogChangeKeyExpireBehavior

APIAuditLogChangeKeyExpireBehavior: AuditLogChangeData<expire_behavior, IntegrationExpireBehavior>

Returned when an integration’s expire_behavior is changed

APIAuditLogChangeKeyExpireGracePeriod

APIAuditLogChangeKeyExpireGracePeriod: AuditLogChangeData<expire_grace_period, number>

Returned when an integration’s expire_grace_period is changed

APIAuditLogChangeKeyExplicitContentFilter

APIAuditLogChangeKeyExplicitContentFilter: AuditLogChangeData<explicit_content_filter, GuildExplicitContentFilter>

Returned when a guild’s explicit_content_filter is changed

APIAuditLogChangeKeyFlags

APIAuditLogChangeKeyFlags: AuditLogChangeData<flags, number>

Returned when a channel flag gets changed

APIAuditLogChangeKeyFormatType

APIAuditLogChangeKeyFormatType: AuditLogChangeData<format_type, StickerFormatType>

Returned when a sticker’s format_type is changed

APIAuditLogChangeKeyGuildId

APIAuditLogChangeKeyGuildId: AuditLogChangeData<guild_id, Snowflake>

Returned when a sticker’s guild_id is changed

APIAuditLogChangeKeyHoist

APIAuditLogChangeKeyHoist: AuditLogChangeData<hoist, boolean>

Returned when a role’s hoist status is changed

APIAuditLogChangeKeyIconHash

APIAuditLogChangeKeyIconHash: AuditLogChangeData<icon_hash, string>

Returned when a guild’s icon is changed

APIAuditLogChangeKeyId

APIAuditLogChangeKeyId: AuditLogChangeData<id, Snowflake>

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

APIAuditLogChangeKeyImageHash

APIAuditLogChangeKeyImageHash: AuditLogChangeData<image_hash, string>

Returned when a guild’s scheduled event’s cover image is changed

APIAuditLogChangeKeyInviterId

APIAuditLogChangeKeyInviterId: AuditLogChangeData<inviter_id, Snowflake>

Returned when an invite’s inviter_id is changed

APIAuditLogChangeKeyLocation

APIAuditLogChangeKeyLocation: AuditLogChangeData<location, string>

Returned when location of a guild scheduled event is changed

APIAuditLogChangeKeyLocked

APIAuditLogChangeKeyLocked: AuditLogChangeData<locked, boolean>

Returned when a thread’s lock status is changed

APIAuditLogChangeKeyMFALevel

APIAuditLogChangeKeyMFALevel: AuditLogChangeData<mfa_level, GuildMFALevel>

Returned when a guild’s mfa_level is changed

APIAuditLogChangeKeyMaxAge

APIAuditLogChangeKeyMaxAge: AuditLogChangeData<max_age, number>

Returned when an invite’s max_age is changed

APIAuditLogChangeKeyMaxUses

APIAuditLogChangeKeyMaxUses: AuditLogChangeData<max_uses, number>

Returned when an invite’s max_uses is changed

APIAuditLogChangeKeyMentionable

APIAuditLogChangeKeyMentionable: AuditLogChangeData<mentionable, boolean>

Returned when a role’s mentionable status is changed

APIAuditLogChangeKeyMute

APIAuditLogChangeKeyMute: AuditLogChangeData<mute, boolean>

Returned when a user’s mute status is changed

APIAuditLogChangeKeyNSFW

APIAuditLogChangeKeyNSFW: AuditLogChangeData<nsfw, boolean>

Returned when a channel’s NSFW restriction is changed

APIAuditLogChangeKeyName

APIAuditLogChangeKeyName: AuditLogChangeData<name, string>

Returned when an entity’s name is changed

APIAuditLogChangeKeyNick

APIAuditLogChangeKeyNick: AuditLogChangeData<nick, string>

Returned when a user’s nick is changed

APIAuditLogChangeKeyOwnerId

APIAuditLogChangeKeyOwnerId: AuditLogChangeData<owner_id, Snowflake>

Returned when a guild’s owner_id is changed

APIAuditLogChangeKeyPermissionOverwrites

APIAuditLogChangeKeyPermissionOverwrites: AuditLogChangeData<permission_overwrites, APIOverwrite[]>

Returned when a channel’s permission overwrites is changed

APIAuditLogChangeKeyPermissions

APIAuditLogChangeKeyPermissions: AuditLogChangeData<permissions, string>

Returned when a permission bitfield is changed

APIAuditLogChangeKeyPosition

APIAuditLogChangeKeyPosition: AuditLogChangeData<position, number>

Returned when a channel’s position is changed

APIAuditLogChangeKeyPreferredLocale

APIAuditLogChangeKeyPreferredLocale: AuditLogChangeData<preferred_locale, string>

Returned when a guild’s preferred_locale is changed

APIAuditLogChangeKeyPrivacyLevel

APIAuditLogChangeKeyPrivacyLevel: AuditLogChangeData<privacy_level, StageInstancePrivacyLevel>

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

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

APIAuditLogChangeKeyPublicUpdatesChannelId

APIAuditLogChangeKeyPublicUpdatesChannelId: AuditLogChangeData<public_updates_channel_id, string>

Returned when a guild’s public_updates_channel_id is changed

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

APIAuditLogChangeKeyRegion

APIAuditLogChangeKeyRegion: AuditLogChangeData<region, string>

Returned when a guild’s region is changed

APIAuditLogChangeKeyRulesChannelId

APIAuditLogChangeKeyRulesChannelId: AuditLogChangeData<rules_channel_id, string>

Returned when a guild’s rules_channel_id is changed

APIAuditLogChangeKeySafetyAlertsChannelId

APIAuditLogChangeKeySafetyAlertsChannelId: AuditLogChangeData<safety_alerts_channel_id, string>

Returned when a guild’s safety_alerts_channel_id is changed

APIAuditLogChangeKeySnowflake

APIAuditLogChangeKeySnowflake: AuditLogChangeData<Snowflake, unknown>

Represents a change where the key is a snowflake. Currently, the only known instance of this is returned when permissions for a command were updated (

<insert name of object here>
)

APIAuditLogChangeKeySplashHash

APIAuditLogChangeKeySplashHash: AuditLogChangeData<splash_hash, string>

Returned when a guild’s splash is changed

APIAuditLogChangeKeyStatus

APIAuditLogChangeKeyStatus: AuditLogChangeData<status, GuildScheduledEventStatus>

Returned when status of a guild scheduled event is changed

APIAuditLogChangeKeySystemChannelFlags

APIAuditLogChangeKeySystemChannelFlags: AuditLogChangeData<system_channel_flags, GuildSystemChannelFlags>

Returned when a guild’s system_channel_flags is changed

APIAuditLogChangeKeySystemChannelId

APIAuditLogChangeKeySystemChannelId: AuditLogChangeData<system_channel_id, Snowflake>

Returned when a guild’s system_channel_id is changed

APIAuditLogChangeKeyTags

APIAuditLogChangeKeyTags: AuditLogChangeData<tags, string>

Returned when a sticker’s related emoji is changed

APIAuditLogChangeKeyTemporary

APIAuditLogChangeKeyTemporary: AuditLogChangeData<temporary, boolean>

Returned when an invite’s temporary status is changed

APIAuditLogChangeKeyTopic

APIAuditLogChangeKeyTopic: AuditLogChangeData<topic, string>

Returned when a channel’s topic is changed

APIAuditLogChangeKeyTriggerMetadata

APIAuditLogChangeKeyTriggerMetadata: AuditLogChangeData<trigger_metadata, APIAutoModerationRuleTriggerMetadata>

Returned when an auto moderation rule’s trigger metadata is changed

APIAuditLogChangeKeyTriggerType

APIAuditLogChangeKeyTriggerType: AuditLogChangeData<trigger_type, AutoModerationRuleTriggerType>

Returned when an auto moderation rule’s trigger type is changed (only in rule creation or deletion)

APIAuditLogChangeKeyType

APIAuditLogChangeKeyType: AuditLogChangeData<type, number | string>

The type of entity created

APIAuditLogChangeKeyUserLimit

APIAuditLogChangeKeyUserLimit: AuditLogChangeData<user_limit, number>

Returned when a voice channel’s user_limit is changed

APIAuditLogChangeKeyUses

APIAuditLogChangeKeyUses: AuditLogChangeData<uses, number>

Returned when an invite’s uses is changed

APIAuditLogChangeKeyVanityURLCode

APIAuditLogChangeKeyVanityURLCode: AuditLogChangeData<vanity_url_code, string>

Returned when a guild’s vanity_url_code is changed

APIAuditLogChangeKeyVerificationLevel

APIAuditLogChangeKeyVerificationLevel: AuditLogChangeData<verification_level, GuildVerificationLevel>

Returned when a guild’s verification_level is changed

APIAuditLogChangeKeyWidgetChannelId

APIAuditLogChangeKeyWidgetChannelId: AuditLogChangeData<widget_channel_id, Snowflake>

Returned when a guild’s widget_channel_id is changed

APIAuditLogChangeKeyWidgetEnabled

APIAuditLogChangeKeyWidgetEnabled: AuditLogChangeData<widget_enabled, boolean>

Returned when a guild’s widget is enabled

APIAuthorizingIntegrationOwnersMap

APIAuthorizingIntegrationOwnersMap: { [ key in ApplicationIntegrationType ]?: Snowflake }

APIAutoPopulatedSelectMenuComponent

APIButtonComponent

APIChannel

APIChannelPatchOverwrite

APIChannelPatchOverwrite: RESTAPIChannelPatchOverwrite
@deprecated

APIChatInputApplicationCommandDMInteraction

APIChatInputApplicationCommandDMInteraction: APIDMInteractionWrapper<APIChatInputApplicationCommandInteraction>

APIChatInputApplicationCommandGuildInteraction

APIChatInputApplicationCommandGuildInteraction: APIGuildInteractionWrapper<APIChatInputApplicationCommandInteraction>

APIChatInputApplicationCommandInteraction

APIChatInputApplicationCommandInteractionDataResolved

APIChatInputApplicationCommandInteractionDataResolved: APIInteractionDataResolved
@deprecated

Renamed to APIInteractionDataResolved

APIContextMenuDMInteraction

APIContextMenuGuildInteraction

APIContextMenuInteraction

APIContextMenuInteractionData

APIDMInteraction

APIDMInteractionWrapper

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

Type parameters

APIGuildCategoryChannel

APIGuildCategoryChannel: APIGuildChannel<ChannelType.GuildCategory>

APIGuildChannelResolvable

APIGuildChannelResolvable: RESTAPIGuildChannelResolvable
@deprecated

APIGuildCreateOverwrite

APIGuildCreateOverwrite: RESTAPIGuildCreateOverwrite
@deprecated

APIGuildCreatePartialChannel

APIGuildCreatePartialChannel: RESTAPIGuildCreatePartialChannel
@deprecated

APIGuildCreateRole

APIGuildCreateRole: RESTAPIGuildCreateRole
@deprecated

APIGuildIntegrationType

APIGuildIntegrationType: discord | guild_subscription | twitch | youtube

APIGuildInteraction

APIGuildInteractionWrapper

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

Type parameters

APIGuildMediaChannel

APIGuildMediaChannel: APIThreadOnlyChannel<ChannelType.GuildMedia>

APIGuildScheduledEvent

APIGuildStageVoiceChannel

APIGuildStageVoiceChannel: APIVoiceChannelBase<ChannelType.GuildStageVoice>

APIGuildVoiceChannel

APIGuildVoiceChannel: APIVoiceChannelBase<ChannelType.GuildVoice>

APIInteraction

APIInteractionDataResolvedChannel

APIInteractionDataResolvedChannel: APIInteractionDataResolvedChannelBase<Exclude<ChannelType, ThreadChannelType>> | (APIInteractionDataResolvedChannelBase<ThreadChannelType> & Pick<APIThreadChannel, parent_id | thread_metadata>)

APIInteractionResponse

APIInteractionResponseCallbackData

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

APIInviteGuild

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

APIMentionableSelectComponent

APIMentionableSelectComponent: APIBaseAutoPopulatedSelectMenuComponent<ComponentType.MentionableSelect, SelectMenuDefaultValueType.Role | SelectMenuDefaultValueType.User>

APIMessageActionRowComponent

APIMessageActionRowComponent: APIButtonComponent | APISelectMenuComponent

APIMessageApplicationCommandDMInteraction

APIMessageApplicationCommandDMInteraction: APIDMInteractionWrapper<APIMessageApplicationCommandInteraction>

APIMessageApplicationCommandGuildInteraction

APIMessageApplicationCommandGuildInteraction: APIGuildInteractionWrapper<APIMessageApplicationCommandInteraction>

APIMessageApplicationCommandInteraction

APIMessageButtonInteractionData

APIMessageButtonInteractionData: APIMessageComponentBaseInteractionData<ComponentType.Button>

APIMessageComponent

APIMessageComponentButtonInteraction

APIMessageComponentButtonInteraction: APIBaseInteraction<InteractionType.MessageComponent, APIMessageButtonInteractionData> & Required<Pick<APIBaseInteraction<InteractionType.MessageComponent, APIMessageButtonInteractionData>, app_permissions | channel_id | channel | data | message>>

APIMessageComponentDMInteraction

APIMessageComponentDMInteraction: APIDMInteractionWrapper<APIMessageComponentInteraction>

APIMessageComponentGuildInteraction

APIMessageComponentGuildInteraction: APIGuildInteractionWrapper<APIMessageComponentInteraction>

APIMessageComponentInteraction

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

APIMessageComponentInteractionData

APIMessageComponentSelectMenuInteraction

APIMessageComponentSelectMenuInteraction: APIBaseInteraction<InteractionType.MessageComponent, APIMessageSelectMenuInteractionData> & Required<Pick<APIBaseInteraction<InteractionType.MessageComponent, APIMessageSelectMenuInteractionData>, app_permissions | channel_id | channel | data | message>>

APIMessageReferenceSend

APIMessageReferenceSend: RESTAPIMessageReference
@deprecated

APIMessageSelectMenuInteractionData

APIMessageSnapshotFields

APIMessageSnapshotFields: Pick<APIMessage, attachments | components | content | edited_timestamp | embeds | flags | mention_roles | mentions | sticker_items | stickers | timestamp | type>

APIModalActionRowComponent

APIModalActionRowComponent: APITextInputComponent

APIModalComponent

APIModalSubmitDMInteraction

APIModalSubmitGuildInteraction

APIModalSubmitGuildInteraction: APIGuildInteractionWrapper<APIModalSubmitInteraction>

APIModalSubmitInteraction

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

APINewsChannel

APINewsChannel: APIGuildTextChannel<ChannelType.GuildAnnouncement>

APIPingInteraction

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

APIRoleSelectComponent

APIRoleSelectComponent: APIBaseAutoPopulatedSelectMenuComponent<ComponentType.RoleSelect, SelectMenuDefaultValueType.Role>

APISelectMenuComponent

APIStickerItem

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

APITextChannel

APITextChannel: APIGuildTextChannel<ChannelType.GuildText>

APIUserApplicationCommandDMInteraction

APIUserApplicationCommandDMInteraction: APIDMInteractionWrapper<APIUserApplicationCommandInteraction>

APIUserApplicationCommandGuildInteraction

APIUserApplicationCommandGuildInteraction: APIGuildInteractionWrapper<APIUserApplicationCommandInteraction>

APIUserApplicationCommandInteraction

APIUserApplicationCommandInteractionDataResolved

APIUserApplicationCommandInteractionDataResolved: APIUserInteractionDataResolved
@deprecated

Renamed to APIUserInteractionDataResolved

APIUserInteractionDataResolved

APIUserInteractionDataResolved: Pick<APIInteractionDataResolved, members> & Required<Pick<APIInteractionDataResolved, users>>

users and optional members from APIInteractionDataResolved, for user commands and user selects

APIUserSelectComponent

APIUserSelectComponent: APIBaseAutoPopulatedSelectMenuComponent<ComponentType.UserSelect, SelectMenuDefaultValueType.User>

AchievementIconFormat

AchievementIconFormat: Exclude<ImageFormat, ImageFormat.GIF | ImageFormat.Lottie>

ApplicationAssetFormat

ApplicationAssetFormat: Exclude<ImageFormat, ImageFormat.GIF | ImageFormat.Lottie>

ApplicationCoverFormat

ApplicationCoverFormat: Exclude<ImageFormat, ImageFormat.GIF | ImageFormat.Lottie>

ApplicationIconFormat

ApplicationIconFormat: Exclude<ImageFormat, ImageFormat.GIF | ImageFormat.Lottie>

AuditLogRuleTriggerType

AuditLogRuleTriggerType: `${AutoModerationRuleTriggerType}`

DefaultUserAvatar

DefaultUserAvatar: Extract<ImageFormat, ImageFormat.PNG>

DefaultUserAvatarAssets

DefaultUserAvatarAssets: 0 | 1 | 2 | 3 | 4 | 5

EmojiFormat

EmojiFormat: Exclude<ImageFormat, ImageFormat.Lottie>

GatewayActivityAssets

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

GatewayActivityEmoji

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

GatewayActivitySecrets

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

GatewayActivityUpdateData

GatewayActivityUpdateData: Pick<GatewayActivity, name | state | type | url>

GatewayApplicationCommandPermissionsUpdateDispatch

GatewayApplicationCommandPermissionsUpdateDispatch: DataPayload<GatewayDispatchEvents.ApplicationCommandPermissionsUpdate, GatewayApplicationCommandPermissionsUpdateDispatchData>

GatewayAutoModerationActionExecutionDispatch

GatewayAutoModerationActionExecutionDispatch: DataPayload<GatewayDispatchEvents.AutoModerationActionExecution, GatewayAutoModerationActionExecutionDispatchData>

GatewayAutoModerationRuleCreateDispatch

GatewayAutoModerationRuleCreateDispatch: GatewayAutoModerationRuleModifyDispatch

GatewayAutoModerationRuleCreateDispatchData

GatewayAutoModerationRuleCreateDispatchData: GatewayAutoModerationRuleModifyDispatchData

GatewayAutoModerationRuleDeleteDispatch

GatewayAutoModerationRuleDeleteDispatch: GatewayAutoModerationRuleModifyDispatch

GatewayAutoModerationRuleDeleteDispatchData

GatewayAutoModerationRuleDeleteDispatchData: GatewayAutoModerationRuleModifyDispatchData

GatewayAutoModerationRuleModifyDispatch

GatewayAutoModerationRuleModifyDispatch: DataPayload<GatewayDispatchEvents.AutoModerationRuleCreate | GatewayDispatchEvents.AutoModerationRuleDelete | GatewayDispatchEvents.AutoModerationRuleUpdate, GatewayAutoModerationRuleModifyDispatchData>

GatewayAutoModerationRuleModifyDispatchData

GatewayAutoModerationRuleModifyDispatchData: APIAutoModerationRule

GatewayAutoModerationRuleUpdateDispatch

GatewayAutoModerationRuleUpdateDispatch: GatewayAutoModerationRuleModifyDispatch

GatewayAutoModerationRuleUpdateDispatchData

GatewayAutoModerationRuleUpdateDispatchData: GatewayAutoModerationRuleModifyDispatchData

GatewayChannelCreateDispatch

GatewayChannelCreateDispatch: GatewayChannelModifyDispatch

GatewayChannelCreateDispatchData

GatewayChannelCreateDispatchData: GatewayChannelModifyDispatchData

GatewayChannelDeleteDispatch

GatewayChannelDeleteDispatch: GatewayChannelModifyDispatch

GatewayChannelDeleteDispatchData

GatewayChannelDeleteDispatchData: GatewayChannelModifyDispatchData

GatewayChannelModifyDispatch

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

GatewayChannelModifyDispatchData

GatewayChannelModifyDispatchData: APIChannel

GatewayChannelPinsUpdateDispatch

GatewayChannelPinsUpdateDispatch: DataPayload<GatewayDispatchEvents.ChannelPinsUpdate, GatewayChannelPinsUpdateDispatchData>

GatewayChannelUpdateDispatch

GatewayChannelUpdateDispatch: GatewayChannelModifyDispatch

GatewayChannelUpdateDispatchData

GatewayChannelUpdateDispatchData: GatewayChannelModifyDispatchData

GatewayDispatchPayload

GatewayDispatchPayload: GatewayApplicationCommandPermissionsUpdateDispatch | GatewayAutoModerationActionExecutionDispatch | GatewayAutoModerationRuleCreateDispatch | GatewayAutoModerationRuleDeleteDispatch | GatewayAutoModerationRuleModifyDispatch | GatewayChannelModifyDispatch | GatewayChannelPinsUpdateDispatch | GatewayEntitlementModifyDispatch | GatewayGuildAuditLogEntryCreateDispatch | GatewayGuildBanModifyDispatch | GatewayGuildCreateDispatch | GatewayGuildDeleteDispatch | GatewayGuildEmojisUpdateDispatch | GatewayGuildIntegrationsUpdateDispatch | GatewayGuildMemberAddDispatch | GatewayGuildMemberRemoveDispatch | GatewayGuildMembersChunkDispatch | GatewayGuildMemberUpdateDispatch | GatewayGuildModifyDispatch | GatewayGuildRoleDeleteDispatch | GatewayGuildRoleModifyDispatch | GatewayGuildScheduledEventCreateDispatch | GatewayGuildScheduledEventDeleteDispatch | GatewayGuildScheduledEventUpdateDispatch | GatewayGuildScheduledEventUserAddDispatch | GatewayGuildScheduledEventUserRemoveDispatch | GatewayGuildStickersUpdateDispatch | GatewayIntegrationCreateDispatch | GatewayIntegrationDeleteDispatch | GatewayIntegrationUpdateDispatch | GatewayInteractionCreateDispatch | GatewayInviteCreateDispatch | GatewayInviteDeleteDispatch | GatewayMessageCreateDispatch | GatewayMessageDeleteBulkDispatch | GatewayMessageDeleteDispatch | GatewayMessagePollVoteAddDispatch | GatewayMessagePollVoteRemoveDispatch | GatewayMessageReactionAddDispatch | GatewayMessageReactionRemoveAllDispatch | GatewayMessageReactionRemoveDispatch | GatewayMessageReactionRemoveEmojiDispatch | GatewayMessageUpdateDispatch | GatewayPresenceUpdateDispatch | GatewayReadyDispatch | GatewayResumedDispatch | GatewayStageInstanceCreateDispatch | GatewayStageInstanceDeleteDispatch | GatewayStageInstanceUpdateDispatch | GatewayThreadCreateDispatch | GatewayThreadDeleteDispatch | GatewayThreadListSyncDispatch | GatewayThreadMembersUpdateDispatch | GatewayThreadMemberUpdateDispatch | GatewayThreadUpdateDispatch | GatewayTypingStartDispatch | GatewayUserUpdateDispatch | GatewayVoiceServerUpdateDispatch | GatewayVoiceStateUpdateDispatch | GatewayWebhooksUpdateDispatch

GatewayEntitlementCreateDispatch

GatewayEntitlementCreateDispatch: GatewayEntitlementModifyDispatch

GatewayEntitlementCreateDispatchData

GatewayEntitlementCreateDispatchData: Omit<GatewayEntitlementModifyDispatchData, ends_at> & { ends_at: GatewayEntitlementModifyDispatchData[ends_at] | null }

GatewayEntitlementDeleteDispatch

GatewayEntitlementDeleteDispatch: GatewayEntitlementModifyDispatch

GatewayEntitlementDeleteDispatchData

GatewayEntitlementDeleteDispatchData: GatewayEntitlementModifyDispatchData

GatewayEntitlementModifyDispatch

GatewayEntitlementModifyDispatch: DataPayload<GatewayDispatchEvents.EntitlementCreate | GatewayDispatchEvents.EntitlementDelete | GatewayDispatchEvents.EntitlementUpdate, GatewayEntitlementModifyDispatchData>

GatewayEntitlementModifyDispatchData

GatewayEntitlementModifyDispatchData: APIEntitlement

GatewayEntitlementUpdateDispatch

GatewayEntitlementUpdateDispatch: GatewayEntitlementModifyDispatch

GatewayEntitlementUpdateDispatchData

GatewayEntitlementUpdateDispatchData: GatewayEntitlementModifyDispatchData

GatewayGuildAuditLogEntryCreateDispatch

GatewayGuildAuditLogEntryCreateDispatch: DataPayload<GatewayDispatchEvents.GuildAuditLogEntryCreate, GatewayGuildAuditLogEntryCreateDispatchData>

GatewayGuildBanAddDispatch

GatewayGuildBanAddDispatch: GatewayGuildBanModifyDispatch

GatewayGuildBanAddDispatchData

GatewayGuildBanAddDispatchData: GatewayGuildBanModifyDispatchData

GatewayGuildBanModifyDispatch

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

GatewayGuildBanRemoveDispatch

GatewayGuildBanRemoveDispatch: GatewayGuildBanModifyDispatch

GatewayGuildBanRemoveDispatchData

GatewayGuildBanRemoveDispatchData: GatewayGuildBanModifyDispatchData

GatewayGuildCreateDispatch

GatewayGuildCreateDispatch: DataPayload<GatewayDispatchEvents.GuildCreate, GatewayGuildCreateDispatchData>

GatewayGuildDeleteDispatch

GatewayGuildDeleteDispatch: DataPayload<GatewayDispatchEvents.GuildDelete, GatewayGuildDeleteDispatchData>

GatewayGuildEmojisUpdateDispatch

GatewayGuildEmojisUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildEmojisUpdate, GatewayGuildEmojisUpdateDispatchData>

GatewayGuildIntegrationsUpdateDispatch

GatewayGuildIntegrationsUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildIntegrationsUpdate, GatewayGuildIntegrationsUpdateDispatchData>

GatewayGuildMemberAddDispatch

GatewayGuildMemberAddDispatch: DataPayload<GatewayDispatchEvents.GuildMemberAdd, GatewayGuildMemberAddDispatchData>

GatewayGuildMemberRemoveDispatch

GatewayGuildMemberRemoveDispatch: DataPayload<GatewayDispatchEvents.GuildMemberRemove, GatewayGuildMemberRemoveDispatchData>

GatewayGuildMemberUpdateDispatch

GatewayGuildMemberUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildMemberUpdate, GatewayGuildMemberUpdateDispatchData>

GatewayGuildMemberUpdateDispatchData

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

GatewayGuildMembersChunkDispatch

GatewayGuildMembersChunkDispatch: DataPayload<GatewayDispatchEvents.GuildMembersChunk, GatewayGuildMembersChunkDispatchData>

GatewayGuildMembersChunkPresence

GatewayGuildMembersChunkPresence: Omit<RawGatewayPresenceUpdate, guild_id>

GatewayGuildModifyDispatch

GatewayGuildModifyDispatch: DataPayload<GatewayDispatchEvents.GuildUpdate, GatewayGuildModifyDispatchData>

GatewayGuildModifyDispatchData

GatewayGuildModifyDispatchData: APIGuild

GatewayGuildRoleCreateDispatch

GatewayGuildRoleCreateDispatch: GatewayGuildRoleModifyDispatch

GatewayGuildRoleCreateDispatchData

GatewayGuildRoleCreateDispatchData: GatewayGuildRoleModifyDispatchData

GatewayGuildRoleDeleteDispatch

GatewayGuildRoleDeleteDispatch: DataPayload<GatewayDispatchEvents.GuildRoleDelete, GatewayGuildRoleDeleteDispatchData>

GatewayGuildRoleModifyDispatch

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

GatewayGuildRoleUpdateDispatch

GatewayGuildRoleUpdateDispatch: GatewayGuildRoleModifyDispatch

GatewayGuildRoleUpdateDispatchData

GatewayGuildRoleUpdateDispatchData: GatewayGuildRoleModifyDispatchData

GatewayGuildScheduledEventCreateDispatch

GatewayGuildScheduledEventCreateDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventCreate, GatewayGuildScheduledEventCreateDispatchData>

GatewayGuildScheduledEventCreateDispatchData

GatewayGuildScheduledEventCreateDispatchData: APIGuildScheduledEvent

GatewayGuildScheduledEventDeleteDispatch

GatewayGuildScheduledEventDeleteDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventDelete, GatewayGuildScheduledEventDeleteDispatchData>

GatewayGuildScheduledEventDeleteDispatchData

GatewayGuildScheduledEventDeleteDispatchData: APIGuildScheduledEvent

GatewayGuildScheduledEventUpdateDispatch

GatewayGuildScheduledEventUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventUpdate, GatewayGuildScheduledEventUpdateDispatchData>

GatewayGuildScheduledEventUpdateDispatchData

GatewayGuildScheduledEventUpdateDispatchData: APIGuildScheduledEvent

GatewayGuildScheduledEventUserAddDispatch

GatewayGuildScheduledEventUserAddDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventUserAdd, GatewayGuildScheduledEventUserAddDispatchData>

GatewayGuildScheduledEventUserRemoveDispatch

GatewayGuildScheduledEventUserRemoveDispatch: DataPayload<GatewayDispatchEvents.GuildScheduledEventUserRemove, GatewayGuildScheduledEventUserAddDispatchData>

GatewayGuildStickersUpdateDispatch

GatewayGuildStickersUpdateDispatch: DataPayload<GatewayDispatchEvents.GuildStickersUpdate, GatewayGuildStickersUpdateDispatchData>

GatewayGuildUpdateDispatch

GatewayGuildUpdateDispatch: GatewayGuildModifyDispatch

GatewayGuildUpdateDispatchData

GatewayGuildUpdateDispatchData: GatewayGuildModifyDispatchData

GatewayHeartbeatData

GatewayHeartbeatData: number | null

GatewayIntegrationCreateDispatch

GatewayIntegrationCreateDispatch: DataPayload<GatewayDispatchEvents.IntegrationCreate, GatewayIntegrationCreateDispatchData>

GatewayIntegrationCreateDispatchData

GatewayIntegrationCreateDispatchData: APIGuildIntegration & { guild_id: Snowflake }

GatewayIntegrationDeleteDispatch

GatewayIntegrationDeleteDispatch: DataPayload<GatewayDispatchEvents.IntegrationDelete, GatewayIntegrationDeleteDispatchData>

GatewayIntegrationUpdateDispatch

GatewayIntegrationUpdateDispatch: DataPayload<GatewayDispatchEvents.IntegrationUpdate, GatewayIntegrationUpdateDispatchData>

GatewayIntegrationUpdateDispatchData

GatewayIntegrationUpdateDispatchData: APIGuildIntegration & { guild_id: Snowflake }

GatewayInteractionCreateDispatch

GatewayInteractionCreateDispatch: DataPayload<GatewayDispatchEvents.InteractionCreate, GatewayInteractionCreateDispatchData>

GatewayInteractionCreateDispatchData

GatewayInteractionCreateDispatchData: APIInteraction

GatewayInvalidSessionData

GatewayInvalidSessionData: boolean

GatewayInviteCreateDispatch

GatewayInviteCreateDispatch: DataPayload<GatewayDispatchEvents.InviteCreate, GatewayInviteCreateDispatchData>

GatewayInviteDeleteDispatch

GatewayInviteDeleteDispatch: DataPayload<GatewayDispatchEvents.InviteDelete, GatewayInviteDeleteDispatchData>

GatewayMessageCreateDispatch

GatewayMessageCreateDispatch: DataPayload<GatewayDispatchEvents.MessageCreate, GatewayMessageCreateDispatchData>

GatewayMessageCreateDispatchData

GatewayMessageCreateDispatchData: GatewayMessageEventExtraFields & Omit<APIMessage, mentions>

GatewayMessageDeleteBulkDispatch

GatewayMessageDeleteBulkDispatch: DataPayload<GatewayDispatchEvents.MessageDeleteBulk, GatewayMessageDeleteBulkDispatchData>

GatewayMessageDeleteDispatch

GatewayMessageDeleteDispatch: DataPayload<GatewayDispatchEvents.MessageDelete, GatewayMessageDeleteDispatchData>

GatewayMessagePollVoteAddDispatch

GatewayMessagePollVoteAddDispatch: DataPayload<GatewayDispatchEvents.MessagePollVoteAdd, GatewayMessagePollVoteDispatchData>

GatewayMessagePollVoteRemoveDispatch

GatewayMessagePollVoteRemoveDispatch: DataPayload<GatewayDispatchEvents.MessagePollVoteRemove, GatewayMessagePollVoteDispatchData>

GatewayMessageReactionAddDispatch

GatewayMessageReactionAddDispatch: ReactionData<GatewayDispatchEvents.MessageReactionAdd>

GatewayMessageReactionAddDispatchData

GatewayMessageReactionAddDispatchData: GatewayMessageReactionAddDispatch[d]

GatewayMessageReactionRemoveAllDispatch

GatewayMessageReactionRemoveAllDispatch: DataPayload<GatewayDispatchEvents.MessageReactionRemoveAll, GatewayMessageReactionRemoveAllDispatchData>

GatewayMessageReactionRemoveAllDispatchData

GatewayMessageReactionRemoveAllDispatchData: MessageReactionRemoveData

GatewayMessageReactionRemoveDispatch

GatewayMessageReactionRemoveDispatch: ReactionData<GatewayDispatchEvents.MessageReactionRemove, burst_colors | member | message_author_id>

GatewayMessageReactionRemoveDispatchData

GatewayMessageReactionRemoveDispatchData: GatewayMessageReactionRemoveDispatch[d]

GatewayMessageReactionRemoveEmojiDispatch

GatewayMessageReactionRemoveEmojiDispatch: DataPayload<GatewayDispatchEvents.MessageReactionRemoveEmoji, GatewayMessageReactionRemoveEmojiDispatchData>

GatewayMessageUpdateDispatch

GatewayMessageUpdateDispatch: DataPayload<GatewayDispatchEvents.MessageUpdate, GatewayMessageUpdateDispatchData>

GatewayMessageUpdateDispatchData

GatewayMessageUpdateDispatchData: GatewayMessageEventExtraFields & Omit<Partial<APIMessage>, mentions> & { channel_id: Snowflake; id: Snowflake }

GatewayPresenceUpdateDispatch

GatewayPresenceUpdateDispatch: DataPayload<GatewayDispatchEvents.PresenceUpdate, GatewayPresenceUpdateDispatchData>

GatewayPresenceUpdateDispatchData

GatewayPresenceUpdateDispatchData: RawGatewayPresenceUpdate

GatewayReadyDispatch

GatewayReadyDispatch: DataPayload<GatewayDispatchEvents.Ready, GatewayReadyDispatchData>

GatewayReceivePayload

GatewayRequestGuildMembersData

GatewayResumedDispatch

GatewayResumedDispatch: DataPayload<GatewayDispatchEvents.Resumed, never>

GatewaySendPayload

GatewayStageInstanceCreateDispatch

GatewayStageInstanceCreateDispatch: DataPayload<GatewayDispatchEvents.StageInstanceCreate, GatewayStageInstanceCreateDispatchData>

GatewayStageInstanceCreateDispatchData

GatewayStageInstanceCreateDispatchData: APIStageInstance

GatewayStageInstanceDeleteDispatch

GatewayStageInstanceDeleteDispatch: DataPayload<GatewayDispatchEvents.StageInstanceDelete, GatewayStageInstanceDeleteDispatchData>

GatewayStageInstanceDeleteDispatchData

GatewayStageInstanceDeleteDispatchData: APIStageInstance

GatewayStageInstanceUpdateDispatch

GatewayStageInstanceUpdateDispatch: DataPayload<GatewayDispatchEvents.StageInstanceUpdate, GatewayStageInstanceUpdateDispatchData>

GatewayStageInstanceUpdateDispatchData

GatewayStageInstanceUpdateDispatchData: APIStageInstance

GatewayThreadCreateDispatch

GatewayThreadCreateDispatch: DataPayload<GatewayDispatchEvents.ThreadCreate, GatewayThreadCreateDispatchData>

GatewayThreadDeleteDispatch

GatewayThreadDeleteDispatch: DataPayload<GatewayDispatchEvents.ThreadDelete, GatewayThreadDeleteDispatchData>

GatewayThreadListSyncDispatch

GatewayThreadListSyncDispatch: DataPayload<GatewayDispatchEvents.ThreadListSync, GatewayThreadListSyncDispatchData>

GatewayThreadListSyncDispatchData

GatewayThreadListSyncDispatchData: RawGatewayThreadListSync

GatewayThreadMemberUpdateDispatch

GatewayThreadMemberUpdateDispatch: DataPayload<GatewayDispatchEvents.ThreadMemberUpdate, GatewayThreadMemberUpdateDispatchData>

GatewayThreadMemberUpdateDispatchData

GatewayThreadMemberUpdateDispatchData: APIThreadMember & { guild_id: Snowflake }

GatewayThreadMembersUpdateDispatch

GatewayThreadMembersUpdateDispatch: DataPayload<GatewayDispatchEvents.ThreadMembersUpdate, GatewayThreadMembersUpdateDispatchData>

GatewayThreadMembersUpdateDispatchData

GatewayThreadMembersUpdateDispatchData: RawGatewayThreadMembersUpdate

GatewayThreadModifyDispatch

GatewayThreadModifyDispatch: DataPayload<GatewayDispatchEvents.ThreadCreate | GatewayDispatchEvents.ThreadDelete | GatewayDispatchEvents.ThreadUpdate, GatewayChannelModifyDispatchData>

GatewayThreadUpdateDispatch

GatewayThreadUpdateDispatch: DataPayload<GatewayDispatchEvents.ThreadUpdate, GatewayThreadUpdateDispatchData>

GatewayThreadUpdateDispatchData

GatewayThreadUpdateDispatchData: APIThreadChannel

GatewayTypingStartDispatch

GatewayTypingStartDispatch: DataPayload<GatewayDispatchEvents.TypingStart, GatewayTypingStartDispatchData>

GatewayUserUpdateDispatch

GatewayUserUpdateDispatch: DataPayload<GatewayDispatchEvents.UserUpdate, GatewayUserUpdateDispatchData>

GatewayUserUpdateDispatchData

GatewayUserUpdateDispatchData: APIUser

GatewayVoiceServerUpdateDispatch

GatewayVoiceServerUpdateDispatch: DataPayload<GatewayDispatchEvents.VoiceServerUpdate, GatewayVoiceServerUpdateDispatchData>

GatewayVoiceState

GatewayVoiceState: APIVoiceState

GatewayVoiceStateUpdateDispatch

GatewayVoiceStateUpdateDispatch: DataPayload<GatewayDispatchEvents.VoiceStateUpdate, GatewayVoiceStateUpdateDispatchData>

GatewayVoiceStateUpdateDispatchData

GatewayVoiceStateUpdateDispatchData: APIVoiceState

GatewayWebhooksUpdateDispatch

GatewayWebhooksUpdateDispatch: DataPayload<GatewayDispatchEvents.WebhooksUpdate, GatewayWebhooksUpdateDispatchData>

GetAPIVoiceRegionsResult

GetAPIVoiceRegionsResult: RESTGetAPIVoiceRegionsResult
@deprecated

This was exported with the wrong name, use RESTGetAPIVoiceRegionsResult instead

GuildBannerFormat

GuildBannerFormat: Exclude<ImageFormat, ImageFormat.Lottie>

GuildChannelType

GuildChannelType: Exclude<ChannelType, ChannelType.DM | ChannelType.GroupDM>

GuildDiscoverySplashFormat

GuildDiscoverySplashFormat: Exclude<ImageFormat, ImageFormat.GIF | ImageFormat.Lottie>

GuildIconFormat

GuildIconFormat: Exclude<ImageFormat, ImageFormat.Lottie>

GuildMemberAvatarFormat

GuildMemberAvatarFormat: Exclude<ImageFormat, ImageFormat.Lottie>

GuildMemberBannerFormat

GuildMemberBannerFormat: Exclude<ImageFormat, ImageFormat.Lottie>

GuildScheduledEventCoverFormat

GuildScheduledEventCoverFormat: Exclude<ImageFormat, ImageFormat.GIF | ImageFormat.Lottie>

GuildSplashFormat

GuildSplashFormat: Exclude<ImageFormat, ImageFormat.GIF | ImageFormat.Lottie>

GuildTextChannelType

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

PartialAPIMessageInteractionGuildMember

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

PresenceUpdateReceiveStatus

PresenceUpdateReceiveStatus: Exclude<PresenceUpdateStatus, PresenceUpdateStatus.Invisible>

RESTAPIAttachment

RESTAPIAttachment: Partial<Pick<APIAttachment, description | duration_secs | filename | title | waveform>> & { id: Snowflake | number }

RESTAPIGuildChannelResolvable

RESTAPIGuildChannelResolvable: Exclude<APIChannel, APIDMChannel | APIGroupDMChannel>

RESTAPIGuildCreatePartialChannel

RESTAPIGuildCreatePartialChannel: StrictPartial<DistributivePick<RESTAPIGuildChannelResolvable, available_tags | bitrate | default_auto_archive_duration | default_forum_layout | default_reaction_emoji | default_sort_order | default_thread_rate_limit_per_user | flags | nsfw | position | rate_limit_per_user | rtc_region | topic | type | user_limit | video_quality_mode>> & { id?: number | string; name: string; parent_id?: number | string | null; permission_overwrites?: RESTAPIGuildCreateOverwrite[] }

RESTAPIGuildOnboardingPrompt

RESTAPIGuildOnboardingPrompt: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Partial<Omit<APIGuildOnboardingPrompt, guild_id | id | options | title>>> & Pick<APIGuildOnboardingPrompt, id | title> & { options: RESTAPIGuildOnboardingPromptOption[] }

RESTAPIGuildOnboardingPromptOption

RESTAPIGuildOnboardingPromptOption: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Partial<Omit<APIGuildOnboardingPromptOption, emoji | guild_id | title>>> & Pick<APIGuildOnboardingPromptOption, title> & { emoji_animated?: boolean | null; emoji_id?: Snowflake | null; emoji_name?: string | null }

RESTAPIMessageReference

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

RESTAPIModifyGuildOnboardingPromptData

RESTAPIModifyGuildOnboardingPromptData: RESTAPIGuildOnboardingPrompt
@deprecated

RESTAPIModifyGuildOnboardingPromptOptionData

RESTAPIModifyGuildOnboardingPromptOptionData: RESTAPIGuildOnboardingPromptOption
@deprecated

RESTAPIPollCreate

RESTAPIPollCreate: RESTAPIPoll
@deprecated

Use RESTAPIPoll instead

RESTDeleteAPIApplicationEmojiResult

RESTDeleteAPIApplicationEmojiResult: never

RESTDeleteAPIAutoModerationRuleResult

RESTDeleteAPIAutoModerationRuleResult: never

RESTDeleteAPIChannelAllMessageReactionsResult

RESTDeleteAPIChannelAllMessageReactionsResult: never

RESTDeleteAPIChannelMessageOwnReaction

RESTDeleteAPIChannelMessageOwnReaction: RESTDeleteAPIChannelMessageOwnReactionResult

RESTDeleteAPIChannelMessageOwnReactionResult

RESTDeleteAPIChannelMessageOwnReactionResult: never

RESTDeleteAPIChannelMessageReactionResult

RESTDeleteAPIChannelMessageReactionResult: never

RESTDeleteAPIChannelMessageResult

RESTDeleteAPIChannelMessageResult: never

RESTDeleteAPIChannelMessageUserReactionResult

RESTDeleteAPIChannelMessageUserReactionResult: never

RESTDeleteAPIChannelPermissionResult

RESTDeleteAPIChannelPermissionResult: never

RESTDeleteAPIChannelPinResult

RESTDeleteAPIChannelPinResult: never

RESTDeleteAPIChannelRecipientResult

RESTDeleteAPIChannelRecipientResult: unknown

RESTDeleteAPIChannelResult

RESTDeleteAPIChannelResult: APIChannel

RESTDeleteAPIChannelThreadMembersResult

RESTDeleteAPIChannelThreadMembersResult: never

RESTDeleteAPICurrentUserGuildResult

RESTDeleteAPICurrentUserGuildResult: never

RESTDeleteAPIEntitlementResult

RESTDeleteAPIEntitlementResult: never

RESTDeleteAPIGuildBanResult

RESTDeleteAPIGuildBanResult: never

RESTDeleteAPIGuildEmojiResult

RESTDeleteAPIGuildEmojiResult: never

RESTDeleteAPIGuildIntegrationResult

RESTDeleteAPIGuildIntegrationResult: never

RESTDeleteAPIGuildMemberResult

RESTDeleteAPIGuildMemberResult: never

RESTDeleteAPIGuildMemberRoleResult

RESTDeleteAPIGuildMemberRoleResult: never

RESTDeleteAPIGuildResult

RESTDeleteAPIGuildResult: never

RESTDeleteAPIGuildRoleResult

RESTDeleteAPIGuildRoleResult: never

RESTDeleteAPIGuildScheduledEventResult

RESTDeleteAPIGuildScheduledEventResult: never

RESTDeleteAPIGuildStickerResult

RESTDeleteAPIGuildStickerResult: never

RESTDeleteAPIGuildTemplateResult

RESTDeleteAPIGuildTemplateResult: APITemplate

RESTDeleteAPIInteractionFollowupResult

RESTDeleteAPIInteractionFollowupResult: RESTDeleteAPIWebhookWithTokenMessageResult

RESTDeleteAPIInteractionOriginalResponseResult

RESTDeleteAPIInteractionOriginalResponseResult: RESTDeleteAPIWebhookWithTokenMessageResult

RESTDeleteAPIInviteResult

RESTDeleteAPIInviteResult: APIInvite

RESTDeleteAPIStageInstanceResult

RESTDeleteAPIStageInstanceResult: never

RESTDeleteAPIWebhookResult

RESTDeleteAPIWebhookResult: never

RESTDeleteAPIWebhookWithTokenMessageResult

RESTDeleteAPIWebhookWithTokenMessageResult: never

RESTDeleteAPIWebhookWithTokenResult

RESTDeleteAPIWebhookWithTokenResult: never

RESTGetAPIApplicationCommandPermissionsResult

RESTGetAPIApplicationCommandPermissionsResult: APIGuildApplicationCommandPermissions

RESTGetAPIApplicationCommandResult

RESTGetAPIApplicationCommandResult: APIApplicationCommand

RESTGetAPIApplicationCommandsResult

RESTGetAPIApplicationCommandsResult: APIApplicationCommand[]

RESTGetAPIApplicationEmojiResult

RESTGetAPIApplicationEmojiResult: APIEmoji

RESTGetAPIApplicationGuildCommandResult

RESTGetAPIApplicationGuildCommandResult: Omit<APIApplicationCommand, dm_permission>

RESTGetAPIApplicationGuildCommandsQuery

RESTGetAPIApplicationGuildCommandsQuery: RESTGetAPIApplicationCommandsQuery

RESTGetAPIApplicationGuildCommandsResult

RESTGetAPIApplicationGuildCommandsResult: Omit<APIApplicationCommand, dm_permission>[]

RESTGetAPIApplicationRoleConnectionMetadataResult

RESTGetAPIApplicationRoleConnectionMetadataResult: APIApplicationRoleConnectionMetadata[]

RESTGetAPIAuditLogResult

RESTGetAPIAuditLogResult: APIAuditLog

RESTGetAPIAutoModerationRuleResult

RESTGetAPIAutoModerationRuleResult: APIAutoModerationRule

RESTGetAPIAutoModerationRulesResult

RESTGetAPIAutoModerationRulesResult: APIAutoModerationRule[]

RESTGetAPIChannelInvitesResult

RESTGetAPIChannelInvitesResult: APIExtendedInvite[]

RESTGetAPIChannelMessageReactionUsersResult

RESTGetAPIChannelMessageReactionUsersResult: APIUser[]

RESTGetAPIChannelMessageResult

RESTGetAPIChannelMessageResult: APIMessage

RESTGetAPIChannelMessagesResult

RESTGetAPIChannelMessagesResult: APIMessage[]

RESTGetAPIChannelPinsResult

RESTGetAPIChannelPinsResult: APIMessage[]

RESTGetAPIChannelResult

RESTGetAPIChannelResult: APIChannel

RESTGetAPIChannelThreadMemberResult

RESTGetAPIChannelThreadMemberResult: APIThreadMember

RESTGetAPIChannelThreadMembersResult

RESTGetAPIChannelThreadMembersResult: APIThreadMember[]

RESTGetAPIChannelThreadsArchivedPrivateResult

RESTGetAPIChannelThreadsArchivedPrivateResult: RESTGetAPIChannelUsersThreadsArchivedResult

RESTGetAPIChannelThreadsArchivedPublicResult

RESTGetAPIChannelThreadsArchivedPublicResult: RESTGetAPIChannelUsersThreadsArchivedResult

RESTGetAPIChannelWebhooksResult

RESTGetAPIChannelWebhooksResult: APIWebhook[]

RESTGetAPICurrentUserApplicationRoleConnectionResult

RESTGetAPICurrentUserApplicationRoleConnectionResult: APIApplicationRoleConnection

RESTGetAPICurrentUserConnectionsResult

RESTGetAPICurrentUserConnectionsResult: APIConnection[]

RESTGetAPICurrentUserGuildsResult

RESTGetAPICurrentUserGuildsResult: RESTAPIPartialCurrentUserGuild[]

RESTGetAPICurrentUserResult

RESTGetAPICurrentUserResult: APIUser

RESTGetAPIEntitlementsResult

RESTGetAPIEntitlementsResult: APIEntitlement[]

RESTGetAPIGatewayBotResult

RESTGetAPIGatewayBotResult: APIGatewayBotInfo

RESTGetAPIGatewayResult

RESTGetAPIGatewayResult: APIGatewayInfo

RESTGetAPIGuildApplicationCommandsPermissionsResult

RESTGetAPIGuildApplicationCommandsPermissionsResult: APIGuildApplicationCommandPermissions[]

RESTGetAPIGuildBanResult

RESTGetAPIGuildBanResult: APIBan

RESTGetAPIGuildBansResult

RESTGetAPIGuildBansResult: APIBan[]

RESTGetAPIGuildChannelsResult

RESTGetAPIGuildChannelsResult: APIChannel[]

RESTGetAPIGuildEmojiResult

RESTGetAPIGuildEmojiResult: APIEmoji

RESTGetAPIGuildEmojisResult

RESTGetAPIGuildEmojisResult: APIEmoji[]

RESTGetAPIGuildIntegrationsResult

RESTGetAPIGuildIntegrationsResult: APIGuildIntegration[]

RESTGetAPIGuildInvitesResult

RESTGetAPIGuildInvitesResult: APIExtendedInvite[]

RESTGetAPIGuildMemberResult

RESTGetAPIGuildMemberResult: APIGuildMember

RESTGetAPIGuildMemberVerificationResult

RESTGetAPIGuildMemberVerificationResult: APIGuildMembershipScreening

RESTGetAPIGuildMembersResult

RESTGetAPIGuildMembersResult: APIGuildMember[]

RESTGetAPIGuildMembersSearchResult

RESTGetAPIGuildMembersSearchResult: APIGuildMember[]

RESTGetAPIGuildOnboardingResult

RESTGetAPIGuildOnboardingResult: APIGuildOnboarding

RESTGetAPIGuildPreviewResult

RESTGetAPIGuildPreviewResult: APIGuildPreview

RESTGetAPIGuildResult

RESTGetAPIGuildResult: APIGuild

RESTGetAPIGuildRoleResult

RESTGetAPIGuildRoleResult: APIRole

RESTGetAPIGuildRolesResult

RESTGetAPIGuildRolesResult: APIRole[]

RESTGetAPIGuildScheduledEventResult

RESTGetAPIGuildScheduledEventResult: APIGuildScheduledEvent

RESTGetAPIGuildScheduledEventUsersResult

RESTGetAPIGuildScheduledEventUsersResult: APIGuildScheduledEventUser[]

RESTGetAPIGuildScheduledEventsResult

RESTGetAPIGuildScheduledEventsResult: APIGuildScheduledEvent[]

RESTGetAPIGuildStickerResult

RESTGetAPIGuildStickerResult: APISticker

RESTGetAPIGuildStickersResult

RESTGetAPIGuildStickersResult: APISticker[]

RESTGetAPIGuildTemplatesResult

RESTGetAPIGuildTemplatesResult: APITemplate[]

RESTGetAPIGuildThreadsResult

RESTGetAPIGuildThreadsResult: APIThreadList

RESTGetAPIGuildVoiceRegionsResult

RESTGetAPIGuildVoiceRegionsResult: APIVoiceRegion[]

RESTGetAPIGuildVoiceStateCurrentMemberResult

RESTGetAPIGuildVoiceStateCurrentMemberResult: APIVoiceState

RESTGetAPIGuildVoiceStateUserResult

RESTGetAPIGuildVoiceStateUserResult: APIVoiceState

RESTGetAPIGuildWebhooksResult

RESTGetAPIGuildWebhooksResult: APIWebhook[]

RESTGetAPIGuildWelcomeScreenResult

RESTGetAPIGuildWelcomeScreenResult: APIGuildWelcomeScreen

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).

RESTGetAPIGuildWidgetJSONResult

RESTGetAPIGuildWidgetJSONResult: APIGuildWidget

RESTGetAPIGuildWidgetSettingsResult

RESTGetAPIGuildWidgetSettingsResult: APIGuildWidgetSettings

RESTGetAPIInteractionFollowupResult

RESTGetAPIInteractionFollowupResult: RESTGetAPIWebhookWithTokenMessageResult

RESTGetAPIInteractionOriginalResponseResult

RESTGetAPIInteractionOriginalResponseResult: RESTGetAPIWebhookWithTokenMessageResult

RESTGetAPIInviteResult

RESTGetAPIInviteResult: APIInvite

RESTGetAPIOAuth2CurrentApplicationResult

RESTGetAPIOAuth2CurrentApplicationResult: Omit<APIApplication, flags>

RESTGetAPISKUSubscriptionResult

RESTGetAPISKUSubscriptionResult: APISubscription

RESTGetAPISKUSubscriptionsResult

RESTGetAPISKUSubscriptionsResult: APISubscription[]

RESTGetAPISKUsResult

RESTGetAPISKUsResult: APISKU[]

RESTGetAPIStageInstanceResult

RESTGetAPIStageInstanceResult: APIStageInstance

RESTGetAPIStickerPack

RESTGetAPIStickerPack: RESTGetAPIStickerPackResult
@deprecated

RESTGetAPIStickerPackResult

RESTGetAPIStickerPackResult: APIStickerPack

RESTGetAPIStickerResult

RESTGetAPIStickerResult: APISticker

RESTGetAPITemplateResult

RESTGetAPITemplateResult: APITemplate

RESTGetAPIUserResult

RESTGetAPIUserResult: APIUser

RESTGetAPIVoiceRegionsResult

RESTGetAPIVoiceRegionsResult: APIVoiceRegion[]

RESTGetAPIWebhookResult

RESTGetAPIWebhookResult: APIWebhook

RESTGetAPIWebhookWithTokenMessageResult

RESTGetAPIWebhookWithTokenMessageResult: APIMessage

RESTGetAPIWebhookWithTokenResult

RESTGetAPIWebhookWithTokenResult: Omit<APIWebhook, user>

RESTGetCurrentApplicationResult

RESTGetCurrentApplicationResult: APIApplication

RESTGetCurrentUserGuildMemberResult

RESTGetCurrentUserGuildMemberResult: APIGuildMember

RESTGetNitroStickerPacksResult

RESTGetNitroStickerPacksResult: RESTGetStickerPacksResult
@deprecated

Use RESTGetStickerPacksResult instead

RESTOAuth2AuthorizationQueryResult

RESTOAuth2AuthorizationQueryResult: RESTPostOAuth2AuthorizationQueryResult

RESTOAuth2ImplicitAuthorizationURLFragmentResult

RESTOAuth2ImplicitAuthorizationURLFragmentResult: Omit<RESTPostOAuth2AccessTokenResult, refresh_token>

RESTPatchAPIApplicationCommandJSONBody

RESTPatchAPIApplicationCommandJSONBody: StrictPartial<RESTPostAPIApplicationCommandsJSONBody>

RESTPatchAPIApplicationCommandResult

RESTPatchAPIApplicationCommandResult: APIApplicationCommand

RESTPatchAPIApplicationEmojiJSONBody

RESTPatchAPIApplicationEmojiJSONBody: Pick<RESTPatchAPIGuildEmojiJSONBody, name>

RESTPatchAPIApplicationEmojiResult

RESTPatchAPIApplicationEmojiResult: APIEmoji

RESTPatchAPIApplicationGuildCommandJSONBody

RESTPatchAPIApplicationGuildCommandJSONBody: StrictPartial<Omit<RESTPostAPIChatInputApplicationCommandsJSONBody, dm_permission> | Omit<RESTPostAPIContextMenuApplicationCommandsJSONBody, dm_permission>>

RESTPatchAPIApplicationGuildCommandResult

RESTPatchAPIApplicationGuildCommandResult: Omit<APIApplicationCommand, dm_permission>

RESTPatchAPIAutoModerationRuleJSONBody

RESTPatchAPIAutoModerationRuleJSONBody: Omit<Partial<RESTPostAPIAutoModerationRuleJSONBody>, trigger_type>

RESTPatchAPIAutoModerationRuleResult

RESTPatchAPIAutoModerationRuleResult: APIAutoModerationRule

RESTPatchAPIChannelMessageFormDataBody

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

RESTPatchAPIChannelMessageResult

RESTPatchAPIChannelMessageResult: APIMessage

RESTPatchAPIChannelResult

RESTPatchAPIChannelResult: APIChannel

RESTPatchAPICurrentGuildMemberNicknameResult

RESTPatchAPICurrentGuildMemberNicknameResult: StrictRequired<RESTPatchAPICurrentGuildMemberNicknameJSONBody>

RESTPatchAPICurrentUserResult

RESTPatchAPICurrentUserResult: APIUser

RESTPatchAPIGuildChannelPositionsJSONBody

RESTPatchAPIGuildChannelPositionsJSONBody: { id: Snowflake; lock_permissions?: boolean; parent_id?: Snowflake | null; position: number }[]

RESTPatchAPIGuildChannelPositionsResult

RESTPatchAPIGuildChannelPositionsResult: never

RESTPatchAPIGuildEmojiResult

RESTPatchAPIGuildEmojiResult: APIEmoji

RESTPatchAPIGuildMemberResult

RESTPatchAPIGuildMemberResult: APIGuildMember

RESTPatchAPIGuildMemberVerificationResult

RESTPatchAPIGuildMemberVerificationResult: APIGuildMembershipScreening

RESTPatchAPIGuildResult

RESTPatchAPIGuildResult: APIGuild

RESTPatchAPIGuildRolePositionsJSONBody

RESTPatchAPIGuildRolePositionsJSONBody: { id: Snowflake; position?: number }[]

RESTPatchAPIGuildRolePositionsResult

RESTPatchAPIGuildRolePositionsResult: APIRole[]

RESTPatchAPIGuildRoleResult

RESTPatchAPIGuildRoleResult: APIRole

RESTPatchAPIGuildScheduledEventJSONBody

RESTPatchAPIGuildScheduledEventJSONBody: Nullable<Pick<RESTPostAPIGuildScheduledEventJSONBody, description | entity_metadata | recurrence_rule>> & StrictPartial<Omit<RESTPostAPIGuildScheduledEventJSONBody, description | entity_metadata | recurrence_rule>> & { status?: GuildScheduledEventStatus }

RESTPatchAPIGuildScheduledEventResult

RESTPatchAPIGuildScheduledEventResult: APIGuildScheduledEvent

RESTPatchAPIGuildStickerResult

RESTPatchAPIGuildStickerResult: APISticker

RESTPatchAPIGuildTemplateJSONBody

RESTPatchAPIGuildTemplateJSONBody: StrictPartial<RESTPostAPIGuildTemplatesJSONBody>

RESTPatchAPIGuildTemplateResult

RESTPatchAPIGuildTemplateResult: APITemplate

RESTPatchAPIGuildVoiceStateCurrentMemberResult

RESTPatchAPIGuildVoiceStateCurrentMemberResult: never

RESTPatchAPIGuildVoiceStateUserResult

RESTPatchAPIGuildVoiceStateUserResult: never

RESTPatchAPIGuildWelcomeScreenJSONBody

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

RESTPatchAPIGuildWelcomeScreenResult

RESTPatchAPIGuildWelcomeScreenResult: APIGuildWelcomeScreen

RESTPatchAPIGuildWidgetSettingsJSONBody

RESTPatchAPIGuildWidgetSettingsJSONBody: StrictPartial<APIGuildWidgetSettings>

RESTPatchAPIGuildWidgetSettingsResult

RESTPatchAPIGuildWidgetSettingsResult: APIGuildWidgetSettings

RESTPatchAPIInteractionFollowupFormDataBody

RESTPatchAPIInteractionFollowupFormDataBody: RESTPatchAPIWebhookWithTokenMessageFormDataBody

RESTPatchAPIInteractionFollowupJSONBody

RESTPatchAPIInteractionFollowupJSONBody: RESTPatchAPIWebhookWithTokenMessageJSONBody

RESTPatchAPIInteractionFollowupResult

RESTPatchAPIInteractionFollowupResult: RESTPatchAPIWebhookWithTokenMessageResult

RESTPatchAPIInteractionOriginalResponseFormDataBody

RESTPatchAPIInteractionOriginalResponseFormDataBody: RESTPatchAPIWebhookWithTokenMessageFormDataBody

RESTPatchAPIInteractionOriginalResponseJSONBody

RESTPatchAPIInteractionOriginalResponseJSONBody: RESTPatchAPIWebhookWithTokenMessageJSONBody

RESTPatchAPIInteractionOriginalResponseResult

RESTPatchAPIInteractionOriginalResponseResult: RESTPatchAPIWebhookWithTokenMessageResult

RESTPatchAPIStageInstanceResult

RESTPatchAPIStageInstanceResult: APIStageInstance

RESTPatchAPIWebhookResult

RESTPatchAPIWebhookResult: APIWebhook

RESTPatchAPIWebhookWithTokenJSONBody

RESTPatchAPIWebhookWithTokenJSONBody: Omit<RESTPatchAPIWebhookJSONBody, channel_id>

RESTPatchAPIWebhookWithTokenMessageFormDataBody

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

RESTPatchAPIWebhookWithTokenMessageJSONBody

RESTPatchAPIWebhookWithTokenMessageJSONBody: AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Nullable<Pick<RESTPostAPIWebhookWithTokenJSONBody, allowed_mentions | components | content | embeds>>> & { attachments?: RESTAPIAttachment[]; poll?: RESTAPIPoll }

RESTPatchAPIWebhookWithTokenMessageResult

RESTPatchAPIWebhookWithTokenMessageResult: APIMessage

RESTPatchAPIWebhookWithTokenResult

RESTPatchAPIWebhookWithTokenResult: RESTGetAPIWebhookWithTokenResult

RESTPatchCurrentApplicationJSONBody

RESTPatchCurrentApplicationJSONBody: StrictPartial<Nullable<Pick<APIApplication, cover_image | icon>> & Pick<APIApplication, custom_install_url | description | flags | install_params | integration_types_config | interactions_endpoint_url | role_connections_verification_url | tags>>

RESTPatchCurrentApplicationResult

RESTPatchCurrentApplicationResult: APIApplication

RESTPostAPIApplicationCommandsJSONBody

RESTPostAPIApplicationCommandsResult

RESTPostAPIApplicationCommandsResult: APIApplicationCommand

RESTPostAPIApplicationEmojiJSONBody

RESTPostAPIApplicationEmojiJSONBody: Pick<RESTPostAPIGuildEmojiJSONBody, image | name>

RESTPostAPIApplicationEmojiResult

RESTPostAPIApplicationEmojiResult: APIEmoji

RESTPostAPIApplicationGuildCommandsJSONBody

RESTPostAPIApplicationGuildCommandsJSONBody: Omit<RESTPostAPIChatInputApplicationCommandsJSONBody, dm_permission> | Omit<RESTPostAPIContextMenuApplicationCommandsJSONBody, dm_permission>

RESTPostAPIApplicationGuildCommandsResult

RESTPostAPIApplicationGuildCommandsResult: Omit<APIApplicationCommand, dm_permission>

RESTPostAPIAutoModerationRuleResult

RESTPostAPIAutoModerationRuleResult: APIAutoModerationRule

RESTPostAPIChannelFollowersResult

RESTPostAPIChannelFollowersResult: APIFollowedChannel

RESTPostAPIChannelInviteResult

RESTPostAPIChannelInviteResult: APIExtendedInvite

RESTPostAPIChannelMessageCrosspostResult

RESTPostAPIChannelMessageCrosspostResult: APIMessage

RESTPostAPIChannelMessageFormDataBody

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

RESTPostAPIChannelMessageResult

RESTPostAPIChannelMessageResult: APIMessage

RESTPostAPIChannelMessagesBulkDeleteResult

RESTPostAPIChannelMessagesBulkDeleteResult: never

RESTPostAPIChannelMessagesThreadsResult

RESTPostAPIChannelMessagesThreadsResult: APIChannel

RESTPostAPIChannelThreadsResult

RESTPostAPIChannelThreadsResult: APIChannel

RESTPostAPIChannelTypingResult

RESTPostAPIChannelTypingResult: never

RESTPostAPIChannelWebhookResult

RESTPostAPIChannelWebhookResult: APIWebhook

RESTPostAPICurrentUserCreateDMChannelResult

RESTPostAPICurrentUserCreateDMChannelResult: APIChannel

RESTPostAPIEntitlementBody

RESTPostAPIEntitlementBody: RESTPostAPIEntitlementJSONBody
@deprecated

RESTPostAPIEntitlementConsumeResult

RESTPostAPIEntitlementConsumeResult: never

RESTPostAPIEntitlementResult

RESTPostAPIEntitlementResult: Partial<Omit<APIEntitlement, ends_at | starts_at>>

RESTPostAPIGuildChannelJSONBody

RESTPostAPIGuildChannelJSONBody: DistributiveOmit<RESTAPIGuildCreatePartialChannel, id>

RESTPostAPIGuildChannelResult

RESTPostAPIGuildChannelResult: APIChannel

RESTPostAPIGuildEmojiResult

RESTPostAPIGuildEmojiResult: APIEmoji

RESTPostAPIGuildForumThreadsFormDataBody

RESTPostAPIGuildForumThreadsFormDataBody: RESTPostAPIChannelMessagesThreadsJSONBody & { message: string }

RESTPostAPIGuildForumThreadsJSONBody

RESTPostAPIGuildForumThreadsJSONBody: RESTPostAPIChannelMessagesThreadsJSONBody & { applied_tags?: Snowflake[]; message: RESTPostAPIChannelMessageJSONBody }

RESTPostAPIGuildRoleResult

RESTPostAPIGuildRoleResult: APIRole

RESTPostAPIGuildScheduledEventResult

RESTPostAPIGuildScheduledEventResult: APIGuildScheduledEvent

RESTPostAPIGuildStickerResult

RESTPostAPIGuildStickerResult: APISticker

RESTPostAPIGuildTemplatesResult

RESTPostAPIGuildTemplatesResult: APITemplate

RESTPostAPIGuildsMFAResult

RESTPostAPIGuildsMFAResult: RESTPostAPIGuildsMFAJSONBody

RESTPostAPIGuildsResult

RESTPostAPIGuildsResult: APIGuild

RESTPostAPIInteractionCallbackFormDataBody