discord-api-types/v8
Index
Enumerations
- ActivityFlags
- ActivityPlatform
- ActivityType
- AllowedMentionsTypes
- ApplicationCommandOptionType
- ApplicationCommandPermissionType
- ApplicationCommandType
- ApplicationFlags
- AuditLogEvent
- AuditLogOptionsType
- ButtonStyle
- ChannelType
- ComponentType
- ConnectionVisibility
- EmbedType
- GatewayCloseCodes
- GatewayDispatchEvents
- GatewayIntentBits
- GatewayOpcodes
- GuildDefaultMessageNotifications
- GuildExplicitContentFilter
- GuildFeature
- GuildMFALevel
- GuildNSFWLevel
- GuildPremiumTier
- GuildScheduledEventEntityType
- GuildScheduledEventPrivacyLevel
- GuildScheduledEventStatus
- GuildSystemChannelFlags
- GuildVerificationLevel
- GuildWidgetStyle
- IntegrationExpireBehavior
- InteractionResponseType
- InteractionType
- InviteTargetType
- MembershipScreeningFieldType
- MessageActivityType
- MessageFlags
- MessageType
- OAuth2Scopes
- OverwriteType
- PresenceUpdateStatus
- StageInstancePrivacyLevel
- StickerFormatType
- StickerType
- TeamMemberMembershipState
- TextInputStyle
- UserFlags
- UserPremiumType
- VideoQualityMode
- WebhookType
Interfaces
- APIActionRowComponent
- APIAllowedMentions
- APIApplication
- APIApplicationCommand
- APIApplicationCommandAutocompleteResponse
- APIApplicationCommandChannelOption
- APIApplicationCommandInteractionDataIntegerOption
- APIApplicationCommandInteractionDataNumberOption
- APIApplicationCommandInteractionDataStringOption
- APIApplicationCommandInteractionDataSubcommandGroupOption
- APIApplicationCommandInteractionDataSubcommandOption
- APIApplicationCommandOptionChoice
- APIApplicationCommandPermission
- APIApplicationCommandSubcommandGroupOption
- APIApplicationCommandSubcommandOption
- APIApplicationInstallParams
- APIAttachment
- APIAuditLog
- APIAuditLogEntry
- APIAuditLogOptions
- APIBan
- APIBaseComponent
- APIBaseInteraction
- APIButtonComponentWithCustomId
- APIButtonComponentWithURL
- APIChannelBase
- APIChannelMention
- APIChannelPatchOverwrite
- APIChatInputApplicationCommandInteractionData
- APIChatInputApplicationCommandInteractionDataResolved
- APICommandAutocompleteInteractionResponseCallbackData
- APIConnection
- APIEmbed
- APIEmbedAuthor
- APIEmbedField
- APIEmbedFooter
- APIEmbedImage
- APIEmbedProvider
- APIEmbedThumbnail
- APIEmbedVideo
- APIEmoji
- APIExtendedInvite
- APIExternalGuildScheduledEvent
- APIFollowedChannel
- APIGatewayBotInfo
- APIGatewayInfo
- APIGatewaySessionStartLimit
- APIGroupDMChannel
- APIGuild
- APIGuildApplicationCommandPermissions
- APIGuildChannel
- APIGuildCreateOverwrite
- APIGuildCreateRole
- APIGuildIntegration
- APIGuildIntegrationApplication
- APIGuildMember
- APIGuildMembershipScreening
- APIGuildMembershipScreeningField
- APIGuildPreview
- APIGuildScheduledEventEntityMetadata
- APIGuildScheduledEventUser
- APIGuildTextChannel
- APIGuildWelcomeScreen
- APIGuildWelcomeScreenChannel
- APIGuildWidget
- APIGuildWidgetChannel
- APIGuildWidgetMember
- APIGuildWidgetSettings
- APIIntegrationAccount
- APIInteractionDataResolvedChannel
- APIInteractionDataResolvedGuildMember
- APIInteractionGuildMember
- APIInteractionResponseChannelMessageWithSource
- APIInteractionResponseDeferredChannelMessageWithSource
- APIInteractionResponseDeferredMessageUpdate
- APIInteractionResponsePong
- APIInteractionResponseUpdateMessage
- APIInvite
- APIInviteStageInstance
- APIMessage
- APIMessageActivity
- APIMessageApplicationCommandInteractionData
- APIMessageApplicationCommandInteractionDataResolved
- APIMessageComponentBaseInteractionData
- APIMessageComponentEmoji
- APIMessageInteraction
- APIMessageReference
- APIMessageSelectMenuInteractionData
- APIModalInteractionResponse
- APIModalInteractionResponseCallbackData
- APIModalSubmission
- APIOverwrite
- APIPartialChannel
- APIPartialEmoji
- APIPartialGuild
- APIReaction
- APIRole
- APIRoleTags
- APISelectMenuComponent
- APISelectMenuOption
- APIStageInstance
- APIStageInstanceGuildScheduledEvent
- APISticker
- APIStickerPack
- APITeam
- APITeamMember
- APITemplate
- APITemplateSerializedSourceGuild
- APITextBasedChannel
- APITextChannel
- APITextInputComponent
- APIUnavailableGuild
- APIUser
- APIUserApplicationCommandInteractionData
- APIUserApplicationCommandInteractionDataResolved
- APIVoiceChannel
- APIVoiceGuildScheduledEvent
- APIVoiceRegion
- APIWebhook
- GatewayActivity
- GatewayActivityButton
- GatewayActivityParty
- GatewayActivityTimestamps
- GatewayChannelPinsUpdateDispatchData
- GatewayGuildBanModifyDispatchData
- GatewayGuildEmojisUpdateDispatchData
- GatewayGuildIntegrationsUpdateDispatchData
- GatewayGuildMemberAddDispatchData
- GatewayGuildMemberRemoveDispatchData
- GatewayGuildMembersChunkDispatchData
- GatewayGuildRoleDeleteDispatchData
- GatewayGuildRoleModifyDispatchData
- GatewayGuildScheduledEventUserAddDispatchData
- GatewayGuildScheduledEventUserRemoveDispatchData
- GatewayGuildStickersUpdateDispatchData
- GatewayHeartbeat
- GatewayHeartbeatAck
- GatewayHeartbeatRequest
- GatewayHello
- GatewayHelloData
- GatewayIdentify
- GatewayIdentifyData
- GatewayIdentifyProperties
- GatewayIntegrationDeleteDispatchData
- GatewayInvalidSession
- GatewayInviteCreateDispatchData
- GatewayInviteDeleteDispatchData
- GatewayMessageDeleteBulkDispatchData
- GatewayMessageDeleteDispatchData
- GatewayMessageReactionRemoveEmojiDispatchData
- GatewayPresenceClientStatus
- GatewayPresenceUpdate
- GatewayPresenceUpdateData
- GatewayReadyDispatchData
- GatewayReconnect
- GatewayRequestGuildMembers
- GatewayRequestGuildMembersData
- GatewayResume
- GatewayResumeData
- GatewayTypingStartDispatchData
- GatewayUpdatePresence
- GatewayVoiceServerUpdateDispatchData
- GatewayVoiceState
- GatewayVoiceStateUpdate
- GatewayVoiceStateUpdateData
- GatewayWebhooksUpdateDispatchData
- ModalSubmitActionRowComponent
- ModalSubmitComponent
- RESTAPIPartialCurrentUserGuild
- RESTGetAPIAuditLogQuery
- RESTGetAPIChannelMessageReactionUsersQuery
- RESTGetAPIChannelMessagesQuery
- RESTGetAPICurrentUserGuildsQuery
- RESTGetAPIGuildMembersQuery
- RESTGetAPIGuildMembersSearchQuery
- RESTGetAPIGuildPruneCountQuery
- RESTGetAPIGuildPruneCountResult
- RESTGetAPIGuildQuery
- RESTGetAPIGuildScheduledEventQuery
- RESTGetAPIGuildScheduledEventUsersQuery
- RESTGetAPIGuildScheduledEventsQuery
- RESTGetAPIGuildVanityUrlResult
- RESTGetAPIGuildWidgetImageQuery
- RESTGetAPIInviteQuery
- RESTGetAPIOAuth2CurrentAuthorizationResult
- RESTGetNitroStickerPacksResult
- RESTOAuth2AdvancedBotAuthorizationQuery
- RESTOAuth2AdvancedBotAuthorizationQueryResult
- RESTOAuth2AuthorizationQuery
- RESTOAuth2AuthorizationQueryResult
- RESTOAuth2BotAuthorizationQuery
- RESTOAuth2ImplicitAuthorizationQuery
- RESTPostAPIChannelFollowersJSONBody
- RESTPostAPIChannelMessagesBulkDeleteJSONBody
- RESTPostAPIContextMenuApplicationCommandsJSONBody
- RESTPostAPICurrentUserCreateDMChannelJSONBody
- RESTPostAPIGuildPruneResult
- RESTPostAPIGuildStickerFormDataBody
- RESTPostAPIStageInstanceJSONBody
- RESTPostAPIWebhookWithTokenQuery
- RESTPostOAuth2AccessTokenResult
- RESTPostOAuth2AccessTokenURLEncodedData
- RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult
- RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult
- RESTPostOAuth2ClientCredentialsURLEncodedData
- RESTPostOAuth2RefreshTokenURLEncodedData
- RESTPutAPIApplicationCommandPermissionsJSONBody
- RESTPutAPIChannelPermissionJSONBody
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
- APIApplicationCommandRoleOption
- APIApplicationCommandStringOption
- APIApplicationCommandUserOption
- APIAuditLogChange
- APIAuditLogChangeKey$Add
- APIAuditLogChangeKey$Remove
- APIAuditLogChangeKeyAFKChannelId
- APIAuditLogChangeKeyAFKTimeout
- APIAuditLogChangeKeyAllow
- APIAuditLogChangeKeyApplicationId
- APIAuditLogChangeKeyAsset
- APIAuditLogChangeKeyAvailable
- APIAuditLogChangeKeyAvatarHash
- APIAuditLogChangeKeyBannerHash
- APIAuditLogChangeKeyBitrate
- APIAuditLogChangeKeyChannelId
- APIAuditLogChangeKeyCode
- APIAuditLogChangeKeyColor
- APIAuditLogChangeKeyCommunicationDisabledUntil
- APIAuditLogChangeKeyDeaf
- APIAuditLogChangeKeyDefaultMessageNotifications
- APIAuditLogChangeKeyDeny
- APIAuditLogChangeKeyDescription
- APIAuditLogChangeKeyDiscoverySplashHash
- APIAuditLogChangeKeyEnableEmoticons
- APIAuditLogChangeKeyEntityType
- APIAuditLogChangeKeyExpireBehavior
- APIAuditLogChangeKeyExpireGracePeriod
- APIAuditLogChangeKeyExplicitContentFilter
- APIAuditLogChangeKeyFormatType
- APIAuditLogChangeKeyGuildId
- APIAuditLogChangeKeyHoist
- APIAuditLogChangeKeyIconHash
- APIAuditLogChangeKeyId
- APIAuditLogChangeKeyInviterId
- APIAuditLogChangeKeyLocation
- APIAuditLogChangeKeyMFALevel
- APIAuditLogChangeKeyMaxAge
- APIAuditLogChangeKeyMaxUses
- APIAuditLogChangeKeyMentionable
- APIAuditLogChangeKeyMute
- APIAuditLogChangeKeyNSFW
- APIAuditLogChangeKeyName
- APIAuditLogChangeKeyNick
- APIAuditLogChangeKeyOwnerId
- APIAuditLogChangeKeyPermissionOverwrites
- APIAuditLogChangeKeyPermissions
- APIAuditLogChangeKeyPosition
- APIAuditLogChangeKeyPreferredLocale
- APIAuditLogChangeKeyPrivacyLevel
- APIAuditLogChangeKeyPruneDeleteDays
- APIAuditLogChangeKeyPublicUpdatesChannelId
- APIAuditLogChangeKeyRateLimitPerUser
- APIAuditLogChangeKeyRegion
- APIAuditLogChangeKeyRulesChannelId
- APIAuditLogChangeKeySplashHash
- APIAuditLogChangeKeyStatus
- APIAuditLogChangeKeySystemChannelId
- APIAuditLogChangeKeyTags
- APIAuditLogChangeKeyTemporary
- APIAuditLogChangeKeyTopic
- APIAuditLogChangeKeyType
- APIAuditLogChangeKeyUserLimit
- APIAuditLogChangeKeyUses
- APIAuditLogChangeKeyVanityURLCode
- APIAuditLogChangeKeyVerificationLevel
- APIAuditLogChangeKeyWidgetChannelId
- APIAuditLogChangeKeyWidgetEnabled
- APIButtonComponent
- APIChannel
- APIChatInputApplicationCommandDMInteraction
- APIChatInputApplicationCommandGuildInteraction
- APIChatInputApplicationCommandInteraction
- APIContextMenuDMInteraction
- APIContextMenuGuildInteraction
- APIContextMenuInteraction
- APIContextMenuInteractionData
- APIDMChannel
- APIDMInteraction
- APIDMInteractionWrapper
- APIGuildCategoryChannel
- APIGuildChannelResolvable
- APIGuildCreatePartialChannel
- APIGuildInteraction
- APIGuildInteractionType
- APIGuildInteractionWrapper
- APIGuildScheduledEvent
- APIGuildStoreChannel
- APIInteraction
- APIInteractionResponse
- APIInteractionResponseCallbackData
- APIInviteGuild
- APIMessageActionRowComponent
- APIMessageApplicationCommandDMInteraction
- APIMessageApplicationCommandGuildInteraction
- APIMessageApplicationCommandInteraction
- APIMessageButtonInteractionData
- APIMessageComponent
- APIMessageComponentDMInteraction
- APIMessageComponentGuildInteraction
- APIMessageComponentInteraction
- APIMessageComponentInteractionData
- APIMessageReferenceSend
- APIModalActionRowComponent
- APIModalComponent
- APIModalSubmitDMInteraction
- APIModalSubmitGuildInteraction
- APIModalSubmitInteraction
- APINewsChannel
- APIPingInteraction
- APIStickerItem
- APIUserApplicationCommandDMInteraction
- APIUserApplicationCommandGuildInteraction
- APIUserApplicationCommandInteraction
- GatewayActivityAssets
- GatewayActivityEmoji
- GatewayActivitySecrets
- GatewayActivityUpdateData
- GatewayChannelCreateDispatch
- GatewayChannelCreateDispatchData
- GatewayChannelDeleteDispatch
- GatewayChannelDeleteDispatchData
- GatewayChannelModifyDispatch
- GatewayChannelModifyDispatchData
- GatewayChannelPinsUpdateDispatch
- GatewayChannelUpdateDispatch
- GatewayChannelUpdateDispatchData
- GatewayDispatchPayload
- GatewayGuildBanAddDispatch
- GatewayGuildBanAddDispatchData
- GatewayGuildBanModifyDispatch
- GatewayGuildBanRemoveDispatch
- GatewayGuildBanRemoveDispatchData
- GatewayGuildCreateDispatch
- GatewayGuildCreateDispatchData
- GatewayGuildDeleteDispatch
- GatewayGuildDeleteDispatchData
- GatewayGuildEmojisUpdateDispatch
- GatewayGuildIntegrationsUpdateDispatch
- GatewayGuildMemberAddDispatch
- GatewayGuildMemberRemoveDispatch
- GatewayGuildMemberUpdateDispatch
- GatewayGuildMemberUpdateDispatchData
- GatewayGuildMembersChunkDispatch
- 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
- GatewayResumedDispatch
- GatewaySendPayload
- GatewayStageInstanceCreateDispatch
- GatewayStageInstanceCreateDispatchData
- GatewayStageInstanceDeleteDispatch
- GatewayStageInstanceDeleteDispatchData
- GatewayStageInstanceUpdateDispatch
- GatewayStageInstanceUpdateDispatchData
- GatewayTypingStartDispatch
- GatewayUserUpdateDispatch
- GatewayUserUpdateDispatchData
- GatewayVoiceServerUpdateDispatch
- GatewayVoiceStateUpdateDispatch
- GatewayVoiceStateUpdateDispatchData
- GatewayWebhooksUpdateDispatch
- GetAPIVoiceRegionsResult
- GuildChannelType
- GuildTextChannelType
- PartialAPIMessageInteractionGuildMember
- RESTDeleteAPIChannelAllMessageReactionsResult
- RESTDeleteAPIChannelMessageOwnReaction
- RESTDeleteAPIChannelMessageReactionResult
- RESTDeleteAPIChannelMessageResult
- RESTDeleteAPIChannelMessageUserReactionResult
- RESTDeleteAPIChannelPermissionResult
- RESTDeleteAPIChannelPinResult
- RESTDeleteAPIChannelRecipientResult
- RESTDeleteAPIChannelResult
- RESTDeleteAPICurrentUserGuildResult
- RESTDeleteAPIGuildBanResult
- RESTDeleteAPIGuildEmojiResult
- RESTDeleteAPIGuildIntegrationResult
- RESTDeleteAPIGuildMemberResult
- RESTDeleteAPIGuildMemberRoleResult
- RESTDeleteAPIGuildResult
- RESTDeleteAPIGuildRoleResult
- RESTDeleteAPIGuildScheduledEventResult
- RESTDeleteAPIGuildStickerResult
- RESTDeleteAPIGuildTemplateResult
- RESTDeleteAPIInteractionFollowupResult
- RESTDeleteAPIInteractionOriginalResponseResult
- RESTDeleteAPIInviteResult
- RESTDeleteAPIStageInstanceResult
- RESTDeleteAPIWebhookResult
- RESTDeleteAPIWebhookWithTokenMessageResult
- RESTDeleteAPIWebhookWithTokenResult
- RESTGetAPIApplicationCommandPermissionsResult
- RESTGetAPIApplicationCommandResult
- RESTGetAPIApplicationCommandsResult
- RESTGetAPIApplicationGuildCommandResult
- RESTGetAPIApplicationGuildCommandsResult
- RESTGetAPIAuditLogResult
- RESTGetAPIChannelInvitesResult
- RESTGetAPIChannelMessageReactionUsersResult
- RESTGetAPIChannelMessageResult
- RESTGetAPIChannelMessagesResult
- RESTGetAPIChannelPinsResult
- RESTGetAPIChannelResult
- RESTGetAPIChannelWebhooksResult
- RESTGetAPICurrentUserConnectionsResult
- RESTGetAPICurrentUserGuildsResult
- RESTGetAPICurrentUserResult
- RESTGetAPIGatewayBotResult
- RESTGetAPIGatewayResult
- RESTGetAPIGuildApplicationCommandsPermissionsResult
- RESTGetAPIGuildBanResult
- RESTGetAPIGuildBansResult
- RESTGetAPIGuildChannelsResult
- RESTGetAPIGuildEmojiResult
- RESTGetAPIGuildEmojisResult
- RESTGetAPIGuildIntegrationsResult
- RESTGetAPIGuildInvitesResult
- RESTGetAPIGuildMemberResult
- RESTGetAPIGuildMemberVerificationResult
- RESTGetAPIGuildMembersResult
- RESTGetAPIGuildMembersSearchResult
- RESTGetAPIGuildPreviewResult
- RESTGetAPIGuildResult
- RESTGetAPIGuildRolesResult
- RESTGetAPIGuildScheduledEventResult
- RESTGetAPIGuildScheduledEventUsersResult
- RESTGetAPIGuildScheduledEventsResult
- RESTGetAPIGuildStickerResult
- RESTGetAPIGuildStickersResult
- RESTGetAPIGuildTemplatesResult
- RESTGetAPIGuildVoiceRegionsResult
- RESTGetAPIGuildWebhooksResult
- RESTGetAPIGuildWelcomeScreenResult
- RESTGetAPIGuildWidgetImageResult
- RESTGetAPIGuildWidgetJSONResult
- RESTGetAPIGuildWidgetSettingsResult
- RESTGetAPIInteractionFollowupResult
- RESTGetAPIInteractionOriginalResponseResult
- RESTGetAPIInviteResult
- RESTGetAPIOAuth2CurrentApplicationResult
- RESTGetAPIStageInstanceResult
- RESTGetAPIStickerResult
- RESTGetAPITemplateResult
- RESTGetAPIUserResult
- RESTGetAPIWebhookResult
- RESTGetAPIWebhookWithTokenMessageResult
- RESTGetAPIWebhookWithTokenResult
- RESTGetCurrentUserGuildMemberResult
- RESTOAuth2ImplicitAuthorizationURLFragmentResult
- RESTPatchAPIApplicationCommandJSONBody
- RESTPatchAPIApplicationCommandResult
- RESTPatchAPIApplicationGuildCommandJSONBody
- RESTPatchAPIApplicationGuildCommandResult
- RESTPatchAPIChannelJSONBody
- RESTPatchAPIChannelMessageFormDataBody
- RESTPatchAPIChannelMessageJSONBody
- RESTPatchAPIChannelMessageResult
- RESTPatchAPIChannelResult
- RESTPatchAPICurrentGuildMemberJSONBody
- RESTPatchAPICurrentGuildMemberNicknameJSONBody
- RESTPatchAPICurrentGuildMemberNicknameResult
- RESTPatchAPICurrentUserJSONBody
- RESTPatchAPICurrentUserResult
- RESTPatchAPIGuildChannelPositionsJSONBody
- RESTPatchAPIGuildChannelPositionsResult
- RESTPatchAPIGuildEmojiJSONBody
- RESTPatchAPIGuildEmojiResult
- RESTPatchAPIGuildJSONBody
- RESTPatchAPIGuildMemberJSONBody
- RESTPatchAPIGuildMemberResult
- RESTPatchAPIGuildMemberVerificationJSONBody
- RESTPatchAPIGuildMemberVerificationResult
- RESTPatchAPIGuildResult
- RESTPatchAPIGuildRoleJSONBody
- RESTPatchAPIGuildRolePositionsJSONBody
- RESTPatchAPIGuildRolePositionsResult
- RESTPatchAPIGuildRoleResult
- RESTPatchAPIGuildScheduledEventJSONBody
- RESTPatchAPIGuildScheduledEventResult
- RESTPatchAPIGuildStickerJSONBody
- RESTPatchAPIGuildStickerResult
- RESTPatchAPIGuildTemplateJSONBody
- RESTPatchAPIGuildTemplateResult
- RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody
- RESTPatchAPIGuildVoiceStateUserJSONBody
- RESTPatchAPIGuildWelcomeScreenJSONBody
- RESTPatchAPIGuildWidgetSettingsJSONBody
- RESTPatchAPIGuildWidgetSettingsResult
- RESTPatchAPIInteractionFollowupFormDataBody
- RESTPatchAPIInteractionFollowupJSONBody
- RESTPatchAPIInteractionFollowupResult
- RESTPatchAPIInteractionOriginalResponseFormDataBody
- RESTPatchAPIInteractionOriginalResponseJSONBody
- RESTPatchAPIInteractionOriginalResponseResult
- RESTPatchAPIStageInstanceJSONBody
- RESTPatchAPIStageInstanceResult
- RESTPatchAPIWebhookJSONBody
- RESTPatchAPIWebhookResult
- RESTPatchAPIWebhookWithTokenJSONBody
- RESTPatchAPIWebhookWithTokenMessageFormDataBody
- RESTPatchAPIWebhookWithTokenMessageJSONBody
- RESTPatchAPIWebhookWithTokenMessageResult
- RESTPatchAPIWebhookWithTokenResult
- RESTPostAPIApplicationCommandsJSONBody
- RESTPostAPIApplicationCommandsResult
- RESTPostAPIApplicationGuildCommandsJSONBody
- RESTPostAPIApplicationGuildCommandsResult
- RESTPostAPIChannelFollowersResult
- RESTPostAPIChannelInviteJSONBody
- RESTPostAPIChannelInviteResult
- RESTPostAPIChannelMessageCrosspostResult
- RESTPostAPIChannelMessageFormDataBody
- RESTPostAPIChannelMessageJSONBody
- RESTPostAPIChannelMessageResult
- RESTPostAPIChannelMessagesBulkDeleteResult
- RESTPostAPIChannelTypingResult
- RESTPostAPIChannelWebhookJSONBody
- RESTPostAPIChannelWebhookResult
- RESTPostAPIChatInputApplicationCommandsJSONBody
- RESTPostAPICurrentUserCreateDMChannelResult
- RESTPostAPIGuildChannelJSONBody
- RESTPostAPIGuildChannelResult
- RESTPostAPIGuildEmojiJSONBody
- RESTPostAPIGuildEmojiResult
- RESTPostAPIGuildPruneJSONBody
- RESTPostAPIGuildRoleJSONBody
- RESTPostAPIGuildRoleResult
- RESTPostAPIGuildScheduledEventJSONBody
- RESTPostAPIGuildScheduledEventResult
- RESTPostAPIGuildStickerResult
- RESTPostAPIGuildTemplatesJSONBody
- RESTPostAPIGuildTemplatesResult
- RESTPostAPIGuildsJSONBody
- RESTPostAPIGuildsResult
- RESTPostAPIInteractionCallbackFormDataBody
- RESTPostAPIInteractionCallbackJSONBody
- RESTPostAPIInteractionFollowupFormDataBody
- RESTPostAPIInteractionFollowupJSONBody
- RESTPostAPIInteractionFollowupResult
- RESTPostAPIStageInstanceResult
- RESTPostAPITemplateCreateGuildJSONBody
- RESTPostAPITemplateCreateGuildResult
- RESTPostAPIWebhookWithTokenFormDataBody
- RESTPostAPIWebhookWithTokenGitHubQuery
- RESTPostAPIWebhookWithTokenGitHubResult
- RESTPostAPIWebhookWithTokenGitHubWaitResult
- RESTPostAPIWebhookWithTokenJSONBody
- RESTPostAPIWebhookWithTokenResult
- RESTPostAPIWebhookWithTokenSlackQuery
- RESTPostAPIWebhookWithTokenSlackResult
- RESTPostAPIWebhookWithTokenSlackWaitResult
- RESTPostAPIWebhookWithTokenWaitResult
- RESTPostOAuth2AccessTokenWithBotAndGuildsAndWebhookIncomingScopeResult
- RESTPostOAuth2ClientCredentialsResult
- RESTPostOAuth2RefreshTokenResult
- RESTPutAPIApplicationCommandPermissionsResult
- RESTPutAPIApplicationCommandsJSONBody
- RESTPutAPIApplicationCommandsResult
- RESTPutAPIApplicationGuildCommandsJSONBody
- RESTPutAPIApplicationGuildCommandsResult
- RESTPutAPIChannelMessageReactionResult
- RESTPutAPIChannelPermissionResult
- RESTPutAPIChannelPinResult
- RESTPutAPIChannelRecipientJSONBody
- RESTPutAPIChannelRecipientResult
- RESTPutAPIGuildApplicationCommandsPermissionsJSONBody
- RESTPutAPIGuildApplicationCommandsPermissionsResult
- RESTPutAPIGuildBanJSONBody
- RESTPutAPIGuildBanResult
- RESTPutAPIGuildMemberJSONBody
- RESTPutAPIGuildMemberResult
- RESTPutAPIGuildMemberRoleResult
- RESTPutAPIGuildTemplateSyncResult
- TextChannelType
Variables
References
FormattingPatterns
GatewayURLQuery
Locale
LocaleString
LocalizationMap
PermissionFlagsBits
RESTJSONErrorCodes
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
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
APIAuditLogChangeKeyAllow
Returned when an overwrite’s allowed permissions bitfield is changed
APIAuditLogChangeKeyApplicationId
The application ID of the added or removed Webhook or Bot
APIAuditLogChangeKeyAsset
Empty string
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
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
APIAuditLogChangeKeyEntityType
Returned when entity type of a guild scheduled event 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
APIAuditLogChangeKeyInviterId
Returned when an invite’s inviter_id is changed
APIAuditLogChangeKeyLocation
Returned when location of a guild scheduled event 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
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
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
APIButtonComponent
APIChannel
APIChatInputApplicationCommandDMInteraction
APIChatInputApplicationCommandGuildInteraction
APIChatInputApplicationCommandInteraction
APIContextMenuDMInteraction
APIContextMenuGuildInteraction
APIContextMenuInteraction
APIContextMenuInteractionData
APIDMChannel
APIDMInteraction
APIDMInteractionWrapper
APIGuildCategoryChannel
APIGuildChannelResolvable
APIGuildCreatePartialChannel
APIGuildInteraction
APIGuildInteractionType
APIGuildInteractionWrapper
APIGuildScheduledEvent
APIGuildStoreChannel
APIInteraction
APIInteractionResponse
APIInteractionResponseCallbackData
APIInviteGuild
APIMessageActionRowComponent
APIMessageApplicationCommandDMInteraction
APIMessageApplicationCommandGuildInteraction
APIMessageApplicationCommandInteraction
APIMessageButtonInteractionData
APIMessageComponent
APIMessageComponentDMInteraction
APIMessageComponentGuildInteraction
APIMessageComponentInteraction
APIMessageComponentInteractionData
APIMessageReferenceSend
APIModalActionRowComponent
APIModalComponent
APIModalSubmitDMInteraction
APIModalSubmitGuildInteraction
APIModalSubmitInteraction
APINewsChannel
APIPingInteraction
APIStickerItem
APIUserApplicationCommandDMInteraction
APIUserApplicationCommandGuildInteraction
APIUserApplicationCommandInteraction
GatewayActivityAssets
GatewayActivityEmoji
GatewayActivitySecrets
GatewayActivityUpdateData
GatewayChannelCreateDispatch
GatewayChannelCreateDispatchData
GatewayChannelDeleteDispatch
GatewayChannelDeleteDispatchData
GatewayChannelModifyDispatch
GatewayChannelModifyDispatchData
GatewayChannelPinsUpdateDispatch
GatewayChannelUpdateDispatch
GatewayChannelUpdateDispatchData
GatewayDispatchPayload
GatewayGuildBanAddDispatch
GatewayGuildBanAddDispatchData
GatewayGuildBanModifyDispatch
GatewayGuildBanRemoveDispatch
GatewayGuildBanRemoveDispatchData
GatewayGuildCreateDispatch
GatewayGuildCreateDispatchData
GatewayGuildDeleteDispatch
GatewayGuildDeleteDispatchData
GatewayGuildEmojisUpdateDispatch
GatewayGuildIntegrationsUpdateDispatch
GatewayGuildMemberAddDispatch
GatewayGuildMemberRemoveDispatch
GatewayGuildMemberUpdateDispatch
GatewayGuildMemberUpdateDispatchData
GatewayGuildMembersChunkDispatch
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
GatewayResumedDispatch
GatewaySendPayload
GatewayStageInstanceCreateDispatch
GatewayStageInstanceCreateDispatchData
GatewayStageInstanceDeleteDispatch
GatewayStageInstanceDeleteDispatchData
GatewayStageInstanceUpdateDispatch
GatewayStageInstanceUpdateDispatchData
GatewayTypingStartDispatch
GatewayUserUpdateDispatch
GatewayUserUpdateDispatchData
GatewayVoiceServerUpdateDispatch
GatewayVoiceStateUpdateDispatch
GatewayVoiceStateUpdateDispatchData
GatewayWebhooksUpdateDispatch
GetAPIVoiceRegionsResult
GuildChannelType
GuildTextChannelType
PartialAPIMessageInteractionGuildMember
RESTDeleteAPIChannelAllMessageReactionsResult
RESTDeleteAPIChannelMessageOwnReaction
RESTDeleteAPIChannelMessageReactionResult
RESTDeleteAPIChannelMessageResult
RESTDeleteAPIChannelMessageUserReactionResult
RESTDeleteAPIChannelPermissionResult
RESTDeleteAPIChannelPinResult
RESTDeleteAPIChannelRecipientResult
RESTDeleteAPIChannelResult
RESTDeleteAPICurrentUserGuildResult
RESTDeleteAPIGuildBanResult
RESTDeleteAPIGuildEmojiResult
RESTDeleteAPIGuildIntegrationResult
RESTDeleteAPIGuildMemberResult
RESTDeleteAPIGuildMemberRoleResult
RESTDeleteAPIGuildResult
RESTDeleteAPIGuildRoleResult
RESTDeleteAPIGuildScheduledEventResult
RESTDeleteAPIGuildStickerResult
RESTDeleteAPIGuildTemplateResult
RESTDeleteAPIInteractionFollowupResult
RESTDeleteAPIInteractionOriginalResponseResult
RESTDeleteAPIInviteResult
RESTDeleteAPIStageInstanceResult
RESTDeleteAPIWebhookResult
RESTDeleteAPIWebhookWithTokenMessageResult
RESTDeleteAPIWebhookWithTokenResult
RESTGetAPIApplicationCommandPermissionsResult
RESTGetAPIApplicationCommandResult
RESTGetAPIApplicationCommandsResult
RESTGetAPIApplicationGuildCommandResult
RESTGetAPIApplicationGuildCommandsResult
RESTGetAPIAuditLogResult
RESTGetAPIChannelInvitesResult
RESTGetAPIChannelMessageReactionUsersResult
RESTGetAPIChannelMessageResult
RESTGetAPIChannelMessagesResult
RESTGetAPIChannelPinsResult
RESTGetAPIChannelResult
RESTGetAPIChannelWebhooksResult
RESTGetAPICurrentUserConnectionsResult
RESTGetAPICurrentUserGuildsResult
RESTGetAPICurrentUserResult
RESTGetAPIGatewayBotResult
RESTGetAPIGatewayResult
RESTGetAPIGuildApplicationCommandsPermissionsResult
RESTGetAPIGuildBanResult
RESTGetAPIGuildBansResult
RESTGetAPIGuildChannelsResult
RESTGetAPIGuildEmojiResult
RESTGetAPIGuildEmojisResult
RESTGetAPIGuildIntegrationsResult
RESTGetAPIGuildInvitesResult
RESTGetAPIGuildMemberResult
RESTGetAPIGuildMemberVerificationResult
RESTGetAPIGuildMembersResult
RESTGetAPIGuildMembersSearchResult
RESTGetAPIGuildPreviewResult
RESTGetAPIGuildResult
RESTGetAPIGuildRolesResult
RESTGetAPIGuildScheduledEventResult
RESTGetAPIGuildScheduledEventUsersResult
RESTGetAPIGuildScheduledEventsResult
RESTGetAPIGuildStickerResult
RESTGetAPIGuildStickersResult
RESTGetAPIGuildTemplatesResult
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
RESTGetAPIWebhookResult
RESTGetAPIWebhookWithTokenMessageResult
RESTGetAPIWebhookWithTokenResult
RESTGetCurrentUserGuildMemberResult
RESTOAuth2ImplicitAuthorizationURLFragmentResult
RESTPatchAPIApplicationCommandJSONBody
RESTPatchAPIApplicationCommandResult
RESTPatchAPIApplicationGuildCommandJSONBody
RESTPatchAPIApplicationGuildCommandResult
RESTPatchAPIChannelJSONBody
RESTPatchAPIChannelMessageFormDataBody
RESTPatchAPIChannelMessageJSONBody
RESTPatchAPIChannelMessageResult
RESTPatchAPIChannelResult
RESTPatchAPICurrentGuildMemberJSONBody
RESTPatchAPICurrentGuildMemberNicknameJSONBody
RESTPatchAPICurrentGuildMemberNicknameResult
RESTPatchAPICurrentUserJSONBody
RESTPatchAPICurrentUserResult
RESTPatchAPIGuildChannelPositionsJSONBody
RESTPatchAPIGuildChannelPositionsResult
RESTPatchAPIGuildEmojiJSONBody
RESTPatchAPIGuildEmojiResult
RESTPatchAPIGuildJSONBody
RESTPatchAPIGuildMemberJSONBody
RESTPatchAPIGuildMemberResult
RESTPatchAPIGuildMemberVerificationJSONBody
RESTPatchAPIGuildMemberVerificationResult
RESTPatchAPIGuildResult
RESTPatchAPIGuildRoleJSONBody
RESTPatchAPIGuildRolePositionsJSONBody
RESTPatchAPIGuildRolePositionsResult
RESTPatchAPIGuildRoleResult
RESTPatchAPIGuildScheduledEventJSONBody
RESTPatchAPIGuildScheduledEventResult
RESTPatchAPIGuildStickerJSONBody
RESTPatchAPIGuildStickerResult
RESTPatchAPIGuildTemplateJSONBody
RESTPatchAPIGuildTemplateResult
RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody
RESTPatchAPIGuildVoiceStateUserJSONBody
RESTPatchAPIGuildWelcomeScreenJSONBody
RESTPatchAPIGuildWidgetSettingsJSONBody
RESTPatchAPIGuildWidgetSettingsResult
RESTPatchAPIInteractionFollowupFormDataBody
RESTPatchAPIInteractionFollowupJSONBody
RESTPatchAPIInteractionFollowupResult
RESTPatchAPIInteractionOriginalResponseFormDataBody
RESTPatchAPIInteractionOriginalResponseJSONBody
RESTPatchAPIInteractionOriginalResponseResult
RESTPatchAPIStageInstanceJSONBody
RESTPatchAPIStageInstanceResult
RESTPatchAPIWebhookJSONBody
RESTPatchAPIWebhookResult
RESTPatchAPIWebhookWithTokenJSONBody
RESTPatchAPIWebhookWithTokenMessageFormDataBody
RESTPatchAPIWebhookWithTokenMessageJSONBody
RESTPatchAPIWebhookWithTokenMessageResult
RESTPatchAPIWebhookWithTokenResult
RESTPostAPIApplicationCommandsJSONBody
RESTPostAPIApplicationCommandsResult
RESTPostAPIApplicationGuildCommandsJSONBody
RESTPostAPIApplicationGuildCommandsResult
RESTPostAPIChannelFollowersResult
RESTPostAPIChannelInviteJSONBody
RESTPostAPIChannelInviteResult
RESTPostAPIChannelMessageCrosspostResult
RESTPostAPIChannelMessageFormDataBody
RESTPostAPIChannelMessageJSONBody
RESTPostAPIChannelMessageResult
RESTPostAPIChannelMessagesBulkDeleteResult
RESTPostAPIChannelTypingResult
RESTPostAPIChannelWebhookJSONBody
RESTPostAPIChannelWebhookResult
RESTPostAPIChatInputApplicationCommandsJSONBody
RESTPostAPICurrentUserCreateDMChannelResult
RESTPostAPIGuildChannelJSONBody
RESTPostAPIGuildChannelResult
RESTPostAPIGuildEmojiJSONBody
RESTPostAPIGuildEmojiResult
RESTPostAPIGuildPruneJSONBody
RESTPostAPIGuildRoleJSONBody
RESTPostAPIGuildRoleResult
RESTPostAPIGuildScheduledEventJSONBody
RESTPostAPIGuildScheduledEventResult
RESTPostAPIGuildStickerResult
RESTPostAPIGuildTemplatesJSONBody
RESTPostAPIGuildTemplatesResult
RESTPostAPIGuildsJSONBody
RESTPostAPIGuildsResult
RESTPostAPIInteractionCallbackFormDataBody
RESTPostAPIInteractionCallbackJSONBody
RESTPostAPIInteractionFollowupFormDataBody
RESTPostAPIInteractionFollowupJSONBody
RESTPostAPIInteractionFollowupResult
RESTPostAPIStageInstanceResult
RESTPostAPITemplateCreateGuildJSONBody
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
RESTPostAPIWebhookWithTokenJSONBody
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
RESTPutAPIChannelMessageReactionResult
RESTPutAPIChannelPermissionResult
RESTPutAPIChannelPinResult
RESTPutAPIChannelRecipientJSONBody
RESTPutAPIChannelRecipientResult
RESTPutAPIGuildApplicationCommandsPermissionsJSONBody
RESTPutAPIGuildApplicationCommandsPermissionsResult
RESTPutAPIGuildBanJSONBody
RESTPutAPIGuildBanResult
RESTPutAPIGuildMemberJSONBody
RESTPutAPIGuildMemberResult
RESTPutAPIGuildMemberRoleResult
RESTPutAPIGuildTemplateSyncResult
TextChannelType
Variables
constAPIVersion
constGatewayVersion
constOAuth2Routes
Type declaration
authorizationURL: https://discord.com/api/v8/oauth2/authorize
tokenRevocationURL: https://discord.com/api/v8/oauth2/token/revoke
tokenURL: https://discord.com/api/v8/oauth2/token
constRouteBases
Type declaration
api: https://discord.com/api/v8
cdn: https://cdn.discordapp.com
gift: https://discord.gift
invite: https://discord.gg
scheduledEvent: https://discord.com/events
template: https://discord.new
constRoutes
Type declaration
applicationCommand: function
Route for:
- GET
/applications/{application.id}/commands/{command.id}
- PATCH
/applications/{application.id}/commands/{command.id}
- DELETE
/applications/{application.id}/commands/{command.id}
Parameters
applicationId: string
commandId: string
Returns `/applications/${string}/commands/${string}`
- GET
applicationCommandPermissions: function
Route for:
- GET
/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions
- PUT
/applications/{application.id}/guilds/{guild.id}/commands/{command.id}/permissions
Parameters
applicationId: string
guildId: string
commandId: string
Returns `/applications/${string}/guilds/${string}/commands/${string}/permissions`
- GET
applicationCommands: function
Route for:
- GET
/applications/{application.id}/commands
- PUT
/applications/{application.id}/commands
- POST
/applications/{application.id}/commands
Parameters
applicationId: string
Returns `/applications/${string}/commands`
- GET
applicationGuildCommand: function
Route for:
- GET
/applications/{application.id}/guilds/{guild.id}/commands/{command.id}
- PATCH
/applications/{application.id}/guilds/{guild.id}/commands/{command.id}
- DELETE
/applications/{application.id}/guilds/{guild.id}/commands/{command.id}
Parameters
applicationId: string
guildId: string
commandId: string
Returns `/applications/${string}/guilds/${string}/commands/${string}`
- GET
applicationGuildCommands: function
Route for:
- GET
/applications/{application.id}/guilds/{guild.id}/commands
- PUT
/applications/{application.id}/guilds/{guild.id}/commands
- POST
/applications/{application.id}/guilds/{guild.id}/commands
Parameters
applicationId: string
guildId: string
Returns `/applications/${string}/guilds/${string}/commands`
- GET
channel: function
Route for:
- GET
/channels/{channel.id}
- PATCH
/channels/{channel.id}
- DELETE
/channels/{channel.id}
Parameters
channelId: string
Returns `/channels/${string}`
- GET
channelBulkDelete: function
Route for:
- POST
/channels/{channel.id}/messages/bulk-delete
Parameters
channelId: string
Returns `/channels/${string}/messages/bulk-delete`
- POST
channelFollowers: function
Route for:
- POST
/channels/{channel.id}/followers
Parameters
channelId: string
Returns `/channels/${string}/followers`
- POST
channelInvites: function
Route for:
- GET
/channels/{channel.id}/invites
- POST
/channels/{channel.id}/invites
Parameters
channelId: string
Returns `/channels/${string}/invites`
- GET
channelMessage: function
Route for:
- GET
/channels/{channel.id}/messages/{message.id}
- PATCH
/channels/{channel.id}/messages/{message.id}
- DELETE
/channels/{channel.id}/messages/{message.id}
Parameters
channelId: string
messageId: string
Returns `/channels/${string}/messages/${string}`
- GET
channelMessageAllReactions: function
Route for:
- DELETE
/channels/{channel.id}/messages/{message.id}/reactions
Parameters
channelId: string
messageId: string
Returns `/channels/${string}/messages/${string}/reactions`
- DELETE
channelMessageCrosspost: function
Route for:
- POST
/channels/{channel.id}/messages/{message.id}/crosspost
Parameters
channelId: string
messageId: string
Returns `/channels/${string}/messages/${string}/crosspost`
- POST
channelMessageOwnReaction: function
Route for:
- PUT
/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me
- DELETE
/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/@me
Note: You need to URL encode the emoji yourself
Parameters
channelId: string
messageId: string
emoji: string
Returns `/channels/${string}/messages/${string}/reactions/${string}/@me`
- PUT
channelMessageReaction: function
Route for:
- GET
/channels/{channel.id}/messages/{message.id}/reactions/{emoji}
- DELETE
/channels/{channel.id}/messages/{message.id}/reactions/{emoji}
Note: You need to URL encode the emoji yourself
Parameters
channelId: string
messageId: string
emoji: string
Returns `/channels/${string}/messages/${string}/reactions/${string}`
- GET
channelMessageUserReaction: function
Route for:
- DELETE
/channels/{channel.id}/messages/{message.id}/reactions/{emoji}/{user.id}
Note: You need to URL encode the emoji yourself
Parameters
channelId: string
messageId: string
emoji: string
userId: string
Returns `/channels/${string}/messages/${string}/reactions/${string}/${string}`
- DELETE
channelMessages: function
Route for:
- GET
/channels/{channel.id}/messages
- POST
/channels/{channel.id}/messages
Parameters
channelId: string
Returns `/channels/${string}/messages`
- GET
channelPermission: function
Route for:
- PUT
/channels/{channel.id}/permissions/{overwrite.id}
- DELETE
/channels/{channel.id}/permissions/{overwrite.id}
Parameters
channelId: string
overwriteId: string
Returns `/channels/${string}/permissions/${string}`
- PUT
channelPin: function
Route for:
- PUT
/channels/{channel.id}/pins/{message.id}
- DELETE
/channels/{channel.id}/pins/{message.id}
Parameters
channelId: string
messageId: string
Returns `/channels/${string}/pins/${string}`
- PUT
channelPins: function
Route for:
- GET
/channels/{channel.id}/pins
Parameters
channelId: string
Returns `/channels/${string}/pins`
- GET
channelRecipient: function
Route for:
- PUT
/channels/{channel.id}/recipients/{user.id}
- DELETE
/channels/{channel.id}/recipients/{user.id}
Parameters
channelId: string
userId: string
Returns `/channels/${string}/recipients/${string}`
- PUT
channelTyping: function
Route for:
- POST
/channels/{channel.id}/typing
Parameters
channelId: string
Returns `/channels/${string}/typing`
- POST
channelWebhooks: function
Route for:
- GET
/channels/{channel.id}/webhooks
- POST
/channels/{channel.id}/webhooks
Parameters
channelId: string
Returns `/channels/${string}/webhooks`
- GET
gateway: function
Route for:
- GET
/gateway
Returns /gateway
- GET
gatewayBot: function
Route for:
- GET
/gateway/bot
Returns /gateway/bot
- GET
guild: function
Route for:
- GET
/guilds/{guild.id}
- PATCH
/guilds/{guild.id}
- DELETE
/guilds/{guild.id}
Parameters
guildId: string
Returns `/guilds/${string}`
- GET
guildApplicationCommandsPermissions: function
Route for:
- GET
/applications/{application.id}/guilds/{guild.id}/commands/permissions
- PUT
/applications/{application.id}/guilds/{guild.id}/commands/permissions
Parameters
applicationId: string
guildId: string
Returns `/applications/${string}/guilds/${string}/commands/permissions`
- GET
guildAuditLog: function
Route for:
- GET
/guilds/{guild.id}/audit-logs
Parameters
guildId: string
Returns `/guilds/${string}/audit-logs`
- GET
guildBan: function
Route for:
- GET
/guilds/{guild.id}/bans/{user.id}
- PUT
/guilds/{guild.id}/bans/{user.id}
- DELETE
/guilds/{guild.id}/bans/{user.id}
Parameters
guildId: string
userId: string
Returns `/guilds/${string}/bans/${string}`
- GET
guildBans: function
Route for:
- GET
/guilds/{guild.id}/bans
Parameters
guildId: string
Returns `/guilds/${string}/bans`
- GET
guildChannels: function
Route for:
- GET
/guilds/{guild.id}/channels
- POST
/guilds/{guild.id}/channels
- PATCH
/guilds/{guild.id}/channels
Parameters
guildId: string
Returns `/guilds/${string}/channels`
- GET
guildCurrentMemberNickname: function
Route for:
- PATCH
/guilds/{guild.id}/members/@me/nick
Parameters
guildId: string
Returns `/guilds/${string}/members/@me/nick`
- PATCH
guildEmoji: function
Route for:
- GET
/guilds/{guild.id}/emojis/{emoji.id}
- PATCH
/guilds/{guild.id}/emojis/{emoji.id}
- DELETE
/guilds/{guild.id}/emojis/{emoji.id}
Parameters
guildId: string
emojiId: string
Returns `/guilds/${string}/emojis/${string}`
- GET
guildEmojis: function
Route for:
- GET
/guilds/{guild.id}/emojis
- POST
/guilds/{guild.id}/emojis
Parameters
guildId: string
Returns `/guilds/${string}/emojis`
- GET
guildIntegration: function
Route for:
- DELETE
/guilds/{guild.id}/integrations/{integration.id}
Parameters
guildId: string
integrationId: string
Returns `/guilds/${string}/integrations/${string}`
- DELETE
guildIntegrations: function
Route for:
- GET
/guilds/{guild.id}/integrations
Parameters
guildId: string
Returns `/guilds/${string}/integrations`
- GET
guildInvites: function
Route for:
- GET
/guilds/{guild.id}/invites
Parameters
guildId: string
Returns `/guilds/${string}/invites`
- GET
guildMember: function
Route for:
- GET
/guilds/{guild.id}/members/{user.id}
- PUT
/guilds/{guild.id}/members/{user.id}
- PATCH
/guilds/{guild.id}/members/@me
- PATCH
/guilds/{guild.id}/members/{user.id}
- DELETE
/guilds/{guild.id}/members/{user.id}
Parameters
guildId: string
userId: string = '@me'
Returns `/guilds/${string}/members/${string}`
- GET
guildMemberRole: function
Route for:
- PUT
/guilds/{guild.id}/members/{user.id}/roles/{role.id}
- DELETE
/guilds/{guild.id}/members/{user.id}/roles/{role.id}
Parameters
guildId: string
memberId: string
roleId: string
Returns `/guilds/${string}/members/${string}/roles/${string}`
- PUT
guildMemberVerification: function
Route for:
- GET
/guilds/{guild.id}/member-verification
- PATCH
/guilds/{guild.id}/member-verification
Parameters
guildId: string
Returns `/guilds/${string}/member-verification`
- GET
guildMembers: function
Route for:
- GET
/guilds/{guild.id}/members
Parameters
guildId: string
Returns `/guilds/${string}/members`
- GET
guildMembersSearch: function
Route for:
- GET
/guilds/{guild.id}/members/search
Parameters
guildId: string
Returns `/guilds/${string}/members/search`
- GET
guildPreview: function
Route for:
- GET
/guilds/{guild.id}/preview
Parameters
guildId: string
Returns `/guilds/${string}/preview`
- GET
guildPrune: function
Route for:
- GET
/guilds/{guild.id}/prune
- POST
/guilds/{guild.id}/prune
Parameters
guildId: string
Returns `/guilds/${string}/prune`
- GET
guildRole: function
Route for:
- PATCH
/guilds/{guild.id}/roles/{role.id}
- DELETE
/guilds/{guild.id}/roles/{role.id}
Parameters
guildId: string
roleId: string
Returns `/guilds/${string}/roles/${string}`
- PATCH
guildRoles: function
Route for:
- GET
/guilds/{guild.id}/roles
- POST
/guilds/{guild.id}/roles
- PATCH
/guilds/{guild.id}/roles
Parameters
guildId: string
Returns `/guilds/${string}/roles`
- GET
guildScheduledEvent: function
Route for:
- GET
/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}
- PATCH
/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}
- DELETE
/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}
Parameters
guildId: string
guildScheduledEventId: string
Returns string
- GET
guildScheduledEventUsers: function
Route for:
- GET
/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}/users
Parameters
guildId: string
guildScheduledEventId: string
Returns string
- GET
guildScheduledEvents: function
Route for:
- GET
/guilds/{guild.id}/scheduled-events
- POST
/guilds/{guild.id}/scheduled-events
Parameters
guildId: string
Returns string
- GET
guildSticker: function
Route for:
- GET
/guilds/{guild.id}/stickers/{sticker.id}
- PATCH
/guilds/{guild.id}/stickers/{sticker.id}
- DELETE
/guilds/{guild.id}/stickers/{sticker.id}
Parameters
guildId: string
stickerId: string
Returns `/guilds/${string}/stickers/${string}`
- GET
guildStickers: function
Route for:
- GET
/guilds/{guild.id}/stickers
- POST
/guilds/{guild.id}/stickers
Parameters
guildId: string
Returns `/guilds/${string}/stickers`
- GET
guildTemplate: function
Route for:
- PUT
/guilds/{guild.id}/templates/{template.code}
- PATCH
/guilds/{guild.id}/templates/{template.code}
- DELETE
/guilds/{guild.id}/templates/{template.code}
Parameters
guildId: string
code: string
Returns `/guilds/${string}/templates/${string}`
- PUT
guildTemplates: function
Route for:
- GET
/guilds/{guild.id}/templates
- POST
/guilds/{guild.id}/templates
Parameters
guildId: string
Returns `/guilds/${string}/templates`
- GET
guildVanityUrl: function
Route for:
- GET
/guilds/{guild.id}/vanity-url
Parameters
guildId: string
Returns `/guilds/${string}/vanity-url`
- GET
guildVoiceRegions: function
Route for:
- GET
/guilds/{guild.id}/regions
Parameters
guildId: string
Returns `/guilds/${string}/regions`
- GET
guildVoiceState: function
Route for:
- PATCH
/guilds/{guild.id}/voice-states/@me
- PATCH
/guilds/{guild.id}/voice-states/{user.id}
Parameters
guildId: string
userId: string = '@me'
Returns `/guilds/${string}/voice-states/${string}`
- PATCH
guildWebhooks: function
Route for:
- GET
/guilds/{guild.id}/webhooks
Parameters
guildId: string
Returns `/guilds/${string}/webhooks`
- GET
guildWelcomeScreen: function
Route for:
- GET
/guilds/{guild.id}/welcome-screen
- PATCH
/guilds/{guild.id}/welcome-screen
Parameters
guildId: string
Returns `/guilds/${string}/welcome-screen`
- GET
guildWidgetImage: function
Route for:
- GET
/guilds/{guild.id}/widget.png
Parameters
guildId: string
Returns `/guilds/${string}/widget.png`
- GET
guildWidgetJSON: function
Route for:
- GET
/guilds/{guild.id}/widget.json
Parameters
guildId: string
Returns `/guilds/${string}/widget.json`
- GET
guildWidgetSettings: function
Route for:
- GET
/guilds/{guild.id}/widget
- PATCH
/guilds/{guild.id}/widget
Parameters
guildId: string
Returns `/guilds/${string}/widget`
- GET
guilds: function
Route for:
- POST
/guilds
Returns /guilds
- POST
interactionCallback: function
Route for:
- POST
/interactions/{interaction.id}/{interaction.token}/callback
Parameters
interactionId: string
interactionToken: string
Returns `/interactions/${string}/${string}/callback`
- POST
invite: function
Route for:
- GET
/invites/{invite.code}
- DELETE
/invites/{invite.code}
Parameters
code: string
Returns `/invites/${string}`
- GET
nitroStickerPacks: function
Route for:
- GET
/sticker-packs
Returns /sticker-packs
- GET
oauth2Authorization: function
Route for:
- GET
/oauth2/authorize
Returns /oauth2/authorize
- GET
oauth2CurrentApplication: function
Route for:
- GET
/oauth2/applications/@me
Returns /oauth2/applications/@me
- GET
oauth2CurrentAuthorization: function
Route for:
- GET
/oauth2/@me
Returns /oauth2/@me
- GET
oauth2TokenExchange: function
Route for:
- POST
/oauth2/token
Returns /oauth2/token
- POST
oauth2TokenRevocation: function
Route for:
- POST
/oauth2/token/revoke
Returns /oauth2/token/revoke
- POST
stageInstance: function
Route for:
- GET
/stage-instances/{channel.id}
- PATCH
/stage-instances/{channel.id}
- DELETE
/stage-instances/{channel.id}
Parameters
channelId: string
Returns `/stage-instances/${string}`
- GET
stageInstances: function
Route for:
- POST
/stage-instances
Returns /stage-instances
- POST
sticker: function
Route for:
- GET
/stickers/{sticker.id}
Parameters
stickerId: string
Returns `/stickers/${string}`
- GET
template: function
Route for:
- GET
/guilds/templates/{template.code}
- POST
/guilds/templates/{template.code}
Parameters
code: string
Returns `/guilds/templates/${string}`
- GET
user: function
Route for:
- GET
/users/@me
- GET
/users/{user.id}
- PATCH
/users/@me
Parameters
userId: string = '@me'
Returns `/users/${string}`
- GET
userChannels: function
Route for:
- POST
/users/@me/channels
Returns /users/@me/channels
- POST
userConnections: function
Route for:
- GET
/users/@me/connections
Returns /users/@me/connections
- GET
userGuild: function
Route for:
- DELETE
/users/@me/guilds/{guild.id}
Parameters
guildId: string
Returns `/users/@me/guilds/${string}`
- DELETE
userGuildMember: function
Route for:
- GET
/users/@me/guilds/{guild.id}/member
Parameters
guildId: string
Returns `/users/@me/guilds/${string}/member`
- GET
userGuilds: function
Route for:
- GET
/users/@me/guilds
Returns /users/@me/guilds
- GET
voiceRegions: function
Route for:
- GET
/voice/regions
Returns /voice/regions
- GET
webhook: function
Route for:
- GET
/webhooks/{webhook.id}
- GET
/webhooks/{webhook.id}/{webhook.token}
- PATCH
/webhooks/{webhook.id}
- PATCH
/webhooks/{webhook.id}/{webhook.token}
- DELETE
/webhooks/{webhook.id}
- DELETE
/webhooks/{webhook.id}/{webhook.token}
- POST
/webhooks/{webhook.id}/{webhook.token}
- POST
/webhooks/{application.id}/{interaction.token}
Parameters
webhookId: string
optionalwebhookToken: string
Returns `/webhooks/${string}` | `/webhooks/${string}/${string}`
- GET
webhookMessage: function
Route for:
- GET
/webhooks/{webhook.id}/{webhook.token}/messages/@original
- GET
/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}
- PATCH
/webhooks/{webhook.id}/{webhook.token}/messages/@original
- PATCH
/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}
- DELETE
/webhooks/{webhook.id}/{webhook.token}/messages/@original
- DELETE
/webhooks/{webhook.id}/{webhook.token}/messages/{message.id}
- PATCH
/webhooks/{application.id}/{interaction.token}/messages/@original
- PATCH
/webhooks/{application.id}/{interaction.token}/messages/{message.id}
- DELETE
/webhooks/{application.id}/{interaction.token}/messages/{message.id}
Parameters
webhookId: string
webhookToken: string
messageId: string = '@original'
Returns `/webhooks/${string}/${string}/messages/${string}`
- GET
webhookPlatform: function
Route for:
- POST
/webhooks/{webhook.id}/{webhook.token}/github
- POST
/webhooks/{webhook.id}/{webhook.token}/slack
Parameters
webhookId: string
webhookToken: string
platform: github | slack
Returns `/webhooks/${string}/${string}/github` | `/webhooks/${string}/${string}/slack`
- POST
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.