discord-api-types/v10
Index
Enumerations
- ActivityFlags
- ActivityPlatform
- ActivityType
- AllowedMentionsTypes
- ApplicationCommandOptionType
- ApplicationCommandPermissionType
- ApplicationCommandType
- ApplicationFlags
- ApplicationRoleConnectionMetadataType
- AttachmentFlags
- AuditLogEvent
- AuditLogOptionsType
- AutoModerationActionType
- AutoModerationRuleEventType
- AutoModerationRuleKeywordPresetType
- AutoModerationRuleTriggerType
- ButtonStyle
- ChannelFlags
- ChannelType
- ComponentType
- ConnectionService
- ConnectionVisibility
- EmbedType
- ForumLayoutType
- GatewayCloseCodes
- GatewayDispatchEvents
- GatewayIntentBits
- GatewayOpcodes
- GuildDefaultMessageNotifications
- GuildExplicitContentFilter
- GuildFeature
- GuildHubType
- GuildMFALevel
- GuildMemberFlags
- GuildNSFWLevel
- GuildOnboardingMode
- GuildOnboardingPromptType
- GuildPremiumTier
- GuildScheduledEventEntityType
- GuildScheduledEventPrivacyLevel
- GuildScheduledEventStatus
- GuildSystemChannelFlags
- GuildVerificationLevel
- GuildWidgetStyle
- ImageFormat
- IntegrationExpireBehavior
- InteractionResponseType
- InteractionType
- InviteTargetType
- MembershipScreeningFieldType
- MessageActivityType
- MessageFlags
- MessageType
- OAuth2Scopes
- OverwriteType
- PresenceUpdateStatus
- RoleFlags
- SelectMenuDefaultValueType
- SortOrderType
- StageInstancePrivacyLevel
- StickerFormatType
- StickerType
- TeamMemberMembershipState
- TeamMemberRole
- TextInputStyle
- ThreadAutoArchiveDuration
- ThreadMemberFlags
- UserFlags
- UserPremiumType
- VideoQualityMode
- WebhookType
Interfaces
- APIActionRowComponent
- APIAllowedMentions
- APIApplication
- APIApplicationCommand
- APIApplicationCommandAutocompleteResponse
- APIApplicationCommandChannelOption
- APIApplicationCommandInteractionDataIntegerOption
- APIApplicationCommandInteractionDataNumberOption
- APIApplicationCommandInteractionDataStringOption
- APIApplicationCommandInteractionDataSubcommandGroupOption
- APIApplicationCommandInteractionDataSubcommandOption
- APIApplicationCommandOptionBase
- APIApplicationCommandOptionChoice
- APIApplicationCommandPermission
- APIApplicationCommandSubcommandGroupOption
- APIApplicationCommandSubcommandOption
- APIApplicationInstallParams
- APIApplicationRoleConnection
- APIApplicationRoleConnectionMetadata
- APIAttachment
- APIAuditLog
- APIAuditLogEntry
- APIAuditLogOptions
- APIAutoModerationAction
- APIAutoModerationActionMetadata
- APIAutoModerationRule
- APIAutoModerationRuleTriggerMetadata
- APIBan
- APIBaseAutoPopulatedSelectMenuComponent
- APIBaseComponent
- APIBaseInteraction
- APIBaseSelectMenuComponent
- APIButtonComponentBase
- APIButtonComponentWithCustomId
- APIButtonComponentWithURL
- APIChannelBase
- APIChannelMention
- APIChannelPatchOverwrite
- APIChannelSelectComponent
- APIChatInputApplicationCommandInteractionData
- APICommandAutocompleteInteractionResponseCallbackData
- APIConnection
- APIDMChannel
- APIDMChannelBase
- APIEmbed
- APIEmbedAuthor
- APIEmbedField
- APIEmbedFooter
- APIEmbedImage
- APIEmbedProvider
- APIEmbedThumbnail
- APIEmbedVideo
- APIEmoji
- APIExtendedInvite
- APIExternalGuildScheduledEvent
- APIFollowedChannel
- APIGatewayBotInfo
- APIGatewayInfo
- APIGatewaySessionStartLimit
- APIGroupDMChannel
- APIGuild
- APIGuildApplicationCommandPermissions
- APIGuildChannel
- APIGuildCreateOverwrite
- APIGuildCreateRole
- APIGuildForumChannel
- APIGuildForumDefaultReactionEmoji
- APIGuildForumTag
- APIGuildIntegration
- APIGuildIntegrationApplication
- APIGuildMember
- APIGuildMembershipScreening
- APIGuildMembershipScreeningField
- APIGuildOnboarding
- APIGuildOnboardingPrompt
- APIGuildOnboardingPromptOption
- APIGuildPreview
- APIGuildScheduledEventEntityMetadata
- APIGuildScheduledEventUser
- APIGuildTextChannel
- APIGuildWelcomeScreen
- APIGuildWelcomeScreenChannel
- APIGuildWidget
- APIGuildWidgetChannel
- APIGuildWidgetMember
- APIGuildWidgetSettings
- APIIntegrationAccount
- APIInteractionDataOptionBase
- APIInteractionDataResolved
- APIInteractionDataResolvedChannelBase
- APIInteractionDataResolvedGuildMember
- APIInteractionGuildMember
- APIInteractionResponseChannelMessageWithSource
- APIInteractionResponseDeferredChannelMessageWithSource
- APIInteractionResponseDeferredMessageUpdate
- APIInteractionResponsePong
- APIInteractionResponseUpdateMessage
- APIInvite
- APIInviteStageInstance
- APIMessage
- APIMessageActivity
- APIMessageApplicationCommandInteractionData
- APIMessageApplicationCommandInteractionDataResolved
- APIMessageChannelSelectInteractionData
- APIMessageComponentBaseInteractionData
- APIMessageComponentEmoji
- APIMessageInteraction
- APIMessageMentionableSelectInteractionData
- APIMessageReference
- APIMessageRoleSelectInteractionData
- APIMessageRoleSubscriptionData
- APIMessageStringSelectInteractionData
- APIMessageUserSelectInteractionData
- APIModalInteractionResponse
- APIModalInteractionResponseCallbackData
- APIModalSubmission
- APIOverwrite
- APIPartialChannel
- APIPartialEmoji
- APIPartialGuild
- APIReaction
- APIRole
- APIRoleTags
- APISelectMenuDefaultValue
- APISelectMenuOption
- APIStageInstance
- APIStageInstanceGuildScheduledEvent
- APISticker
- APIStickerPack
- APIStringSelectComponent
- APITeam
- APITeamMember
- APITemplate
- APITemplateSerializedSourceGuild
- APITextBasedChannel
- APITextInputComponent
- APIThreadChannel
- APIThreadList
- APIThreadMember
- APIThreadMetadata
- APIThreadOnlyChannel
- APIUnavailableGuild
- APIUser
- APIUserApplicationCommandInteractionData
- APIVoiceChannelBase
- APIVoiceGuildScheduledEvent
- APIVoiceRegion
- APIWebhook
- CDNQuery
- GatewayActivity
- GatewayActivityButton
- GatewayActivityParty
- GatewayActivityTimestamps
- GatewayApplicationCommandPermissionsUpdateDispatchData
- GatewayAutoModerationActionExecutionDispatchData
- GatewayChannelPinsUpdateDispatchData
- GatewayGuildAuditLogEntryCreateDispatchData
- GatewayGuildBanModifyDispatchData
- GatewayGuildCreateDispatchData
- GatewayGuildEmojisUpdateDispatchData
- GatewayGuildIntegrationsUpdateDispatchData
- GatewayGuildMemberAddDispatchData
- GatewayGuildMemberRemoveDispatchData
- GatewayGuildMembersChunkDispatchData
- GatewayGuildRoleDeleteDispatchData
- GatewayGuildRoleModifyDispatchData
- GatewayGuildScheduledEventUserAddDispatchData
- GatewayGuildScheduledEventUserRemoveDispatchData
- GatewayGuildStickersUpdateDispatchData
- GatewayHeartbeat
- GatewayHeartbeatAck
- GatewayHeartbeatRequest
- GatewayHello
- GatewayHelloData
- GatewayIdentify
- GatewayIdentifyData
- GatewayIdentifyProperties
- GatewayIntegrationDeleteDispatchData
- GatewayInvalidSession
- GatewayInviteCreateDispatchData
- GatewayInviteDeleteDispatchData
- GatewayMessageDeleteBulkDispatchData
- GatewayMessageDeleteDispatchData
- GatewayMessageEventExtraFields
- GatewayMessageReactionRemoveEmojiDispatchData
- GatewayPresenceClientStatus
- GatewayPresenceUpdate
- GatewayPresenceUpdateData
- GatewayReadyDispatchData
- GatewayReconnect
- GatewayRequestGuildMembers
- GatewayRequestGuildMembersDataBase
- GatewayRequestGuildMembersDataWithQuery
- GatewayRequestGuildMembersDataWithUserIds
- GatewayResume
- GatewayResumeData
- GatewayThreadCreateDispatchData
- GatewayThreadListSync
- GatewayThreadMembersUpdate
- GatewayTypingStartDispatchData
- GatewayUpdatePresence
- GatewayVoiceServerUpdateDispatchData
- GatewayVoiceState
- GatewayVoiceStateUpdate
- GatewayVoiceStateUpdateData
- GatewayWebhooksUpdateDispatchData
- ModalSubmitActionRowComponent
- ModalSubmitComponent
- RESTAPIAttachment
- RESTAPIPartialCurrentUserGuild
- RESTGetAPIApplicationCommandsQuery
- RESTGetAPIAuditLogQuery
- RESTGetAPIChannelMessageReactionUsersQuery
- RESTGetAPIChannelMessagesQuery
- RESTGetAPIChannelThreadMemberQuery
- RESTGetAPIChannelThreadMembersQuery
- RESTGetAPIChannelThreadsArchivedQuery
- RESTGetAPIChannelUsersThreadsArchivedResult
- RESTGetAPICurrentUserGuildsQuery
- RESTGetAPIGuildBansQuery
- RESTGetAPIGuildMembersQuery
- RESTGetAPIGuildMembersSearchQuery
- RESTGetAPIGuildPruneCountQuery
- RESTGetAPIGuildPruneCountResult
- RESTGetAPIGuildQuery
- RESTGetAPIGuildScheduledEventQuery
- RESTGetAPIGuildScheduledEventUsersQuery
- RESTGetAPIGuildScheduledEventsQuery
- RESTGetAPIGuildVanityUrlResult
- RESTGetAPIGuildWidgetImageQuery
- RESTGetAPIInviteQuery
- RESTGetAPIOAuth2CurrentAuthorizationResult
- RESTGetAPIWebhookWithTokenMessageQuery
- RESTGetStickerPacksResult
- RESTOAuth2AdvancedBotAuthorizationQuery
- RESTOAuth2AdvancedBotAuthorizationQueryResult
- RESTOAuth2AuthorizationQuery
- RESTOAuth2AuthorizationQueryResult
- RESTOAuth2BotAuthorizationQuery
- RESTOAuth2ImplicitAuthorizationQuery
- RESTPatchAPIChannelJSONBody
- RESTPatchAPIChannelMessageJSONBody
- RESTPatchAPICurrentGuildMemberJSONBody
- RESTPatchAPICurrentGuildMemberNicknameJSONBody
- RESTPatchAPICurrentUserJSONBody
- RESTPatchAPIGuildEmojiJSONBody
- RESTPatchAPIGuildJSONBody
- RESTPatchAPIGuildMemberJSONBody
- RESTPatchAPIGuildMemberVerificationJSONBody
- RESTPatchAPIGuildRoleJSONBody
- RESTPatchAPIGuildStickerJSONBody
- RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody
- RESTPatchAPIGuildVoiceStateUserJSONBody
- RESTPatchAPIStageInstanceJSONBody
- RESTPatchAPIWebhookJSONBody
- RESTPostAPIAutoModerationRuleJSONBody
- RESTPostAPIChannelFollowersJSONBody
- RESTPostAPIChannelInviteJSONBody
- RESTPostAPIChannelMessageJSONBody
- RESTPostAPIChannelMessagesBulkDeleteJSONBody
- RESTPostAPIChannelMessagesThreadsJSONBody
- RESTPostAPIChannelThreadsJSONBody
- RESTPostAPIChannelWebhookJSONBody
- RESTPostAPIChatInputApplicationCommandsJSONBody
- RESTPostAPIContextMenuApplicationCommandsJSONBody
- RESTPostAPICurrentUserCreateDMChannelJSONBody
- RESTPostAPIGuildEmojiJSONBody
- RESTPostAPIGuildPruneJSONBody
- RESTPostAPIGuildPruneResult
- RESTPostAPIGuildRoleJSONBody
- RESTPostAPIGuildScheduledEventJSONBody
- RESTPostAPIGuildStickerFormDataBody
- RESTPostAPIGuildTemplatesJSONBody
- RESTPostAPIGuildsJSONBody
- RESTPostAPIGuildsMFAJSONBody
- RESTPostAPIStageInstanceJSONBody
- RESTPostAPITemplateCreateGuildJSONBody
- RESTPostAPIWebhookWithTokenJSONBody
- RESTPostAPIWebhookWithTokenQuery
- RESTPostOAuth2AccessTokenResult
- RESTPostOAuth2AccessTokenURLEncodedData
- RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult
- RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult
- RESTPostOAuth2ClientCredentialsURLEncodedData
- RESTPostOAuth2RefreshTokenURLEncodedData
- RESTPutAPIApplicationCommandPermissionsJSONBody
- RESTPutAPIChannelPermissionJSONBody
- RESTPutAPIChannelRecipientJSONBody
- RESTPutAPICurrentUserApplicationRoleConnectionJSONBody
- RESTPutAPIGuildBanJSONBody
- RESTPutAPIGuildMemberJSONBody
References
Type Aliases
- APIActionRowComponentTypes
- APIApplicationCommandAttachmentOption
- APIApplicationCommandAutocompleteDMInteraction
- APIApplicationCommandAutocompleteGuildInteraction
- APIApplicationCommandAutocompleteInteraction
- APIApplicationCommandBasicOption
- APIApplicationCommandBooleanOption
- APIApplicationCommandDMInteraction
- APIApplicationCommandGuildInteraction
- APIApplicationCommandIntegerOption
- APIApplicationCommandInteraction
- APIApplicationCommandInteractionData
- APIApplicationCommandInteractionDataAttachmentOption
- APIApplicationCommandInteractionDataBasicOption
- APIApplicationCommandInteractionDataBooleanOption
- APIApplicationCommandInteractionDataChannelOption
- APIApplicationCommandInteractionDataMentionableOption
- APIApplicationCommandInteractionDataOption
- APIApplicationCommandInteractionDataRoleOption
- APIApplicationCommandInteractionDataUserOption
- APIApplicationCommandInteractionWrapper
- APIApplicationCommandMentionableOption
- APIApplicationCommandNumberOption
- APIApplicationCommandOption
- APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper
- APIApplicationCommandRoleOption
- APIApplicationCommandStringOption
- APIApplicationCommandUserOption
- APIAuditLogChange
- APIAuditLogChangeKey$Add
- APIAuditLogChangeKey$Remove
- APIAuditLogChangeKeyAFKChannelId
- APIAuditLogChangeKeyAFKTimeout
- APIAuditLogChangeKeyActions
- APIAuditLogChangeKeyAllow
- APIAuditLogChangeKeyApplicationId
- APIAuditLogChangeKeyArchived
- APIAuditLogChangeKeyAsset
- APIAuditLogChangeKeyAutoArchiveDuration
- APIAuditLogChangeKeyAvailable
- APIAuditLogChangeKeyAvatarHash
- APIAuditLogChangeKeyBannerHash
- APIAuditLogChangeKeyBitrate
- APIAuditLogChangeKeyChannelId
- APIAuditLogChangeKeyCode
- APIAuditLogChangeKeyColor
- APIAuditLogChangeKeyCommunicationDisabledUntil
- APIAuditLogChangeKeyDeaf
- APIAuditLogChangeKeyDefaultAutoArchiveDuration
- APIAuditLogChangeKeyDefaultMessageNotifications
- APIAuditLogChangeKeyDeny
- APIAuditLogChangeKeyDescription
- APIAuditLogChangeKeyDiscoverySplashHash
- APIAuditLogChangeKeyEnableEmoticons
- APIAuditLogChangeKeyEnabled
- APIAuditLogChangeKeyEntityType
- APIAuditLogChangeKeyEventType
- APIAuditLogChangeKeyExemptChannels
- APIAuditLogChangeKeyExemptRoles
- APIAuditLogChangeKeyExpireBehavior
- APIAuditLogChangeKeyExpireGracePeriod
- APIAuditLogChangeKeyExplicitContentFilter
- APIAuditLogChangeKeyFormatType
- APIAuditLogChangeKeyGuildId
- APIAuditLogChangeKeyHoist
- APIAuditLogChangeKeyIconHash
- APIAuditLogChangeKeyId
- APIAuditLogChangeKeyImageHash
- APIAuditLogChangeKeyInviterId
- APIAuditLogChangeKeyLocation
- APIAuditLogChangeKeyLocked
- APIAuditLogChangeKeyMFALevel
- APIAuditLogChangeKeyMaxAge
- APIAuditLogChangeKeyMaxUses
- APIAuditLogChangeKeyMentionable
- APIAuditLogChangeKeyMute
- APIAuditLogChangeKeyNSFW
- APIAuditLogChangeKeyName
- APIAuditLogChangeKeyNick
- APIAuditLogChangeKeyOwnerId
- APIAuditLogChangeKeyPermissionOverwrites
- APIAuditLogChangeKeyPermissions
- APIAuditLogChangeKeyPosition
- APIAuditLogChangeKeyPreferredLocale
- APIAuditLogChangeKeyPrivacyLevel
- APIAuditLogChangeKeyPruneDeleteDays
- APIAuditLogChangeKeyPublicUpdatesChannelId
- APIAuditLogChangeKeyRateLimitPerUser
- APIAuditLogChangeKeyRegion
- APIAuditLogChangeKeyRulesChannelId
- APIAuditLogChangeKeySafetyAlertsChannelId
- APIAuditLogChangeKeySnowflake
- APIAuditLogChangeKeySplashHash
- APIAuditLogChangeKeyStatus
- APIAuditLogChangeKeySystemChannelId
- APIAuditLogChangeKeyTags
- APIAuditLogChangeKeyTemporary
- APIAuditLogChangeKeyTopic
- APIAuditLogChangeKeyTriggerMetadata
- APIAuditLogChangeKeyTriggerType
- APIAuditLogChangeKeyType
- APIAuditLogChangeKeyUserLimit
- APIAuditLogChangeKeyUses
- APIAuditLogChangeKeyVanityURLCode
- APIAuditLogChangeKeyVerificationLevel
- APIAuditLogChangeKeyWidgetChannelId
- APIAuditLogChangeKeyWidgetEnabled
- APIAutoPopulatedSelectMenuComponent
- APIButtonComponent
- APIChannel
- APIChatInputApplicationCommandDMInteraction
- APIChatInputApplicationCommandGuildInteraction
- APIChatInputApplicationCommandInteraction
- APIChatInputApplicationCommandInteractionDataResolved
- APIContextMenuDMInteraction
- APIContextMenuGuildInteraction
- APIContextMenuInteraction
- APIContextMenuInteractionData
- APIDMInteraction
- APIDMInteractionWrapper
- APIGuildCategoryChannel
- APIGuildChannelResolvable
- APIGuildCreatePartialChannel
- APIGuildIntegrationType
- APIGuildInteraction
- APIGuildInteractionWrapper
- APIGuildMediaChannel
- APIGuildScheduledEvent
- APIGuildStageVoiceChannel
- APIGuildVoiceChannel
- APIInteraction
- APIInteractionDataResolvedChannel
- APIInteractionResponse
- APIInteractionResponseCallbackData
- APIInviteGuild
- APIMentionableSelectComponent
- APIMessageActionRowComponent
- APIMessageApplicationCommandDMInteraction
- APIMessageApplicationCommandGuildInteraction
- APIMessageApplicationCommandInteraction
- APIMessageButtonInteractionData
- APIMessageComponent
- APIMessageComponentButtonInteraction
- APIMessageComponentDMInteraction
- APIMessageComponentGuildInteraction
- APIMessageComponentInteraction
- APIMessageComponentInteractionData
- APIMessageComponentSelectMenuInteraction
- APIMessageReferenceSend
- APIMessageSelectMenuInteractionData
- APIModalActionRowComponent
- APIModalComponent
- APIModalSubmitDMInteraction
- APIModalSubmitGuildInteraction
- APIModalSubmitInteraction
- APINewsChannel
- APIPingInteraction
- APIRoleSelectComponent
- APISelectMenuComponent
- APIStickerItem
- APITextChannel
- APIUserApplicationCommandDMInteraction
- APIUserApplicationCommandGuildInteraction
- APIUserApplicationCommandInteraction
- APIUserApplicationCommandInteractionDataResolved
- APIUserInteractionDataResolved
- APIUserSelectComponent
- AchievementIconFormat
- ApplicationAssetFormat
- ApplicationCoverFormat
- ApplicationIconFormat
- AuditLogRuleTriggerType
- DefaultUserAvatar
- DefaultUserAvatarAssets
- EmojiFormat
- GatewayActivityAssets
- GatewayActivityEmoji
- GatewayActivitySecrets
- GatewayActivityUpdateData
- GatewayApplicationCommandPermissionsUpdateDispatch
- GatewayAutoModerationActionExecutionDispatch
- GatewayAutoModerationRuleCreateDispatch
- GatewayAutoModerationRuleCreateDispatchData
- GatewayAutoModerationRuleDeleteDispatch
- GatewayAutoModerationRuleDeleteDispatchData
- GatewayAutoModerationRuleModifyDispatch
- GatewayAutoModerationRuleModifyDispatchData
- GatewayAutoModerationRuleUpdateDispatch
- GatewayAutoModerationRuleUpdateDispatchData
- GatewayChannelCreateDispatch
- GatewayChannelCreateDispatchData
- GatewayChannelDeleteDispatch
- GatewayChannelDeleteDispatchData
- GatewayChannelModifyDispatch
- GatewayChannelModifyDispatchData
- GatewayChannelPinsUpdateDispatch
- GatewayChannelUpdateDispatch
- GatewayChannelUpdateDispatchData
- GatewayDispatchPayload
- GatewayGuildAuditLogEntryCreateDispatch
- GatewayGuildBanAddDispatch
- GatewayGuildBanAddDispatchData
- GatewayGuildBanModifyDispatch
- GatewayGuildBanRemoveDispatch
- GatewayGuildBanRemoveDispatchData
- GatewayGuildCreateDispatch
- GatewayGuildDeleteDispatch
- GatewayGuildDeleteDispatchData
- GatewayGuildEmojisUpdateDispatch
- GatewayGuildIntegrationsUpdateDispatch
- GatewayGuildMemberAddDispatch
- GatewayGuildMemberRemoveDispatch
- GatewayGuildMemberUpdateDispatch
- GatewayGuildMemberUpdateDispatchData
- GatewayGuildMembersChunkDispatch
- GatewayGuildMembersChunkPresence
- GatewayGuildModifyDispatch
- GatewayGuildModifyDispatchData
- GatewayGuildRoleCreateDispatch
- GatewayGuildRoleCreateDispatchData
- GatewayGuildRoleDeleteDispatch
- GatewayGuildRoleModifyDispatch
- GatewayGuildRoleUpdateDispatch
- GatewayGuildRoleUpdateDispatchData
- GatewayGuildScheduledEventCreateDispatch
- GatewayGuildScheduledEventCreateDispatchData
- GatewayGuildScheduledEventDeleteDispatch
- GatewayGuildScheduledEventDeleteDispatchData
- GatewayGuildScheduledEventUpdateDispatch
- GatewayGuildScheduledEventUpdateDispatchData
- GatewayGuildScheduledEventUserAddDispatch
- GatewayGuildScheduledEventUserRemoveDispatch
- GatewayGuildStickersUpdateDispatch
- GatewayGuildUpdateDispatch
- GatewayGuildUpdateDispatchData
- GatewayHeartbeatData
- GatewayIntegrationCreateDispatch
- GatewayIntegrationCreateDispatchData
- GatewayIntegrationDeleteDispatch
- GatewayIntegrationUpdateDispatch
- GatewayIntegrationUpdateDispatchData
- GatewayInteractionCreateDispatch
- GatewayInteractionCreateDispatchData
- GatewayInvalidSessionData
- GatewayInviteCreateDispatch
- GatewayInviteDeleteDispatch
- GatewayMessageCreateDispatch
- GatewayMessageCreateDispatchData
- GatewayMessageDeleteBulkDispatch
- GatewayMessageDeleteDispatch
- GatewayMessageReactionAddDispatch
- GatewayMessageReactionAddDispatchData
- GatewayMessageReactionRemoveAllDispatch
- GatewayMessageReactionRemoveAllDispatchData
- GatewayMessageReactionRemoveDispatch
- GatewayMessageReactionRemoveDispatchData
- GatewayMessageReactionRemoveEmojiDispatch
- GatewayMessageUpdateDispatch
- GatewayMessageUpdateDispatchData
- GatewayPresenceUpdateDispatch
- GatewayPresenceUpdateDispatchData
- GatewayReadyDispatch
- GatewayReceivePayload
- GatewayRequestGuildMembersData
- GatewayResumedDispatch
- GatewaySendPayload
- GatewayStageInstanceCreateDispatch
- GatewayStageInstanceCreateDispatchData
- GatewayStageInstanceDeleteDispatch
- GatewayStageInstanceDeleteDispatchData
- GatewayStageInstanceUpdateDispatch
- GatewayStageInstanceUpdateDispatchData
- GatewayThreadCreateDispatch
- GatewayThreadDeleteDispatch
- GatewayThreadDeleteDispatchData
- GatewayThreadListSyncDispatch
- GatewayThreadListSyncDispatchData
- GatewayThreadMemberUpdateDispatch
- GatewayThreadMemberUpdateDispatchData
- GatewayThreadMembersUpdateDispatch
- GatewayThreadMembersUpdateDispatchData
- GatewayThreadModifyDispatch
- GatewayThreadUpdateDispatch
- GatewayThreadUpdateDispatchData
- GatewayTypingStartDispatch
- GatewayUserUpdateDispatch
- GatewayUserUpdateDispatchData
- GatewayVoiceServerUpdateDispatch
- GatewayVoiceStateUpdateDispatch
- GatewayVoiceStateUpdateDispatchData
- GatewayWebhooksUpdateDispatch
- GetAPIVoiceRegionsResult
- GuildBannerFormat
- GuildChannelType
- GuildDiscoverySplashFormat
- GuildIconFormat
- GuildMemberAvatarFormat
- GuildMemberBannerFormat
- GuildScheduledEventCoverFormat
- GuildSplashFormat
- GuildTextChannelType
- PartialAPIMessageInteractionGuildMember
- PresenceUpdateReceiveStatus
- RESTDeleteAPIAutoModerationRuleResult
- RESTDeleteAPIChannelAllMessageReactionsResult
- RESTDeleteAPIChannelMessageOwnReaction
- RESTDeleteAPIChannelMessageReactionResult
- RESTDeleteAPIChannelMessageResult
- RESTDeleteAPIChannelMessageUserReactionResult
- RESTDeleteAPIChannelPermissionResult
- RESTDeleteAPIChannelPinResult
- RESTDeleteAPIChannelRecipientResult
- RESTDeleteAPIChannelResult
- RESTDeleteAPIChannelThreadMembersResult
- RESTDeleteAPICurrentUserGuildResult
- RESTDeleteAPIGuildBanResult
- RESTDeleteAPIGuildEmojiResult
- RESTDeleteAPIGuildIntegrationResult
- RESTDeleteAPIGuildMemberResult
- RESTDeleteAPIGuildMemberRoleResult
- RESTDeleteAPIGuildResult
- RESTDeleteAPIGuildRoleResult
- RESTDeleteAPIGuildScheduledEventResult
- RESTDeleteAPIGuildStickerResult
- RESTDeleteAPIGuildTemplateResult
- RESTDeleteAPIInteractionFollowupResult
- RESTDeleteAPIInteractionOriginalResponseResult
- RESTDeleteAPIInviteResult
- RESTDeleteAPIStageInstanceResult
- RESTDeleteAPIWebhookResult
- RESTDeleteAPIWebhookWithTokenMessageResult
- RESTDeleteAPIWebhookWithTokenResult
- RESTGetAPIApplicationCommandPermissionsResult
- RESTGetAPIApplicationCommandResult
- RESTGetAPIApplicationCommandsResult
- RESTGetAPIApplicationGuildCommandResult
- RESTGetAPIApplicationGuildCommandsQuery
- RESTGetAPIApplicationGuildCommandsResult
- RESTGetAPIApplicationRoleConnectionMetadataResult
- RESTGetAPIAuditLogResult
- RESTGetAPIAutoModerationRuleResult
- RESTGetAPIAutoModerationRulesResult
- RESTGetAPIChannelInvitesResult
- RESTGetAPIChannelMessageReactionUsersResult
- RESTGetAPIChannelMessageResult
- RESTGetAPIChannelMessagesResult
- RESTGetAPIChannelPinsResult
- RESTGetAPIChannelResult
- RESTGetAPIChannelThreadMemberResult
- RESTGetAPIChannelThreadMembersResult
- RESTGetAPIChannelThreadsArchivedPrivateResult
- RESTGetAPIChannelThreadsArchivedPublicResult
- RESTGetAPIChannelWebhooksResult
- RESTGetAPICurrentUserApplicationRoleConnectionResult
- RESTGetAPICurrentUserConnectionsResult
- RESTGetAPICurrentUserGuildsResult
- RESTGetAPICurrentUserResult
- RESTGetAPIGatewayBotResult
- RESTGetAPIGatewayResult
- RESTGetAPIGuildApplicationCommandsPermissionsResult
- RESTGetAPIGuildBanResult
- RESTGetAPIGuildBansResult
- RESTGetAPIGuildChannelsResult
- RESTGetAPIGuildEmojiResult
- RESTGetAPIGuildEmojisResult
- RESTGetAPIGuildIntegrationsResult
- RESTGetAPIGuildInvitesResult
- RESTGetAPIGuildMemberResult
- RESTGetAPIGuildMemberVerificationResult
- RESTGetAPIGuildMembersResult
- RESTGetAPIGuildMembersSearchResult
- RESTGetAPIGuildOnboardingResult
- RESTGetAPIGuildPreviewResult
- RESTGetAPIGuildResult
- RESTGetAPIGuildRolesResult
- RESTGetAPIGuildScheduledEventResult
- RESTGetAPIGuildScheduledEventUsersResult
- RESTGetAPIGuildScheduledEventsResult
- RESTGetAPIGuildStickerResult
- RESTGetAPIGuildStickersResult
- RESTGetAPIGuildTemplatesResult
- RESTGetAPIGuildThreadsResult
- RESTGetAPIGuildVoiceRegionsResult
- RESTGetAPIGuildWebhooksResult
- RESTGetAPIGuildWelcomeScreenResult
- RESTGetAPIGuildWidgetImageResult
- RESTGetAPIGuildWidgetJSONResult
- RESTGetAPIGuildWidgetSettingsResult
- RESTGetAPIInteractionFollowupResult
- RESTGetAPIInteractionOriginalResponseResult
- RESTGetAPIInviteResult
- RESTGetAPIOAuth2CurrentApplicationResult
- RESTGetAPIStageInstanceResult
- RESTGetAPIStickerResult
- RESTGetAPITemplateResult
- RESTGetAPIUserResult
- RESTGetAPIVoiceRegionsResult
- RESTGetAPIWebhookResult
- RESTGetAPIWebhookWithTokenMessageResult
- RESTGetAPIWebhookWithTokenResult
- RESTGetCurrentApplicationResult
- RESTGetCurrentUserGuildMemberResult
- RESTGetNitroStickerPacksResult
- RESTOAuth2ImplicitAuthorizationURLFragmentResult
- RESTPatchAPIApplicationCommandJSONBody
- RESTPatchAPIApplicationCommandResult
- RESTPatchAPIApplicationGuildCommandJSONBody
- RESTPatchAPIApplicationGuildCommandResult
- RESTPatchAPIAutoModerationRuleJSONBody
- RESTPatchAPIAutoModerationRuleResult
- RESTPatchAPIChannelMessageFormDataBody
- RESTPatchAPIChannelMessageResult
- RESTPatchAPIChannelResult
- RESTPatchAPICurrentGuildMemberNicknameResult
- RESTPatchAPICurrentUserResult
- RESTPatchAPIGuildChannelPositionsJSONBody
- RESTPatchAPIGuildChannelPositionsResult
- RESTPatchAPIGuildEmojiResult
- RESTPatchAPIGuildMemberResult
- RESTPatchAPIGuildMemberVerificationResult
- RESTPatchAPIGuildResult
- RESTPatchAPIGuildRolePositionsJSONBody
- RESTPatchAPIGuildRolePositionsResult
- RESTPatchAPIGuildRoleResult
- RESTPatchAPIGuildScheduledEventJSONBody
- RESTPatchAPIGuildScheduledEventResult
- RESTPatchAPIGuildStickerResult
- RESTPatchAPIGuildTemplateJSONBody
- RESTPatchAPIGuildTemplateResult
- RESTPatchAPIGuildVoiceStateCurrentMemberResult
- RESTPatchAPIGuildVoiceStateUserResult
- RESTPatchAPIGuildWelcomeScreenJSONBody
- RESTPatchAPIGuildWelcomeScreenResult
- RESTPatchAPIGuildWidgetSettingsJSONBody
- RESTPatchAPIGuildWidgetSettingsResult
- RESTPatchAPIInteractionFollowupFormDataBody
- RESTPatchAPIInteractionFollowupJSONBody
- RESTPatchAPIInteractionFollowupResult
- RESTPatchAPIInteractionOriginalResponseFormDataBody
- RESTPatchAPIInteractionOriginalResponseJSONBody
- RESTPatchAPIInteractionOriginalResponseResult
- RESTPatchAPIStageInstanceResult
- RESTPatchAPIWebhookResult
- RESTPatchAPIWebhookWithTokenJSONBody
- RESTPatchAPIWebhookWithTokenMessageFormDataBody
- RESTPatchAPIWebhookWithTokenMessageJSONBody
- RESTPatchAPIWebhookWithTokenMessageResult
- RESTPatchAPIWebhookWithTokenResult
- RESTPostAPIApplicationCommandsJSONBody
- RESTPostAPIApplicationCommandsResult
- RESTPostAPIApplicationGuildCommandsJSONBody
- RESTPostAPIApplicationGuildCommandsResult
- RESTPostAPIAutoModerationRuleResult
- RESTPostAPIChannelFollowersResult
- RESTPostAPIChannelInviteResult
- RESTPostAPIChannelMessageCrosspostResult
- RESTPostAPIChannelMessageFormDataBody
- RESTPostAPIChannelMessageResult
- RESTPostAPIChannelMessagesBulkDeleteResult
- RESTPostAPIChannelMessagesThreadsResult
- RESTPostAPIChannelThreadsResult
- RESTPostAPIChannelTypingResult
- RESTPostAPIChannelWebhookResult
- RESTPostAPICurrentUserCreateDMChannelResult
- RESTPostAPIGuildChannelJSONBody
- RESTPostAPIGuildChannelResult
- RESTPostAPIGuildEmojiResult
- RESTPostAPIGuildForumThreadsFormDataBody
- RESTPostAPIGuildForumThreadsJSONBody
- RESTPostAPIGuildRoleResult
- RESTPostAPIGuildScheduledEventResult
- RESTPostAPIGuildStickerResult
- RESTPostAPIGuildTemplatesResult
- RESTPostAPIGuildsMFAResult
- RESTPostAPIGuildsResult
- RESTPostAPIInteractionCallbackFormDataBody
- RESTPostAPIInteractionCallbackJSONBody
- RESTPostAPIInteractionFollowupFormDataBody
- RESTPostAPIInteractionFollowupJSONBody
- RESTPostAPIInteractionFollowupResult
- RESTPostAPIStageInstanceResult
- RESTPostAPITemplateCreateGuildResult
- RESTPostAPIWebhookWithTokenFormDataBody
- RESTPostAPIWebhookWithTokenGitHubQuery
- RESTPostAPIWebhookWithTokenGitHubResult
- RESTPostAPIWebhookWithTokenGitHubWaitResult
- RESTPostAPIWebhookWithTokenResult
- RESTPostAPIWebhookWithTokenSlackQuery
- RESTPostAPIWebhookWithTokenSlackResult
- RESTPostAPIWebhookWithTokenSlackWaitResult
- RESTPostAPIWebhookWithTokenWaitResult
- RESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResult
- RESTPostOAuth2ClientCredentialsResult
- RESTPostOAuth2RefreshTokenResult
- RESTPutAPIApplicationCommandPermissionsResult
- RESTPutAPIApplicationCommandsJSONBody
- RESTPutAPIApplicationCommandsResult
- RESTPutAPIApplicationGuildCommandsJSONBody
- RESTPutAPIApplicationGuildCommandsResult
- RESTPutAPIApplicationRoleConnectionMetadataJSONBody
- RESTPutAPIApplicationRoleConnectionMetadataResult
- RESTPutAPIChannelMessageReactionResult
- RESTPutAPIChannelPermissionResult
- RESTPutAPIChannelPinResult
- RESTPutAPIChannelRecipientResult
- RESTPutAPIChannelThreadMembersResult
- RESTPutAPICurrentUserApplicationRoleConnectionResult
- RESTPutAPIGuildApplicationCommandsPermissionsJSONBody
- RESTPutAPIGuildApplicationCommandsPermissionsResult
- RESTPutAPIGuildBanResult
- RESTPutAPIGuildMemberResult
- RESTPutAPIGuildMemberRoleResult
- RESTPutAPIGuildOnboardingJSONBody
- RESTPutAPIGuildOnboardingResult
- RESTPutAPIGuildTemplateSyncResult
- RoleIconFormat
- StickerFormat
- StickerPackBannerFormat
- TeamIconFormat
- TextChannelType
- ThreadChannelType
- UserAvatarFormat
- UserBannerFormat
Variables
References
FormattingPatterns
GatewayURLQuery
Locale
LocaleString
LocalizationMap
PermissionFlagsBits
RESTError
RESTErrorData
RESTErrorFieldInformation
RESTErrorGroupWrapper
RESTJSONErrorCodes
RESTRateLimit
RPCCloseEventCodes
RPCErrorCodes
Snowflake
Utils
Type Aliases
APIActionRowComponentTypes
APIApplicationCommandAttachmentOption
APIApplicationCommandAutocompleteDMInteraction
APIApplicationCommandAutocompleteGuildInteraction
APIApplicationCommandAutocompleteInteraction
APIApplicationCommandBasicOption
APIApplicationCommandBooleanOption
APIApplicationCommandDMInteraction
APIApplicationCommandGuildInteraction
APIApplicationCommandIntegerOption
APIApplicationCommandInteraction
APIApplicationCommandInteractionData
APIApplicationCommandInteractionDataAttachmentOption
APIApplicationCommandInteractionDataBasicOption
APIApplicationCommandInteractionDataBooleanOption
APIApplicationCommandInteractionDataChannelOption
APIApplicationCommandInteractionDataMentionableOption
APIApplicationCommandInteractionDataOption
APIApplicationCommandInteractionDataRoleOption
APIApplicationCommandInteractionDataUserOption
APIApplicationCommandInteractionWrapper
APIApplicationCommandMentionableOption
APIApplicationCommandNumberOption
APIApplicationCommandOption
APIApplicationCommandOptionWithAutocompleteOrChoicesWrapper
Type parameters
APIApplicationCommandRoleOption
APIApplicationCommandStringOption
APIApplicationCommandUserOption
APIAuditLogChange
APIAuditLogChangeKey$Add
Returned when new role(s) are added
APIAuditLogChangeKey$Remove
Returned when role(s) are removed
APIAuditLogChangeKeyAFKChannelId
Returned when a guild’s afk_channel_id is changed
APIAuditLogChangeKeyAFKTimeout
Returned when a guild’s afk_timeout is changed
APIAuditLogChangeKeyActions
Returned when an auto moderation rule’s actions is changed
APIAuditLogChangeKeyAllow
Returned when an overwrite’s allowed permissions bitfield is changed
APIAuditLogChangeKeyApplicationId
The application ID of the added or removed Webhook or Bot
APIAuditLogChangeKeyArchived
Returned when a thread’s archive status is changed
APIAuditLogChangeKeyAsset
Empty string
APIAuditLogChangeKeyAutoArchiveDuration
Returned when a thread’s auto archive duration is changed
APIAuditLogChangeKeyAvailable
Returned when a sticker’s availability is changed
APIAuditLogChangeKeyAvatarHash
Returned when a user’s avatar_hash is changed
APIAuditLogChangeKeyBannerHash
Returned when a guild’s banner hash is changed
APIAuditLogChangeKeyBitrate
Returned when a voice channel’s bitrate is changed
APIAuditLogChangeKeyChannelId
Returned when an invite’s or guild scheduled event’s channel_id is changed
APIAuditLogChangeKeyCode
Returned when an invite’s code is changed
APIAuditLogChangeKeyColor
Returned when a role’s color is changed
APIAuditLogChangeKeyCommunicationDisabledUntil
Returned when a user’s timeout is changed
APIAuditLogChangeKeyDeaf
Returned when a user’s deaf status is changed
APIAuditLogChangeKeyDefaultAutoArchiveDuration
Returned when a channel’s default auto archive duration for newly created threads is changed
APIAuditLogChangeKeyDefaultMessageNotifications
Returned when a guild’s default_message_notifications is changed
APIAuditLogChangeKeyDeny
Returned when an overwrite’s denied permissions bitfield is changed
APIAuditLogChangeKeyDescription
Returned when a guild’s or sticker’s or guild scheduled event’s description is changed
APIAuditLogChangeKeyDiscoverySplashHash
Returned when a guild’s discovery splash is changed
APIAuditLogChangeKeyEnableEmoticons
Returned when an integration’s enable_emoticons is changed
APIAuditLogChangeKeyEnabled
Returned when an auto moderation rule’s enabled status is changed
APIAuditLogChangeKeyEntityType
Returned when entity type of a guild scheduled event is changed
APIAuditLogChangeKeyEventType
Returned when an auto moderation rule’s event type is changed
APIAuditLogChangeKeyExemptChannels
Returned when an auto moderation rule’s exempt channels is changed
APIAuditLogChangeKeyExemptRoles
Returned when an auto moderation rule’s exempt roles is changed
APIAuditLogChangeKeyExpireBehavior
Returned when an integration’s expire_behavior is changed
APIAuditLogChangeKeyExpireGracePeriod
Returned when an integration’s expire_grace_period is changed
APIAuditLogChangeKeyExplicitContentFilter
Returned when a guild’s explicit_content_filter is changed
APIAuditLogChangeKeyFormatType
Returned when a sticker’s format_type is changed
APIAuditLogChangeKeyGuildId
Returned when a sticker’s guild_id is changed
APIAuditLogChangeKeyHoist
Returned when a role’s hoist status is changed
APIAuditLogChangeKeyIconHash
Returned when a guild’s icon is changed
APIAuditLogChangeKeyId
The ID of the changed entity - sometimes used in conjunction with other keys
APIAuditLogChangeKeyImageHash
Returned when a guild’s scheduled event’s cover image is changed
APIAuditLogChangeKeyInviterId
Returned when an invite’s inviter_id is changed
APIAuditLogChangeKeyLocation
Returned when location of a guild scheduled event is changed
APIAuditLogChangeKeyLocked
Returned when a thread’s lock status is changed
APIAuditLogChangeKeyMFALevel
Returned when a guild’s mfa_level is changed
APIAuditLogChangeKeyMaxAge
Returned when an invite’s max_age is changed
APIAuditLogChangeKeyMaxUses
Returned when an invite’s max_uses is changed
APIAuditLogChangeKeyMentionable
Returned when a role’s mentionable status is changed
APIAuditLogChangeKeyMute
Returned when a user’s mute status is changed
APIAuditLogChangeKeyNSFW
Returned when a channel’s NSFW restriction is changed
APIAuditLogChangeKeyName
Returned when an entity’s name is changed
APIAuditLogChangeKeyNick
Returned when a user’s nick is changed
APIAuditLogChangeKeyOwnerId
Returned when a guild’s owner_id is changed
APIAuditLogChangeKeyPermissionOverwrites
Returned when a channel’s permission overwrites is changed
APIAuditLogChangeKeyPermissions
Returned when a permission bitfield is changed
APIAuditLogChangeKeyPosition
Returned when a channel’s position is changed
APIAuditLogChangeKeyPreferredLocale
Returned when a guild’s preferred_locale is changed
APIAuditLogChangeKeyPrivacyLevel
Returned when privacy level of a stage instance or guild scheduled event is changed
APIAuditLogChangeKeyPruneDeleteDays
Returned when there is a change in number of days after which inactive and role-unassigned members are kicked
APIAuditLogChangeKeyPublicUpdatesChannelId
Returned when a guild’s public_updates_channel_id is changed
APIAuditLogChangeKeyRateLimitPerUser
Returned when a channel’s amount of seconds a user has to wait before sending another message is changed
APIAuditLogChangeKeyRegion
Returned when a guild’s region is changed
APIAuditLogChangeKeyRulesChannelId
Returned when a guild’s rules_channel_id is changed
APIAuditLogChangeKeySafetyAlertsChannelId
Returned when a guild’s safety_alerts_channel_id is changed
APIAuditLogChangeKeySnowflake
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 (
APIAuditLogChangeKeySplashHash
Returned when a guild’s splash is changed
APIAuditLogChangeKeyStatus
Returned when status of a guild scheduled event is changed
APIAuditLogChangeKeySystemChannelId
Returned when a guild’s system_channel_id is changed
APIAuditLogChangeKeyTags
Returned when a sticker’s related emoji is changed
APIAuditLogChangeKeyTemporary
Returned when an invite’s temporary status is changed
APIAuditLogChangeKeyTopic
Returned when a channel’s topic is changed
APIAuditLogChangeKeyTriggerMetadata
Returned when an auto moderation rule’s trigger metadata is changed
APIAuditLogChangeKeyTriggerType
Returned when an auto moderation rule’s trigger type is changed (only in rule creation or deletion)
APIAuditLogChangeKeyType
The type of entity created
APIAuditLogChangeKeyUserLimit
Returned when a voice channel’s user_limit is changed
APIAuditLogChangeKeyUses
Returned when an invite’s uses is changed
APIAuditLogChangeKeyVanityURLCode
Returned when a guild’s vanity_url_code is changed
APIAuditLogChangeKeyVerificationLevel
Returned when a guild’s verification_level is changed
APIAuditLogChangeKeyWidgetChannelId
Returned when a guild’s widget_channel_id is changed
APIAuditLogChangeKeyWidgetEnabled
Returned when a guild’s widget is enabled
APIAutoPopulatedSelectMenuComponent
APIButtonComponent
APIChannel
APIChatInputApplicationCommandDMInteraction
APIChatInputApplicationCommandGuildInteraction
APIChatInputApplicationCommandInteraction
APIChatInputApplicationCommandInteractionDataResolved
APIContextMenuDMInteraction
APIContextMenuGuildInteraction
APIContextMenuInteraction
APIContextMenuInteractionData
APIDMInteraction
APIDMInteractionWrapper
Type parameters
- Original: APIBaseInteraction<InteractionType, unknown>
APIGuildCategoryChannel
APIGuildChannelResolvable
APIGuildCreatePartialChannel
APIGuildIntegrationType
APIGuildInteraction
APIGuildInteractionWrapper
Type parameters
- Original: APIBaseInteraction<InteractionType, unknown>
APIGuildMediaChannel
APIGuildScheduledEvent
APIGuildStageVoiceChannel
APIGuildVoiceChannel
APIInteraction
APIInteractionDataResolvedChannel
APIInteractionResponse
APIInteractionResponseCallbackData
APIInviteGuild
APIMentionableSelectComponent
APIMessageActionRowComponent
APIMessageApplicationCommandDMInteraction
APIMessageApplicationCommandGuildInteraction
APIMessageApplicationCommandInteraction
APIMessageButtonInteractionData
APIMessageComponent
APIMessageComponentButtonInteraction
APIMessageComponentDMInteraction
APIMessageComponentGuildInteraction
APIMessageComponentInteraction
APIMessageComponentInteractionData
APIMessageComponentSelectMenuInteraction
APIMessageReferenceSend
APIMessageSelectMenuInteractionData
APIModalActionRowComponent
APIModalComponent
APIModalSubmitDMInteraction
APIModalSubmitGuildInteraction
APIModalSubmitInteraction
APINewsChannel
APIPingInteraction
APIRoleSelectComponent
APISelectMenuComponent
APIStickerItem
APITextChannel
APIUserApplicationCommandDMInteraction
APIUserApplicationCommandGuildInteraction
APIUserApplicationCommandInteraction
APIUserApplicationCommandInteractionDataResolved
APIUserInteractionDataResolved
users
and optional members
from APIInteractionDataResolved, for user commands and user selects
APIUserSelectComponent
AchievementIconFormat
ApplicationAssetFormat
ApplicationCoverFormat
ApplicationIconFormat
AuditLogRuleTriggerType
DefaultUserAvatar
DefaultUserAvatarAssets
EmojiFormat
GatewayActivityAssets
GatewayActivityEmoji
GatewayActivitySecrets
GatewayActivityUpdateData
GatewayApplicationCommandPermissionsUpdateDispatch
GatewayAutoModerationActionExecutionDispatch
GatewayAutoModerationRuleCreateDispatch
GatewayAutoModerationRuleCreateDispatchData
GatewayAutoModerationRuleDeleteDispatch
GatewayAutoModerationRuleDeleteDispatchData
GatewayAutoModerationRuleModifyDispatch
GatewayAutoModerationRuleModifyDispatchData
GatewayAutoModerationRuleUpdateDispatch
GatewayAutoModerationRuleUpdateDispatchData
GatewayChannelCreateDispatch
GatewayChannelCreateDispatchData
GatewayChannelDeleteDispatch
GatewayChannelDeleteDispatchData
GatewayChannelModifyDispatch
GatewayChannelModifyDispatchData
GatewayChannelPinsUpdateDispatch
GatewayChannelUpdateDispatch
GatewayChannelUpdateDispatchData
GatewayDispatchPayload
GatewayGuildAuditLogEntryCreateDispatch
GatewayGuildBanAddDispatch
GatewayGuildBanAddDispatchData
GatewayGuildBanModifyDispatch
GatewayGuildBanRemoveDispatch
GatewayGuildBanRemoveDispatchData
GatewayGuildCreateDispatch
GatewayGuildDeleteDispatch
GatewayGuildDeleteDispatchData
GatewayGuildEmojisUpdateDispatch
GatewayGuildIntegrationsUpdateDispatch
GatewayGuildMemberAddDispatch
GatewayGuildMemberRemoveDispatch
GatewayGuildMemberUpdateDispatch
GatewayGuildMemberUpdateDispatchData
GatewayGuildMembersChunkDispatch
GatewayGuildMembersChunkPresence
GatewayGuildModifyDispatch
GatewayGuildModifyDispatchData
GatewayGuildRoleCreateDispatch
GatewayGuildRoleCreateDispatchData
GatewayGuildRoleDeleteDispatch
GatewayGuildRoleModifyDispatch
GatewayGuildRoleUpdateDispatch
GatewayGuildRoleUpdateDispatchData
GatewayGuildScheduledEventCreateDispatch
GatewayGuildScheduledEventCreateDispatchData
GatewayGuildScheduledEventDeleteDispatch
GatewayGuildScheduledEventDeleteDispatchData
GatewayGuildScheduledEventUpdateDispatch
GatewayGuildScheduledEventUpdateDispatchData
GatewayGuildScheduledEventUserAddDispatch
GatewayGuildScheduledEventUserRemoveDispatch
GatewayGuildStickersUpdateDispatch
GatewayGuildUpdateDispatch
GatewayGuildUpdateDispatchData
GatewayHeartbeatData
GatewayIntegrationCreateDispatch
GatewayIntegrationCreateDispatchData
GatewayIntegrationDeleteDispatch
GatewayIntegrationUpdateDispatch
GatewayIntegrationUpdateDispatchData
GatewayInteractionCreateDispatch
GatewayInteractionCreateDispatchData
GatewayInvalidSessionData
GatewayInviteCreateDispatch
GatewayInviteDeleteDispatch
GatewayMessageCreateDispatch
GatewayMessageCreateDispatchData
GatewayMessageDeleteBulkDispatch
GatewayMessageDeleteDispatch
GatewayMessageReactionAddDispatch
GatewayMessageReactionAddDispatchData
GatewayMessageReactionRemoveAllDispatch
GatewayMessageReactionRemoveAllDispatchData
GatewayMessageReactionRemoveDispatch
GatewayMessageReactionRemoveDispatchData
GatewayMessageReactionRemoveEmojiDispatch
GatewayMessageUpdateDispatch
GatewayMessageUpdateDispatchData
GatewayPresenceUpdateDispatch
GatewayPresenceUpdateDispatchData
GatewayReadyDispatch
GatewayReceivePayload
GatewayRequestGuildMembersData
GatewayResumedDispatch
GatewaySendPayload
GatewayStageInstanceCreateDispatch
GatewayStageInstanceCreateDispatchData
GatewayStageInstanceDeleteDispatch
GatewayStageInstanceDeleteDispatchData
GatewayStageInstanceUpdateDispatch
GatewayStageInstanceUpdateDispatchData
GatewayThreadCreateDispatch
GatewayThreadDeleteDispatch
GatewayThreadDeleteDispatchData
GatewayThreadListSyncDispatch
GatewayThreadListSyncDispatchData
GatewayThreadMemberUpdateDispatch
GatewayThreadMemberUpdateDispatchData
GatewayThreadMembersUpdateDispatch
GatewayThreadMembersUpdateDispatchData
GatewayThreadModifyDispatch
GatewayThreadUpdateDispatch
GatewayThreadUpdateDispatchData
GatewayTypingStartDispatch
GatewayUserUpdateDispatch
GatewayUserUpdateDispatchData
GatewayVoiceServerUpdateDispatch
GatewayVoiceStateUpdateDispatch
GatewayVoiceStateUpdateDispatchData
GatewayWebhooksUpdateDispatch
GetAPIVoiceRegionsResult
GuildBannerFormat
GuildChannelType
GuildDiscoverySplashFormat
GuildIconFormat
GuildMemberAvatarFormat
GuildMemberBannerFormat
GuildScheduledEventCoverFormat
GuildSplashFormat
GuildTextChannelType
PartialAPIMessageInteractionGuildMember
PresenceUpdateReceiveStatus
RESTDeleteAPIAutoModerationRuleResult
RESTDeleteAPIChannelAllMessageReactionsResult
RESTDeleteAPIChannelMessageOwnReaction
RESTDeleteAPIChannelMessageReactionResult
RESTDeleteAPIChannelMessageResult
RESTDeleteAPIChannelMessageUserReactionResult
RESTDeleteAPIChannelPermissionResult
RESTDeleteAPIChannelPinResult
RESTDeleteAPIChannelRecipientResult
RESTDeleteAPIChannelResult
RESTDeleteAPIChannelThreadMembersResult
RESTDeleteAPICurrentUserGuildResult
RESTDeleteAPIGuildBanResult
RESTDeleteAPIGuildEmojiResult
RESTDeleteAPIGuildIntegrationResult
RESTDeleteAPIGuildMemberResult
RESTDeleteAPIGuildMemberRoleResult
RESTDeleteAPIGuildResult
RESTDeleteAPIGuildRoleResult
RESTDeleteAPIGuildScheduledEventResult
RESTDeleteAPIGuildStickerResult
RESTDeleteAPIGuildTemplateResult
RESTDeleteAPIInteractionFollowupResult
RESTDeleteAPIInteractionOriginalResponseResult
RESTDeleteAPIInviteResult
RESTDeleteAPIStageInstanceResult
RESTDeleteAPIWebhookResult
RESTDeleteAPIWebhookWithTokenMessageResult
RESTDeleteAPIWebhookWithTokenResult
RESTGetAPIApplicationCommandPermissionsResult
RESTGetAPIApplicationCommandResult
RESTGetAPIApplicationCommandsResult
RESTGetAPIApplicationGuildCommandResult
RESTGetAPIApplicationGuildCommandsQuery
RESTGetAPIApplicationGuildCommandsResult
RESTGetAPIApplicationRoleConnectionMetadataResult
RESTGetAPIAuditLogResult
RESTGetAPIAutoModerationRuleResult
RESTGetAPIAutoModerationRulesResult
RESTGetAPIChannelInvitesResult
RESTGetAPIChannelMessageReactionUsersResult
RESTGetAPIChannelMessageResult
RESTGetAPIChannelMessagesResult
RESTGetAPIChannelPinsResult
RESTGetAPIChannelResult
RESTGetAPIChannelThreadMemberResult
RESTGetAPIChannelThreadMembersResult
RESTGetAPIChannelThreadsArchivedPrivateResult
RESTGetAPIChannelThreadsArchivedPublicResult
RESTGetAPIChannelWebhooksResult
RESTGetAPICurrentUserApplicationRoleConnectionResult
RESTGetAPICurrentUserConnectionsResult
RESTGetAPICurrentUserGuildsResult
RESTGetAPICurrentUserResult
RESTGetAPIGatewayBotResult
RESTGetAPIGatewayResult
RESTGetAPIGuildApplicationCommandsPermissionsResult
RESTGetAPIGuildBanResult
RESTGetAPIGuildBansResult
RESTGetAPIGuildChannelsResult
RESTGetAPIGuildEmojiResult
RESTGetAPIGuildEmojisResult
RESTGetAPIGuildIntegrationsResult
RESTGetAPIGuildInvitesResult
RESTGetAPIGuildMemberResult
RESTGetAPIGuildMemberVerificationResult
RESTGetAPIGuildMembersResult
RESTGetAPIGuildMembersSearchResult
RESTGetAPIGuildOnboardingResult
RESTGetAPIGuildPreviewResult
RESTGetAPIGuildResult
RESTGetAPIGuildRolesResult
RESTGetAPIGuildScheduledEventResult
RESTGetAPIGuildScheduledEventUsersResult
RESTGetAPIGuildScheduledEventsResult
RESTGetAPIGuildStickerResult
RESTGetAPIGuildStickersResult
RESTGetAPIGuildTemplatesResult
RESTGetAPIGuildThreadsResult
RESTGetAPIGuildVoiceRegionsResult
RESTGetAPIGuildWebhooksResult
RESTGetAPIGuildWelcomeScreenResult
RESTGetAPIGuildWidgetImageResult
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
RESTGetAPIGuildWidgetSettingsResult
RESTGetAPIInteractionFollowupResult
RESTGetAPIInteractionOriginalResponseResult
RESTGetAPIInviteResult
RESTGetAPIOAuth2CurrentApplicationResult
RESTGetAPIStageInstanceResult
RESTGetAPIStickerResult
RESTGetAPITemplateResult
RESTGetAPIUserResult
RESTGetAPIVoiceRegionsResult
RESTGetAPIWebhookResult
RESTGetAPIWebhookWithTokenMessageResult
RESTGetAPIWebhookWithTokenResult
RESTGetCurrentApplicationResult
RESTGetCurrentUserGuildMemberResult
RESTGetNitroStickerPacksResult
RESTOAuth2ImplicitAuthorizationURLFragmentResult
RESTPatchAPIApplicationCommandJSONBody
RESTPatchAPIApplicationCommandResult
RESTPatchAPIApplicationGuildCommandJSONBody
RESTPatchAPIApplicationGuildCommandResult
RESTPatchAPIAutoModerationRuleJSONBody
RESTPatchAPIAutoModerationRuleResult
RESTPatchAPIChannelMessageFormDataBody
RESTPatchAPIChannelMessageResult
RESTPatchAPIChannelResult
RESTPatchAPICurrentGuildMemberNicknameResult
RESTPatchAPICurrentUserResult
RESTPatchAPIGuildChannelPositionsJSONBody
RESTPatchAPIGuildChannelPositionsResult
RESTPatchAPIGuildEmojiResult
RESTPatchAPIGuildMemberResult
RESTPatchAPIGuildMemberVerificationResult
RESTPatchAPIGuildResult
RESTPatchAPIGuildRolePositionsJSONBody
RESTPatchAPIGuildRolePositionsResult
RESTPatchAPIGuildRoleResult
RESTPatchAPIGuildScheduledEventJSONBody
RESTPatchAPIGuildScheduledEventResult
RESTPatchAPIGuildStickerResult
RESTPatchAPIGuildTemplateJSONBody
RESTPatchAPIGuildTemplateResult
RESTPatchAPIGuildVoiceStateCurrentMemberResult
RESTPatchAPIGuildVoiceStateUserResult
RESTPatchAPIGuildWelcomeScreenJSONBody
RESTPatchAPIGuildWelcomeScreenResult
RESTPatchAPIGuildWidgetSettingsJSONBody
RESTPatchAPIGuildWidgetSettingsResult
RESTPatchAPIInteractionFollowupFormDataBody
RESTPatchAPIInteractionFollowupJSONBody
RESTPatchAPIInteractionFollowupResult
RESTPatchAPIInteractionOriginalResponseFormDataBody
RESTPatchAPIInteractionOriginalResponseJSONBody
RESTPatchAPIInteractionOriginalResponseResult
RESTPatchAPIStageInstanceResult
RESTPatchAPIWebhookResult
RESTPatchAPIWebhookWithTokenJSONBody
RESTPatchAPIWebhookWithTokenMessageFormDataBody
RESTPatchAPIWebhookWithTokenMessageJSONBody
RESTPatchAPIWebhookWithTokenMessageResult
RESTPatchAPIWebhookWithTokenResult
RESTPostAPIApplicationCommandsJSONBody
RESTPostAPIApplicationCommandsResult
RESTPostAPIApplicationGuildCommandsJSONBody
RESTPostAPIApplicationGuildCommandsResult
RESTPostAPIAutoModerationRuleResult
RESTPostAPIChannelFollowersResult
RESTPostAPIChannelInviteResult
RESTPostAPIChannelMessageCrosspostResult
RESTPostAPIChannelMessageFormDataBody
RESTPostAPIChannelMessageResult
RESTPostAPIChannelMessagesBulkDeleteResult
RESTPostAPIChannelMessagesThreadsResult
RESTPostAPIChannelThreadsResult
RESTPostAPIChannelTypingResult
RESTPostAPIChannelWebhookResult
RESTPostAPICurrentUserCreateDMChannelResult
RESTPostAPIGuildChannelJSONBody
RESTPostAPIGuildChannelResult
RESTPostAPIGuildEmojiResult
RESTPostAPIGuildForumThreadsFormDataBody
RESTPostAPIGuildForumThreadsJSONBody
RESTPostAPIGuildRoleResult
RESTPostAPIGuildScheduledEventResult
RESTPostAPIGuildStickerResult
RESTPostAPIGuildTemplatesResult
RESTPostAPIGuildsMFAResult
RESTPostAPIGuildsResult
RESTPostAPIInteractionCallbackFormDataBody
RESTPostAPIInteractionCallbackJSONBody
RESTPostAPIInteractionFollowupFormDataBody
RESTPostAPIInteractionFollowupJSONBody
RESTPostAPIInteractionFollowupResult
RESTPostAPIStageInstanceResult
RESTPostAPITemplateCreateGuildResult
RESTPostAPIWebhookWithTokenFormDataBody
RESTPostAPIWebhookWithTokenGitHubQuery
RESTPostAPIWebhookWithTokenGitHubResult
RESTPostAPIWebhookWithTokenGitHubWaitResult
Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives
the wait
query parameter set to true
RESTPostAPIWebhookWithTokenResult
RESTPostAPIWebhookWithTokenSlackQuery
RESTPostAPIWebhookWithTokenSlackResult
RESTPostAPIWebhookWithTokenSlackWaitResult
Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives
the wait
query parameter set to true
RESTPostAPIWebhookWithTokenWaitResult
Received when a call to https://discord.com/developers/docs/resources/webhook#execute-webhook receives
the wait
query parameter set to true
RESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResult
RESTPostOAuth2ClientCredentialsResult
RESTPostOAuth2RefreshTokenResult
RESTPutAPIApplicationCommandPermissionsResult
RESTPutAPIApplicationCommandsJSONBody
RESTPutAPIApplicationCommandsResult
RESTPutAPIApplicationGuildCommandsJSONBody
RESTPutAPIApplicationGuildCommandsResult
RESTPutAPIApplicationRoleConnectionMetadataJSONBody
RESTPutAPIApplicationRoleConnectionMetadataResult
RESTPutAPIChannelMessageReactionResult
RESTPutAPIChannelPermissionResult
RESTPutAPIChannelPinResult
RESTPutAPIChannelRecipientResult
RESTPutAPIChannelThreadMembersResult
RESTPutAPICurrentUserApplicationRoleConnectionResult
RESTPutAPIGuildApplicationCommandsPermissionsJSONBody
RESTPutAPIGuildApplicationCommandsPermissionsResult
RESTPutAPIGuildBanResult
RESTPutAPIGuildMemberResult
RESTPutAPIGuildMemberRoleResult
RESTPutAPIGuildOnboardingJSONBody
RESTPutAPIGuildOnboardingResult
RESTPutAPIGuildTemplateSyncResult
RoleIconFormat
StickerFormat
StickerPackBannerFormat
TeamIconFormat
TextChannelType
ThreadChannelType
UserAvatarFormat
UserBannerFormat
Variables
constAPIApplicationCommandPermissionsConstant
Type declaration
AllChannels: (guildId: string | bigint) => string
Parameters
guildId: string | bigint
Returns string
Everyone: (guildId: string | bigint) => string
Parameters
guildId: string | bigint
Returns string
constAPIVersion
constCDNRoutes
Type declaration
achievementIcon: function
Route for:
- GET
/app-assets/{application.id}/achievements/{achievement.id}/icons/{achievement.icon}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Parameters
applicationId: string
achievementId: string
achievementIconHash: string
format: AchievementIconFormat
Returns `/app-assets/${string}/achievements/${string}/icons/${string}.jpeg` | `/app-assets/${string}/achievements/${string}/icons/${string}.png` | `/app-assets/${string}/achievements/${string}/icons/${string}.webp`
- GET
applicationAsset: function
Route for:
- GET
/app-assets/{application.id}/{application.asset_id}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Parameters
applicationId: string
applicationAssetId: string
format: ApplicationAssetFormat
Returns `/app-assets/${string}/${string}.jpeg` | `/app-assets/${string}/${string}.png` | `/app-assets/${string}/${string}.webp`
- GET
applicationCover: function
Route for:
- GET
/app-icons/{application.id}/{application.cover_image}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Parameters
applicationId: string
applicationCoverImage: string
format: ApplicationCoverFormat
Returns `/app-icons/${string}/${string}.jpeg` | `/app-icons/${string}/${string}.png` | `/app-icons/${string}/${string}.webp`
- GET
applicationIcon: function
Route for:
- GET
/app-icons/{application.id}/{application.icon}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Parameters
applicationId: string
applicationIcon: string
format: ApplicationIconFormat
Returns `/app-icons/${string}/${string}.jpeg` | `/app-icons/${string}/${string}.png` | `/app-icons/${string}/${string}.webp`
- GET
defaultUserAvatar: function
Route for:
- GET
/embed/avatars/{index}.png
The value for
index
parameter depends on whether the user is migrated to the new username system. For users on the new username system,index
will be(user.id >> 22) % 6
. For users on the legacy username system,index
will beuser.discriminator % 5
.This route supports the extension: PNG
Parameters
index: DefaultUserAvatarAssets
Returns /embed/avatars/0.png | /embed/avatars/2.png | /embed/avatars/1.png | /embed/avatars/3.png | /embed/avatars/4.png | /embed/avatars/5.png
- GET
emoji: function
Route for:
- GET
/emojis/{emoji.id}.{png|jpeg|webp|gif}
As this route supports GIFs, the hash will begin with
a_
if it is available in GIF formatThis route supports the extensions: PNG, JPEG, WebP, GIF
Parameters
emojiId: string
format: EmojiFormat
Returns `/emojis/${string}.jpeg` | `/emojis/${string}.png` | `/emojis/${string}.webp` | `/emojis/${string}.gif`
- GET
guildBanner: function
Route for:
- GET
/banners/{guild.id}/{guild.banner}.{png|jpeg|webp|gif}
As this route supports GIFs, the hash will begin with
a_
if it is available in GIF formatThis route supports the extensions: PNG, JPEG, WebP, GIF
Parameters
guildId: string
guildBanner: string
format: GuildBannerFormat
Returns `/banners/${string}/${string}.jpeg`
- GET
https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object