discord-api-types/v9
Index
Enumerations
- ActivityFlags
- ActivityPlatform
- ActivityType
- AllowedMentionsTypes
- ApplicationCommandOptionType
- ApplicationCommandPermissionType
- ApplicationCommandType
- ApplicationFlags
- ApplicationIntegrationType
- ApplicationRoleConnectionMetadataType
- ApplicationWebhookEventStatus
- ApplicationWebhookEventType
- ApplicationWebhookType
- AttachmentFlags
- AuditLogEvent
- AuditLogOptionsType
- AutoModerationActionType
- AutoModerationRuleEventType
- AutoModerationRuleKeywordPresetType
- AutoModerationRuleTriggerType
- ButtonStyle
- ChannelFlags
- ChannelType
- ComponentType
- ConnectionService
- ConnectionVisibility
- EmbedType
- EntitlementOwnerType
- EntitlementType
- EntryPointCommandHandlerType
- ForumLayoutType
- GatewayCloseCodes
- GatewayDispatchEvents
- GatewayIntentBits
- GatewayOpcodes
- GuildDefaultMessageNotifications
- GuildExplicitContentFilter
- GuildFeature
- GuildHubType
- GuildMFALevel
- GuildMemberFlags
- GuildNSFWLevel
- GuildOnboardingMode
- GuildOnboardingPromptType
- GuildPremiumTier
- GuildScheduledEventEntityType
- GuildScheduledEventPrivacyLevel
- GuildScheduledEventRecurrenceRuleFrequency
- GuildScheduledEventRecurrenceRuleMonth
- GuildScheduledEventRecurrenceRuleWeekday
- GuildScheduledEventStatus
- GuildSystemChannelFlags
- GuildVerificationLevel
- GuildWidgetStyle
- ImageFormat
- IntegrationExpireBehavior
- InteractionContextType
- InteractionResponseType
- InteractionType
- InviteTargetType
- InviteType
- MembershipScreeningFieldType
- MessageActivityType
- MessageFlags
- MessageReferenceType
- MessageType
- OAuth2Scopes
- OverwriteType
- PollLayoutType
- PresenceUpdateStatus
- ReactionType
- RoleFlags
- SKUFlags
- SKUType
- SelectMenuDefaultValueType
- SortOrderType
- StageInstancePrivacyLevel
- StickerFormatType
- StickerType
- SubscriptionStatus
- TeamMemberMembershipState
- TeamMemberRole
- TextInputStyle
- ThreadAutoArchiveDuration
- ThreadMemberFlags
- UserFlags
- UserPremiumType
- VideoQualityMode
- VoiceChannelEffectSendAnimationType
- WebhookType
Interfaces
- APIActionRowComponent
- APIAllowedMentions
- APIApplication
- APIApplicationCommand
- APIApplicationCommandAutocompleteResponse
- APIApplicationCommandChannelOption
- APIApplicationCommandInteractionDataIntegerOption
- APIApplicationCommandInteractionDataNumberOption
- APIApplicationCommandInteractionDataStringOption
- APIApplicationCommandInteractionDataSubcommandGroupOption
- APIApplicationCommandInteractionDataSubcommandOption
- APIApplicationCommandInteractionMetadata
- APIApplicationCommandOptionBase
- APIApplicationCommandOptionChoice
- APIApplicationCommandPermission
- APIApplicationCommandSubcommandGroupOption
- APIApplicationCommandSubcommandOption
- APIApplicationInstallParams
- APIApplicationIntegrationTypeConfiguration
- APIApplicationRoleConnection
- APIApplicationRoleConnectionMetadata
- APIAttachment
- APIAuditLog
- APIAuditLogEntry
- APIAuditLogOptions
- APIAutoModerationAction
- APIAutoModerationActionMetadata
- APIAutoModerationRule
- APIAutoModerationRuleTriggerMetadata
- APIAvatarDecorationData
- APIBan
- APIBaseAutoPopulatedSelectMenuComponent
- APIBaseComponent
- APIBaseInteraction
- APIBaseSelectMenuComponent
- APIButtonComponentBase
- APIButtonComponentWithCustomId
- APIButtonComponentWithSKUId
- APIButtonComponentWithURL
- APIChannelBase
- APIChannelMention
- APIChannelSelectComponent
- APIChatInputApplicationCommandInteractionData
- APICommandAutocompleteInteractionResponseCallbackData
- APIConnection
- APIDMChannel
- APIDMChannelBase
- APIEmbed
- APIEmbedAuthor
- APIEmbedField
- APIEmbedFooter
- APIEmbedImage
- APIEmbedProvider
- APIEmbedThumbnail
- APIEmbedVideo
- APIEmoji
- APIEntitlement
- APIExtendedInvite
- APIExternalGuildScheduledEvent
- APIFollowedChannel
- APIGatewayBotInfo
- APIGatewayInfo
- APIGatewaySessionStartLimit
- APIGroupDMChannel
- APIGuild
- APIGuildApplicationCommandPermissions
- APIGuildChannel
- APIGuildForumChannel
- APIGuildForumDefaultReactionEmoji
- APIGuildForumTag
- APIGuildIntegration
- APIGuildIntegrationApplication
- APIGuildMember
- APIGuildMembershipScreening
- APIGuildMembershipScreeningField
- APIGuildOnboarding
- APIGuildOnboardingPrompt
- APIGuildOnboardingPromptOption
- APIGuildPreview
- APIGuildScheduledEventEntityMetadata
- APIGuildScheduledEventRecurrenceRule
- 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
- APIMessageCall
- APIMessageChannelSelectInteractionData
- APIMessageComponentBaseInteractionData
- APIMessageComponentEmoji
- APIMessageComponentInteractionMetadata
- APIMessageInteraction
- APIMessageMentionableSelectInteractionData
- APIMessageReference
- APIMessageRoleSelectInteractionData
- APIMessageSnapshot
- APIMessageStringSelectInteractionData
- APIMessageUserSelectInteractionData
- APIModalInteractionResponse
- APIModalInteractionResponseCallbackData
- APIModalSubmission
- APIModalSubmitInteractionMetadata
- APIOverwrite
- APIPartialChannel
- APIPartialEmoji
- APIPartialGuild
- APIPartialInteractionGuild
- APIPoll
- APIPollAnswer
- APIPollAnswerCount
- APIPollMedia
- APIPollResults
- APIPremiumRequiredInteractionResponse
- APIReaction
- APIReactionCountDetails
- APIRole
- APIRoleTags
- APISKU
- APISelectMenuDefaultValue
- APISelectMenuOption
- APISoundboardSound
- APIStageInstance
- APIStageInstanceGuildScheduledEvent
- APISticker
- APIStickerPack
- APIStringSelectComponent
- APISubscription
- APITeam
- APITeamMember
- APITemplate
- APITemplateSerializedSourceGuild
- APITextBasedChannel
- APITextInputComponent
- APIThreadChannel
- APIThreadList
- APIThreadMember
- APIThreadMetadata
- APIThreadOnlyChannel
- APIUnavailableGuild
- APIUser
- APIUserApplicationCommandInteractionData
- APIVoiceChannelBase
- APIVoiceGuildScheduledEvent
- APIVoiceRegion
- APIVoiceState
- APIWebhook
- APIWebhookEventApplicationAuthorizedData
- CDNQuery
- GatewayActivity
- GatewayActivityButton
- GatewayActivityParty
- GatewayActivityTimestamps
- GatewayApplicationCommandPermissionsUpdateDispatchData
- GatewayAutoModerationActionExecutionDispatchData
- GatewayChannelPinsUpdateDispatchData
- GatewayGuildAuditLogEntryCreateDispatchData
- GatewayGuildBanModifyDispatchData
- GatewayGuildCreateDispatchData
- GatewayGuildDeleteDispatchData
- GatewayGuildEmojisUpdateDispatchData
- GatewayGuildIntegrationsUpdateDispatchData
- GatewayGuildMemberAddDispatchData
- GatewayGuildMemberRemoveDispatchData
- GatewayGuildMembersChunkDispatchData
- GatewayGuildRoleDeleteDispatchData
- GatewayGuildRoleModifyDispatchData
- GatewayGuildScheduledEventUserAddDispatchData
- GatewayGuildScheduledEventUserRemoveDispatchData
- GatewayGuildSoundboardSoundDeleteDispatchData
- GatewayGuildSoundboardSoundsUpdateDispatchData
- GatewayGuildStickersUpdateDispatchData
- GatewayHeartbeat
- GatewayHeartbeatAck
- GatewayHeartbeatRequest
- GatewayHello
- GatewayHelloData
- GatewayIdentify
- GatewayIdentifyData
- GatewayIdentifyProperties
- GatewayIntegrationDeleteDispatchData
- GatewayInvalidSession
- GatewayInviteCreateDispatchData
- GatewayInviteDeleteDispatchData
- GatewayMessageDeleteBulkDispatchData
- GatewayMessageDeleteDispatchData
- GatewayMessageEventExtraFields
- GatewayMessagePollVoteDispatchData
- GatewayMessageReactionRemoveEmojiDispatchData
- GatewayPresenceClientStatus
- GatewayPresenceUpdate
- GatewayPresenceUpdateData
- GatewayReadyDispatchData
- GatewayReconnect
- GatewayRequestGuildMembers
- GatewayRequestGuildMembersDataBase
- GatewayRequestGuildMembersDataWithQuery
- GatewayRequestGuildMembersDataWithUserIds
- GatewayRequestSoundboardSounds
- GatewayRequestSoundboardSoundsData
- GatewayResume
- GatewayResumeData
- GatewaySoundboardSoundsDispatchData
- GatewayThreadCreateDispatchData
- GatewayThreadDeleteDispatchData
- GatewayThreadListSync
- GatewayThreadMembersUpdate
- GatewayTypingStartDispatchData
- GatewayUpdatePresence
- GatewayVoiceChannelEffectSendDispatchData
- GatewayVoiceServerUpdateDispatchData
- GatewayVoiceStateUpdate
- GatewayVoiceStateUpdateData
- GatewayWebhooksUpdateDispatchData
- GuildScheduledEventRecurrenceRuleNWeekday
- ModalSubmitActionRowComponent
- ModalSubmitComponent
- RESTAPIChannelPatchOverwrite
- RESTAPIGuildCreateOverwrite
- RESTAPIGuildCreateRole
- RESTAPIInteractionCallbackActivityInstanceResource
- RESTAPIInteractionCallbackObject
- RESTAPIInteractionCallbackResourceObject
- RESTAPIPartialCurrentUserGuild
- RESTAPIPoll
- RESTGetAPIApplicationCommandsQuery
- RESTGetAPIApplicationEmojisResult
- RESTGetAPIAuditLogQuery
- RESTGetAPIChannelMessageReactionUsersQuery
- RESTGetAPIChannelMessagesQuery
- RESTGetAPIChannelThreadMemberQuery
- RESTGetAPIChannelThreadMembersQuery
- RESTGetAPIChannelThreadsArchivedQuery
- RESTGetAPICurrentUserGuildsQuery
- RESTGetAPIEntitlementsQuery
- RESTGetAPIGuildBansQuery
- RESTGetAPIGuildMembersQuery
- RESTGetAPIGuildMembersSearchQuery
- RESTGetAPIGuildPruneCountQuery
- RESTGetAPIGuildPruneCountResult
- RESTGetAPIGuildQuery
- RESTGetAPIGuildScheduledEventQuery
- RESTGetAPIGuildScheduledEventUsersQuery
- RESTGetAPIGuildScheduledEventsQuery
- RESTGetAPIGuildSoundboardSoundsResult
- RESTGetAPIGuildVanityUrlResult
- RESTGetAPIGuildWidgetImageQuery
- RESTGetAPIInviteQuery
- RESTGetAPIOAuth2CurrentAuthorizationResult
- RESTGetAPIPollAnswerVotersQuery
- RESTGetAPIPollAnswerVotersResult
- RESTGetAPISKUSubscriptionsQuery
- RESTGetAPIWebhookWithTokenMessageQuery
- RESTGetStickerPacksResult
- RESTOAuth2AdvancedBotAuthorizationQuery
- RESTOAuth2AdvancedBotAuthorizationQueryResult
- RESTOAuth2AuthorizationQuery
- RESTOAuth2BotAuthorizationQuery
- RESTOAuth2ImplicitAuthorizationQuery
- RESTPatchAPIChannelJSONBody
- RESTPatchAPIChannelMessageJSONBody
- RESTPatchAPICurrentGuildMemberJSONBody
- RESTPatchAPICurrentGuildMemberNicknameJSONBody
- RESTPatchAPICurrentUserJSONBody
- RESTPatchAPIGuildEmojiJSONBody
- RESTPatchAPIGuildJSONBody
- RESTPatchAPIGuildMemberJSONBody
- RESTPatchAPIGuildMemberVerificationJSONBody
- RESTPatchAPIGuildRoleJSONBody
- RESTPatchAPIGuildSoundboardSoundJSONBody
- RESTPatchAPIGuildStickerJSONBody
- RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody
- RESTPatchAPIGuildVoiceStateUserJSONBody
- RESTPatchAPIStageInstanceJSONBody
- RESTPatchAPIWebhookJSONBody
- RESTPostAPIAutoModerationRuleJSONBody
- RESTPostAPIChannelFollowersJSONBody
- RESTPostAPIChannelInviteJSONBody
- RESTPostAPIChannelMessageJSONBody
- RESTPostAPIChannelMessagesBulkDeleteJSONBody
- RESTPostAPIChannelMessagesThreadsJSONBody
- RESTPostAPIChannelThreadsJSONBody
- RESTPostAPIChannelWebhookJSONBody
- RESTPostAPIChatInputApplicationCommandsJSONBody
- RESTPostAPIContextMenuApplicationCommandsJSONBody
- RESTPostAPICurrentUserCreateDMChannelJSONBody
- RESTPostAPIEntitlementJSONBody
- RESTPostAPIGuildBulkBanJSONBody
- RESTPostAPIGuildBulkBanResult
- RESTPostAPIGuildEmojiJSONBody
- RESTPostAPIGuildPruneJSONBody
- RESTPostAPIGuildPruneResult
- RESTPostAPIGuildRoleJSONBody
- RESTPostAPIGuildScheduledEventJSONBody
- RESTPostAPIGuildSoundboardSoundJSONBody
- RESTPostAPIGuildStickerFormDataBody
- RESTPostAPIGuildTemplatesJSONBody
- RESTPostAPIGuildsJSONBody
- RESTPostAPIGuildsMFAJSONBody
- RESTPostAPIInteractionCallbackQuery
- RESTPostAPIInteractionCallbackWithResponseResult
- RESTPostAPISoundboardSendSoundJSONBody
- RESTPostAPIStageInstanceJSONBody
- RESTPostAPITemplateCreateGuildJSONBody
- RESTPostAPIWebhookWithTokenJSONBody
- RESTPostAPIWebhookWithTokenQuery
- RESTPostOAuth2AccessTokenResult
- RESTPostOAuth2AccessTokenURLEncodedData
- RESTPostOAuth2AccessTokenWithBotAndGuildsScopeResult
- RESTPostOAuth2AccessTokenWithBotAndWebhookIncomingScopeResult
- RESTPostOAuth2AuthorizationQueryResult
- RESTPostOAuth2ClientCredentialsURLEncodedData
- RESTPostOAuth2RefreshTokenURLEncodedData
- RESTPostOAuth2TokenRevocationQuery
- 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
- APIApplicationIntegrationTypesConfigMap
- APIAuditLogChange
- APIAuditLogChangeKey$Add
- APIAuditLogChangeKey$Remove
- APIAuditLogChangeKeyAFKChannelId
- APIAuditLogChangeKeyAFKTimeout
- APIAuditLogChangeKeyActions
- APIAuditLogChangeKeyAllow
- APIAuditLogChangeKeyApplicationId
- APIAuditLogChangeKeyArchived
- APIAuditLogChangeKeyAsset
- APIAuditLogChangeKeyAutoArchiveDuration
- APIAuditLogChangeKeyAvailable
- APIAuditLogChangeKeyAvailableTags
- APIAuditLogChangeKeyAvatarHash
- APIAuditLogChangeKeyBannerHash
- APIAuditLogChangeKeyBitrate
- APIAuditLogChangeKeyChannelId
- APIAuditLogChangeKeyCode
- APIAuditLogChangeKeyColor
- APIAuditLogChangeKeyCommunicationDisabledUntil
- APIAuditLogChangeKeyDeaf
- APIAuditLogChangeKeyDefaultAutoArchiveDuration
- APIAuditLogChangeKeyDefaultMessageNotifications
- APIAuditLogChangeKeyDefaultReactionEmoji
- APIAuditLogChangeKeyDefaultThreadRateLimitPerUser
- APIAuditLogChangeKeyDeny
- APIAuditLogChangeKeyDescription
- APIAuditLogChangeKeyDiscoverySplashHash
- APIAuditLogChangeKeyEmojiId
- APIAuditLogChangeKeyEmojiName
- APIAuditLogChangeKeyEnableEmoticons
- APIAuditLogChangeKeyEnabled
- APIAuditLogChangeKeyEntityType
- APIAuditLogChangeKeyEventType
- APIAuditLogChangeKeyExemptChannels
- APIAuditLogChangeKeyExemptRoles
- APIAuditLogChangeKeyExpireBehavior
- APIAuditLogChangeKeyExpireGracePeriod
- APIAuditLogChangeKeyExplicitContentFilter
- APIAuditLogChangeKeyFlags
- APIAuditLogChangeKeyFormatType
- APIAuditLogChangeKeyGuildId
- APIAuditLogChangeKeyHoist
- APIAuditLogChangeKeyIconHash
- APIAuditLogChangeKeyId
- APIAuditLogChangeKeyImageHash
- APIAuditLogChangeKeyInviterId
- APIAuditLogChangeKeyLocation
- APIAuditLogChangeKeyLocked
- APIAuditLogChangeKeyMFALevel
- APIAuditLogChangeKeyMaxAge
- APIAuditLogChangeKeyMaxUses
- APIAuditLogChangeKeyMentionable
- APIAuditLogChangeKeyMute
- APIAuditLogChangeKeyNSFW
- APIAuditLogChangeKeyName
- APIAuditLogChangeKeyNick
- APIAuditLogChangeKeyOwnerId
- APIAuditLogChangeKeyPermissionOverwrites
- APIAuditLogChangeKeyPermissions
- APIAuditLogChangeKeyPosition
- APIAuditLogChangeKeyPreferredLocale
- APIAuditLogChangeKeyPremiumProgressBarEnabled
- APIAuditLogChangeKeyPrivacyLevel
- APIAuditLogChangeKeyPruneDeleteDays
- APIAuditLogChangeKeyPublicUpdatesChannelId
- APIAuditLogChangeKeyRateLimitPerUser
- APIAuditLogChangeKeyRecurrenceRule
- APIAuditLogChangeKeyRegion
- APIAuditLogChangeKeyRulesChannelId
- APIAuditLogChangeKeySafetyAlertsChannelId
- APIAuditLogChangeKeySnowflake
- APIAuditLogChangeKeySoundId
- APIAuditLogChangeKeySplashHash
- APIAuditLogChangeKeyStatus
- APIAuditLogChangeKeySystemChannelFlags
- APIAuditLogChangeKeySystemChannelId
- APIAuditLogChangeKeyTags
- APIAuditLogChangeKeyTemporary
- APIAuditLogChangeKeyTopic
- APIAuditLogChangeKeyTriggerMetadata
- APIAuditLogChangeKeyTriggerType
- APIAuditLogChangeKeyType
- APIAuditLogChangeKeyUserId
- APIAuditLogChangeKeyUserLimit
- APIAuditLogChangeKeyUses
- APIAuditLogChangeKeyVanityURLCode
- APIAuditLogChangeKeyVerificationLevel
- APIAuditLogChangeKeyVolume
- APIAuditLogChangeKeyWidgetChannelId
- APIAuditLogChangeKeyWidgetEnabled
- APIAuthorizingIntegrationOwnersMap
- APIAutoPopulatedSelectMenuComponent
- APIButtonComponent
- APIChannel
- APIChannelPatchOverwrite
- APIChatInputApplicationCommandDMInteraction
- APIChatInputApplicationCommandGuildInteraction
- APIChatInputApplicationCommandInteraction
- APIChatInputApplicationCommandInteractionDataResolved
- APIContextMenuDMInteraction
- APIContextMenuGuildInteraction
- APIContextMenuInteraction
- APIContextMenuInteractionData
- APIDMInteraction
- APIDMInteractionWrapper
- APIGuildCategoryChannel
- APIGuildChannelResolvable
- APIGuildCreateOverwrite
- APIGuildCreatePartialChannel
- APIGuildCreateRole
- 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
- APIMessageInteractionMetadata
- APIMessageReferenceSend
- APIMessageSelectMenuInteractionData
- APIMessageSnapshotFields
- APIModalActionRowComponent
- APIModalComponent
- APIModalSubmitDMInteraction
- APIModalSubmitGuildInteraction
- APIModalSubmitInteraction
- APINewsChannel
- APIPingInteraction
- APIRoleSelectComponent
- APISelectMenuComponent
- APIStickerItem
- APITextChannel
- APIUserApplicationCommandDMInteraction
- APIUserApplicationCommandGuildInteraction
- APIUserApplicationCommandInteraction
- APIUserApplicationCommandInteractionDataResolved
- APIUserInteractionDataResolved
- APIUserSelectComponent
- APIWebhookEvent
- APIWebhookEventBody
- APIWebhookEventEntitlementCreateData
- APIWebhookEventQuestUserEnrollmentData
- 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
- GatewayEntitlementCreateDispatch
- GatewayEntitlementCreateDispatchData
- GatewayEntitlementDeleteDispatch
- GatewayEntitlementDeleteDispatchData
- GatewayEntitlementModifyDispatch
- GatewayEntitlementModifyDispatchData
- GatewayEntitlementUpdateDispatch
- GatewayEntitlementUpdateDispatchData
- GatewayGuildAuditLogEntryCreateDispatch
- GatewayGuildBanAddDispatch
- GatewayGuildBanAddDispatchData
- GatewayGuildBanModifyDispatch
- GatewayGuildBanRemoveDispatch
- GatewayGuildBanRemoveDispatchData
- GatewayGuildCreateDispatch
- GatewayGuildDeleteDispatch
- GatewayGuildEmojisUpdateDispatch
- GatewayGuildIntegrationsUpdateDispatch
- GatewayGuildMemberAddDispatch
- GatewayGuildMemberRemoveDispatch
- GatewayGuildMemberUpdateDispatch
- GatewayGuildMemberUpdateDispatchData
- GatewayGuildMembersChunkDispatch
- GatewayGuildMembersChunkPresence
- GatewayGuildModifyDispatch
- GatewayGuildModifyDispatchData
- GatewayGuildRoleCreateDispatch
- GatewayGuildRoleCreateDispatchData
- GatewayGuildRoleDeleteDispatch
- GatewayGuildRoleModifyDispatch
- GatewayGuildRoleUpdateDispatch
- GatewayGuildRoleUpdateDispatchData
- GatewayGuildScheduledEventCreateDispatch
- GatewayGuildScheduledEventCreateDispatchData
- GatewayGuildScheduledEventDeleteDispatch
- GatewayGuildScheduledEventDeleteDispatchData
- GatewayGuildScheduledEventUpdateDispatch
- GatewayGuildScheduledEventUpdateDispatchData
- GatewayGuildScheduledEventUserAddDispatch
- GatewayGuildScheduledEventUserRemoveDispatch
- GatewayGuildSoundboardSoundCreateDispatch
- GatewayGuildSoundboardSoundCreateDispatchData
- GatewayGuildSoundboardSoundDeleteDispatch
- GatewayGuildSoundboardSoundUpdateDispatch
- GatewayGuildSoundboardSoundUpdateDispatchData
- GatewayGuildSoundboardSoundsUpdateDispatch
- GatewayGuildStickersUpdateDispatch
- GatewayGuildUpdateDispatch
- GatewayGuildUpdateDispatchData
- GatewayHeartbeatData
- GatewayIntegrationCreateDispatch
- GatewayIntegrationCreateDispatchData
- GatewayIntegrationDeleteDispatch
- GatewayIntegrationUpdateDispatch
- GatewayIntegrationUpdateDispatchData
- GatewayInteractionCreateDispatch
- GatewayInteractionCreateDispatchData
- GatewayInvalidSessionData
- GatewayInviteCreateDispatch
- GatewayInviteDeleteDispatch
- GatewayMessageCreateDispatch
- GatewayMessageCreateDispatchData
- GatewayMessageDeleteBulkDispatch
- GatewayMessageDeleteDispatch
- GatewayMessagePollVoteAddDispatch
- GatewayMessagePollVoteRemoveDispatch
- GatewayMessageReactionAddDispatch
- GatewayMessageReactionAddDispatchData
- GatewayMessageReactionRemoveAllDispatch
- GatewayMessageReactionRemoveAllDispatchData
- GatewayMessageReactionRemoveDispatch
- GatewayMessageReactionRemoveDispatchData
- GatewayMessageReactionRemoveEmojiDispatch
- GatewayMessageUpdateDispatch
- GatewayMessageUpdateDispatchData
- GatewayPresenceUpdateDispatch
- GatewayPresenceUpdateDispatchData
- GatewayReadyDispatch
- GatewayReceivePayload
- GatewayRequestGuildMembersData
- GatewayResumedDispatch
- GatewaySendPayload
- GatewaySoundboardSoundsDispatch
- GatewayStageInstanceCreateDispatch
- GatewayStageInstanceCreateDispatchData
- GatewayStageInstanceDeleteDispatch
- GatewayStageInstanceDeleteDispatchData
- GatewayStageInstanceUpdateDispatch
- GatewayStageInstanceUpdateDispatchData
- GatewaySubscriptionCreateDispatch
- GatewaySubscriptionCreateDispatchData
- GatewaySubscriptionDeleteDispatch
- GatewaySubscriptionDeleteDispatchData
- GatewaySubscriptionModifyDispatch
- GatewaySubscriptionModifyDispatchData
- GatewaySubscriptionUpdateDispatch
- GatewaySubscriptionUpdateDispatchData
- GatewayThreadCreateDispatch
- GatewayThreadDeleteDispatch
- GatewayThreadListSyncDispatch
- GatewayThreadListSyncDispatchData
- GatewayThreadMemberUpdateDispatch
- GatewayThreadMemberUpdateDispatchData
- GatewayThreadMembersUpdateDispatch
- GatewayThreadMembersUpdateDispatchData
- GatewayThreadModifyDispatch
- GatewayThreadUpdateDispatch
- GatewayThreadUpdateDispatchData
- GatewayTypingStartDispatch
- GatewayUserUpdateDispatch
- GatewayUserUpdateDispatchData
- GatewayVoiceChannelEffectSendDispatch
- GatewayVoiceServerUpdateDispatch
- GatewayVoiceState
- GatewayVoiceStateUpdateDispatch
- GatewayVoiceStateUpdateDispatchData
- GatewayWebhooksUpdateDispatch
- GetAPIVoiceRegionsResult
- GuildBannerFormat
- GuildChannelType
- GuildDiscoverySplashFormat
- GuildIconFormat
- GuildMemberAvatarFormat
- GuildMemberBannerFormat
- GuildScheduledEventCoverFormat
- GuildSplashFormat
- GuildTextChannelType
- PartialAPIMessageInteractionGuildMember
- PresenceUpdateReceiveStatus
- RESTAPIAttachment
- RESTAPIGuildChannelResolvable
- RESTAPIGuildCreatePartialChannel
- RESTAPIGuildOnboardingPrompt
- RESTAPIGuildOnboardingPromptOption
- RESTAPIMessageReference
- RESTAPIModifyGuildOnboardingPromptData
- RESTAPIModifyGuildOnboardingPromptOptionData
- RESTAPIPollCreate
- RESTDeleteAPIApplicationEmojiResult
- RESTDeleteAPIAutoModerationRuleResult
- RESTDeleteAPIChannelAllMessageReactionsResult
- RESTDeleteAPIChannelMessageOwnReaction
- RESTDeleteAPIChannelMessageOwnReactionResult
- RESTDeleteAPIChannelMessageReactionResult
- RESTDeleteAPIChannelMessageResult
- RESTDeleteAPIChannelMessageUserReactionResult
- RESTDeleteAPIChannelPermissionResult
- RESTDeleteAPIChannelPinResult
- RESTDeleteAPIChannelRecipientResult
- RESTDeleteAPIChannelResult
- RESTDeleteAPIChannelThreadMembersResult
- RESTDeleteAPICurrentUserGuildResult
- RESTDeleteAPIEntitlementResult
- RESTDeleteAPIGuildBanResult
- RESTDeleteAPIGuildEmojiResult
- RESTDeleteAPIGuildIntegrationResult
- RESTDeleteAPIGuildMemberResult
- RESTDeleteAPIGuildMemberRoleResult
- RESTDeleteAPIGuildResult
- RESTDeleteAPIGuildRoleResult
- RESTDeleteAPIGuildScheduledEventResult
- RESTDeleteAPIGuildSoundboardSoundResult
- RESTDeleteAPIGuildStickerResult
- RESTDeleteAPIGuildTemplateResult
- RESTDeleteAPIInteractionFollowupResult
- RESTDeleteAPIInteractionOriginalResponseResult
- RESTDeleteAPIInviteResult
- RESTDeleteAPIStageInstanceResult
- RESTDeleteAPIWebhookResult
- RESTDeleteAPIWebhookWithTokenMessageResult
- RESTDeleteAPIWebhookWithTokenResult
- RESTGetAPIApplicationCommandPermissionsResult
- RESTGetAPIApplicationCommandResult
- RESTGetAPIApplicationCommandsResult
- RESTGetAPIApplicationEmojiResult
- RESTGetAPIApplicationGuildCommandResult
- RESTGetAPIApplicationGuildCommandsQuery
- RESTGetAPIApplicationGuildCommandsResult
- RESTGetAPIApplicationRoleConnectionMetadataResult
- RESTGetAPIAuditLogResult
- RESTGetAPIAutoModerationRuleResult
- RESTGetAPIAutoModerationRulesResult
- RESTGetAPIChannelInvitesResult
- RESTGetAPIChannelMessageReactionUsersResult
- RESTGetAPIChannelMessageResult
- RESTGetAPIChannelMessagesResult
- RESTGetAPIChannelPinsResult
- RESTGetAPIChannelResult
- RESTGetAPIChannelThreadMemberResult
- RESTGetAPIChannelThreadMembersResult
- RESTGetAPIChannelThreadsArchivedPrivateResult
- RESTGetAPIChannelThreadsArchivedPublicResult
- RESTGetAPIChannelThreadsResult
- RESTGetAPIChannelUsersThreadsArchivedResult
- RESTGetAPIChannelWebhooksResult
- RESTGetAPICurrentUserApplicationRoleConnectionResult
- RESTGetAPICurrentUserConnectionsResult
- RESTGetAPICurrentUserGuildsResult
- RESTGetAPICurrentUserResult
- RESTGetAPIEntitlementsResult
- RESTGetAPIGatewayBotResult
- RESTGetAPIGatewayResult
- RESTGetAPIGuildApplicationCommandsPermissionsResult
- RESTGetAPIGuildBanResult
- RESTGetAPIGuildBansResult
- RESTGetAPIGuildChannelsResult
- RESTGetAPIGuildEmojiResult
- RESTGetAPIGuildEmojisResult
- RESTGetAPIGuildIntegrationsResult
- RESTGetAPIGuildInvitesResult
- RESTGetAPIGuildMemberResult
- RESTGetAPIGuildMemberVerificationResult
- RESTGetAPIGuildMembersResult
- RESTGetAPIGuildMembersSearchResult
- RESTGetAPIGuildOnboardingResult
- RESTGetAPIGuildPreviewResult
- RESTGetAPIGuildResult
- RESTGetAPIGuildRoleResult
- RESTGetAPIGuildRolesResult
- RESTGetAPIGuildScheduledEventResult
- RESTGetAPIGuildScheduledEventUsersResult
- RESTGetAPIGuildScheduledEventsResult
- RESTGetAPIGuildSoundboardSoundResult
- RESTGetAPIGuildStickerResult
- RESTGetAPIGuildStickersResult
- RESTGetAPIGuildTemplatesResult
- RESTGetAPIGuildThreadsResult
- RESTGetAPIGuildVoiceRegionsResult
- RESTGetAPIGuildVoiceStateCurrentMemberResult
- RESTGetAPIGuildVoiceStateUserResult
- RESTGetAPIGuildWebhooksResult
- RESTGetAPIGuildWelcomeScreenResult
- RESTGetAPIGuildWidgetImageResult
- RESTGetAPIGuildWidgetJSONResult
- RESTGetAPIGuildWidgetSettingsResult
- RESTGetAPIInteractionFollowupResult
- RESTGetAPIInteractionOriginalResponseResult
- RESTGetAPIInviteResult
- RESTGetAPIOAuth2CurrentApplicationResult
- RESTGetAPISKUSubscriptionResult
- RESTGetAPISKUSubscriptionsResult
- RESTGetAPISKUsResult
- RESTGetAPISoundboardDefaultSoundsResult
- RESTGetAPIStageInstanceResult
- RESTGetAPIStickerPack
- RESTGetAPIStickerPackResult
- RESTGetAPIStickerResult
- RESTGetAPITemplateResult
- RESTGetAPIUserResult
- RESTGetAPIVoiceRegionsResult
- RESTGetAPIWebhookResult
- RESTGetAPIWebhookWithTokenMessageResult
- RESTGetAPIWebhookWithTokenResult
- RESTGetCurrentApplicationResult
- RESTGetCurrentUserGuildMemberResult
- RESTGetNitroStickerPacksResult
- RESTOAuth2AuthorizationQueryResult
- RESTOAuth2ImplicitAuthorizationURLFragmentResult
- RESTPatchAPIApplicationCommandJSONBody
- RESTPatchAPIApplicationCommandResult
- RESTPatchAPIApplicationEmojiJSONBody
- RESTPatchAPIApplicationEmojiResult
- RESTPatchAPIApplicationGuildCommandJSONBody
- RESTPatchAPIApplicationGuildCommandResult
- RESTPatchAPIAutoModerationRuleJSONBody
- RESTPatchAPIAutoModerationRuleResult
- RESTPatchAPIChannelMessageFormDataBody
- RESTPatchAPIChannelMessageResult
- RESTPatchAPIChannelResult
- RESTPatchAPICurrentGuildMemberNicknameResult
- RESTPatchAPICurrentUserResult
- RESTPatchAPIGuildChannelPositionsJSONBody
- RESTPatchAPIGuildChannelPositionsResult
- RESTPatchAPIGuildEmojiResult
- RESTPatchAPIGuildMemberResult
- RESTPatchAPIGuildMemberVerificationResult
- RESTPatchAPIGuildResult
- RESTPatchAPIGuildRolePositionsJSONBody
- RESTPatchAPIGuildRolePositionsResult
- RESTPatchAPIGuildRoleResult
- RESTPatchAPIGuildScheduledEventJSONBody
- RESTPatchAPIGuildScheduledEventResult
- RESTPatchAPIGuildSoundboardSoundResult
- RESTPatchAPIGuildStickerResult
- RESTPatchAPIGuildTemplateJSONBody
- RESTPatchAPIGuildTemplateResult
- RESTPatchAPIGuildVoiceStateCurrentMemberResult
- RESTPatchAPIGuildVoiceStateUserResult
- RESTPatchAPIGuildWelcomeScreenJSONBody
- RESTPatchAPIGuildWelcomeScreenResult
- RESTPatchAPIGuildWidgetSettingsJSONBody
- RESTPatchAPIGuildWidgetSettingsResult
- RESTPatchAPIInteractionFollowupFormDataBody
- RESTPatchAPIInteractionFollowupJSONBody
- RESTPatchAPIInteractionFollowupResult
- RESTPatchAPIInteractionOriginalResponseFormDataBody
- RESTPatchAPIInteractionOriginalResponseJSONBody
- RESTPatchAPIInteractionOriginalResponseResult
- RESTPatchAPIStageInstanceResult
- RESTPatchAPIWebhookResult
- RESTPatchAPIWebhookWithTokenJSONBody
- RESTPatchAPIWebhookWithTokenMessageFormDataBody
- RESTPatchAPIWebhookWithTokenMessageJSONBody
- RESTPatchAPIWebhookWithTokenMessageResult
- RESTPatchAPIWebhookWithTokenResult
- RESTPatchCurrentApplicationJSONBody
- RESTPatchCurrentApplicationResult
- RESTPostAPIApplicationCommandsJSONBody
- RESTPostAPIApplicationCommandsResult
- RESTPostAPIApplicationEmojiJSONBody
- RESTPostAPIApplicationEmojiResult
- RESTPostAPIApplicationGuildCommandsJSONBody
- RESTPostAPIApplicationGuildCommandsResult
- RESTPostAPIAutoModerationRuleResult
- RESTPostAPIChannelFollowersResult
- RESTPostAPIChannelInviteResult
- RESTPostAPIChannelMessageCrosspostResult
- RESTPostAPIChannelMessageFormDataBody
- RESTPostAPIChannelMessageResult
- RESTPostAPIChannelMessagesBulkDeleteResult
- RESTPostAPIChannelMessagesThreadsResult
- RESTPostAPIChannelThreadsResult
- RESTPostAPIChannelTypingResult
- RESTPostAPIChannelWebhookResult
- RESTPostAPICurrentUserCreateDMChannelResult
- RESTPostAPIEntitlementBody
- RESTPostAPIEntitlementConsumeResult
- RESTPostAPIEntitlementResult
- RESTPostAPIGuildChannelJSONBody
- RESTPostAPIGuildChannelResult
- RESTPostAPIGuildEmojiResult
- RESTPostAPIGuildForumThreadsFormDataBody
- RESTPostAPIGuildForumThreadsJSONBody
- RESTPostAPIGuildRoleResult
- RESTPostAPIGuildScheduledEventResult
- RESTPostAPIGuildSoundboardSoundResult
- RESTPostAPIGuildStickerResult
- RESTPostAPIGuildTemplatesResult
- RESTPostAPIGuildsMFAResult
- RESTPostAPIGuildsResult
- RESTPostAPIInteractionCallbackFormDataBody
- RESTPostAPIInteractionCallbackJSONBody
- RESTPostAPIInteractionCallbackResult
- RESTPostAPIInteractionFollowupFormDataBody
- RESTPostAPIInteractionFollowupJSONBody
- RESTPostAPIInteractionFollowupResult
- RESTPostAPIPollExpireResult
- RESTPostAPISendSoundboardSoundResult
- 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
- StorePageAssetFormat
- 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
APIApplicationIntegrationTypesConfigMap
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
APIAuditLogChangeKeyAvailableTags
Returned when a guild forum’s available tags gets 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
APIAuditLogChangeKeyDefaultReactionEmoji
Returned when a guild forum’s default reaction emoji gets changed
APIAuditLogChangeKeyDefaultThreadRateLimitPerUser
Returned when a thread’s amount of seconds a user has to wait before creating another thread gets 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
APIAuditLogChangeKeyEmojiId
Returned when a soundboard’s custom emoji is changed
APIAuditLogChangeKeyEmojiName
Returned when a soundboard’s unicode emoji 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
APIAuditLogChangeKeyFlags
Returned when a channel flag gets 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
APIAuditLogChangeKeyPremiumProgressBarEnabled
Returned when a guild’s boost progress bar is enabled
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
APIAuditLogChangeKeyRecurrenceRule
Returned when a guild scheduled event’s recurrence_rule 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 (
APIAuditLogChangeKeySoundId
Returned when a soundboard is create or deleted
APIAuditLogChangeKeySplashHash
Returned when a guild’s splash is changed
APIAuditLogChangeKeyStatus
Returned when status of a guild scheduled event is changed
APIAuditLogChangeKeySystemChannelFlags
Returned when a guild’s system_channel_flags 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
APIAuditLogChangeKeyUserId
Returned when a sounboard is 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
APIAuditLogChangeKeyVolume
Returned when a soundboard’s volume is changed
APIAuditLogChangeKeyWidgetChannelId
Returned when a guild’s widget_channel_id is changed
APIAuditLogChangeKeyWidgetEnabled
Returned when a guild’s widget is enabled
APIAuthorizingIntegrationOwnersMap
APIAutoPopulatedSelectMenuComponent
APIButtonComponent
APIChannel
APIChannelPatchOverwrite
APIChatInputApplicationCommandDMInteraction
APIChatInputApplicationCommandGuildInteraction
APIChatInputApplicationCommandInteraction
APIChatInputApplicationCommandInteractionDataResolved
APIContextMenuDMInteraction
APIContextMenuGuildInteraction
APIContextMenuInteraction
APIContextMenuInteractionData
APIDMInteraction
APIDMInteractionWrapper
Type parameters
- Original: APIBaseInteraction<InteractionType, unknown>
APIGuildCategoryChannel
APIGuildChannelResolvable
APIGuildCreateOverwrite
APIGuildCreatePartialChannel
APIGuildCreateRole
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
APIMessageInteractionMetadata
APIMessageReferenceSend
APIMessageSelectMenuInteractionData
APIMessageSnapshotFields
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
APIWebhookEvent
APIWebhookEventBody
APIWebhookEventEntitlementCreateData
APIWebhookEventQuestUserEnrollmentData
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
GatewayEntitlementCreateDispatch
GatewayEntitlementCreateDispatchData
GatewayEntitlementDeleteDispatch
GatewayEntitlementDeleteDispatchData
GatewayEntitlementModifyDispatch
GatewayEntitlementModifyDispatchData
GatewayEntitlementUpdateDispatch
GatewayEntitlementUpdateDispatchData
GatewayGuildAuditLogEntryCreateDispatch
GatewayGuildBanAddDispatch
GatewayGuildBanAddDispatchData
GatewayGuildBanModifyDispatch
GatewayGuildBanRemoveDispatch
GatewayGuildBanRemoveDispatchData
GatewayGuildCreateDispatch
GatewayGuildDeleteDispatch
GatewayGuildEmojisUpdateDispatch
GatewayGuildIntegrationsUpdateDispatch
GatewayGuildMemberAddDispatch
GatewayGuildMemberRemoveDispatch
GatewayGuildMemberUpdateDispatch
GatewayGuildMemberUpdateDispatchData
GatewayGuildMembersChunkDispatch
GatewayGuildMembersChunkPresence
GatewayGuildModifyDispatch
GatewayGuildModifyDispatchData
GatewayGuildRoleCreateDispatch
GatewayGuildRoleCreateDispatchData
GatewayGuildRoleDeleteDispatch
GatewayGuildRoleModifyDispatch
GatewayGuildRoleUpdateDispatch
GatewayGuildRoleUpdateDispatchData
GatewayGuildScheduledEventCreateDispatch
GatewayGuildScheduledEventCreateDispatchData
GatewayGuildScheduledEventDeleteDispatch
GatewayGuildScheduledEventDeleteDispatchData
GatewayGuildScheduledEventUpdateDispatch
GatewayGuildScheduledEventUpdateDispatchData
GatewayGuildScheduledEventUserAddDispatch
GatewayGuildScheduledEventUserRemoveDispatch
GatewayGuildSoundboardSoundCreateDispatch
GatewayGuildSoundboardSoundCreateDispatchData
GatewayGuildSoundboardSoundDeleteDispatch
GatewayGuildSoundboardSoundUpdateDispatch
GatewayGuildSoundboardSoundUpdateDispatchData
GatewayGuildSoundboardSoundsUpdateDispatch
GatewayGuildStickersUpdateDispatch
GatewayGuildUpdateDispatch
GatewayGuildUpdateDispatchData
GatewayHeartbeatData
GatewayIntegrationCreateDispatch
GatewayIntegrationCreateDispatchData
GatewayIntegrationDeleteDispatch
GatewayIntegrationUpdateDispatch
GatewayIntegrationUpdateDispatchData
GatewayInteractionCreateDispatch
GatewayInteractionCreateDispatchData
GatewayInvalidSessionData
GatewayInviteCreateDispatch
GatewayInviteDeleteDispatch
GatewayMessageCreateDispatch
GatewayMessageCreateDispatchData
GatewayMessageDeleteBulkDispatch
GatewayMessageDeleteDispatch
GatewayMessagePollVoteAddDispatch
GatewayMessagePollVoteRemoveDispatch
GatewayMessageReactionAddDispatch
GatewayMessageReactionAddDispatchData
GatewayMessageReactionRemoveAllDispatch
GatewayMessageReactionRemoveAllDispatchData
GatewayMessageReactionRemoveDispatch
GatewayMessageReactionRemoveDispatchData
GatewayMessageReactionRemoveEmojiDispatch
GatewayMessageUpdateDispatch
GatewayMessageUpdateDispatchData
GatewayPresenceUpdateDispatch
GatewayPresenceUpdateDispatchData
GatewayReadyDispatch
GatewayReceivePayload
GatewayRequestGuildMembersData
GatewayResumedDispatch
GatewaySendPayload
GatewaySoundboardSoundsDispatch
GatewayStageInstanceCreateDispatch
GatewayStageInstanceCreateDispatchData
GatewayStageInstanceDeleteDispatch
GatewayStageInstanceDeleteDispatchData
GatewayStageInstanceUpdateDispatch
GatewayStageInstanceUpdateDispatchData
GatewaySubscriptionCreateDispatch
GatewaySubscriptionCreateDispatchData
GatewaySubscriptionDeleteDispatch
GatewaySubscriptionDeleteDispatchData
GatewaySubscriptionModifyDispatch
GatewaySubscriptionModifyDispatchData
GatewaySubscriptionUpdateDispatch
GatewaySubscriptionUpdateDispatchData
GatewayThreadCreateDispatch
GatewayThreadDeleteDispatch
GatewayThreadListSyncDispatch
GatewayThreadListSyncDispatchData
GatewayThreadMemberUpdateDispatch
GatewayThreadMemberUpdateDispatchData
GatewayThreadMembersUpdateDispatch
GatewayThreadMembersUpdateDispatchData
GatewayThreadModifyDispatch
GatewayThreadUpdateDispatch
GatewayThreadUpdateDispatchData
GatewayTypingStartDispatch
GatewayUserUpdateDispatch
GatewayUserUpdateDispatchData
GatewayVoiceChannelEffectSendDispatch
GatewayVoiceServerUpdateDispatch
GatewayVoiceState
GatewayVoiceStateUpdateDispatch
GatewayVoiceStateUpdateDispatchData
GatewayWebhooksUpdateDispatch
GetAPIVoiceRegionsResult
GuildBannerFormat
GuildChannelType
GuildDiscoverySplashFormat
GuildIconFormat
GuildMemberAvatarFormat
GuildMemberBannerFormat
GuildScheduledEventCoverFormat
GuildSplashFormat
GuildTextChannelType
PartialAPIMessageInteractionGuildMember
PresenceUpdateReceiveStatus
RESTAPIAttachment
RESTAPIGuildChannelResolvable
RESTAPIGuildCreatePartialChannel
RESTAPIGuildOnboardingPrompt
RESTAPIGuildOnboardingPromptOption
RESTAPIMessageReference
RESTAPIModifyGuildOnboardingPromptData
RESTAPIModifyGuildOnboardingPromptOptionData
RESTAPIPollCreate
RESTDeleteAPIApplicationEmojiResult
RESTDeleteAPIAutoModerationRuleResult
RESTDeleteAPIChannelAllMessageReactionsResult
RESTDeleteAPIChannelMessageOwnReaction
RESTDeleteAPIChannelMessageOwnReactionResult
RESTDeleteAPIChannelMessageReactionResult
RESTDeleteAPIChannelMessageResult
RESTDeleteAPIChannelMessageUserReactionResult
RESTDeleteAPIChannelPermissionResult
RESTDeleteAPIChannelPinResult
RESTDeleteAPIChannelRecipientResult
RESTDeleteAPIChannelResult
RESTDeleteAPIChannelThreadMembersResult
RESTDeleteAPICurrentUserGuildResult
RESTDeleteAPIEntitlementResult
RESTDeleteAPIGuildBanResult
RESTDeleteAPIGuildEmojiResult
RESTDeleteAPIGuildIntegrationResult
RESTDeleteAPIGuildMemberResult
RESTDeleteAPIGuildMemberRoleResult
RESTDeleteAPIGuildResult
RESTDeleteAPIGuildRoleResult
RESTDeleteAPIGuildScheduledEventResult
RESTDeleteAPIGuildSoundboardSoundResult
RESTDeleteAPIGuildStickerResult
RESTDeleteAPIGuildTemplateResult
RESTDeleteAPIInteractionFollowupResult
RESTDeleteAPIInteractionOriginalResponseResult
RESTDeleteAPIInviteResult
RESTDeleteAPIStageInstanceResult
RESTDeleteAPIWebhookResult
RESTDeleteAPIWebhookWithTokenMessageResult
RESTDeleteAPIWebhookWithTokenResult
RESTGetAPIApplicationCommandPermissionsResult
RESTGetAPIApplicationCommandResult
RESTGetAPIApplicationCommandsResult
RESTGetAPIApplicationEmojiResult
RESTGetAPIApplicationGuildCommandResult
RESTGetAPIApplicationGuildCommandsQuery
RESTGetAPIApplicationGuildCommandsResult
RESTGetAPIApplicationRoleConnectionMetadataResult
RESTGetAPIAuditLogResult
RESTGetAPIAutoModerationRuleResult
RESTGetAPIAutoModerationRulesResult
RESTGetAPIChannelInvitesResult
RESTGetAPIChannelMessageReactionUsersResult
RESTGetAPIChannelMessageResult
RESTGetAPIChannelMessagesResult
RESTGetAPIChannelPinsResult
RESTGetAPIChannelResult
RESTGetAPIChannelThreadMemberResult
RESTGetAPIChannelThreadMembersResult
RESTGetAPIChannelThreadsArchivedPrivateResult
RESTGetAPIChannelThreadsArchivedPublicResult
RESTGetAPIChannelThreadsResult
RESTGetAPIChannelUsersThreadsArchivedResult
RESTGetAPIChannelWebhooksResult
RESTGetAPICurrentUserApplicationRoleConnectionResult
RESTGetAPICurrentUserConnectionsResult
RESTGetAPICurrentUserGuildsResult
RESTGetAPICurrentUserResult
RESTGetAPIEntitlementsResult
RESTGetAPIGatewayBotResult
RESTGetAPIGatewayResult
RESTGetAPIGuildApplicationCommandsPermissionsResult
RESTGetAPIGuildBanResult
RESTGetAPIGuildBansResult
RESTGetAPIGuildChannelsResult
RESTGetAPIGuildEmojiResult
RESTGetAPIGuildEmojisResult
RESTGetAPIGuildIntegrationsResult
RESTGetAPIGuildInvitesResult
RESTGetAPIGuildMemberResult
RESTGetAPIGuildMemberVerificationResult
RESTGetAPIGuildMembersResult
RESTGetAPIGuildMembersSearchResult
RESTGetAPIGuildOnboardingResult
RESTGetAPIGuildPreviewResult
RESTGetAPIGuildResult
RESTGetAPIGuildRoleResult
RESTGetAPIGuildRolesResult
RESTGetAPIGuildScheduledEventResult
RESTGetAPIGuildScheduledEventUsersResult
RESTGetAPIGuildScheduledEventsResult
RESTGetAPIGuildSoundboardSoundResult
RESTGetAPIGuildStickerResult
RESTGetAPIGuildStickersResult
RESTGetAPIGuildTemplatesResult
RESTGetAPIGuildThreadsResult
RESTGetAPIGuildVoiceRegionsResult
RESTGetAPIGuildVoiceStateCurrentMemberResult
RESTGetAPIGuildVoiceStateUserResult
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
RESTGetAPISKUSubscriptionResult
RESTGetAPISKUSubscriptionsResult
RESTGetAPISKUsResult
RESTGetAPISoundboardDefaultSoundsResult
RESTGetAPIStageInstanceResult
RESTGetAPIStickerPack
RESTGetAPIStickerPackResult
RESTGetAPIStickerResult
RESTGetAPITemplateResult
RESTGetAPIUserResult
RESTGetAPIVoiceRegionsResult
RESTGetAPIWebhookResult
RESTGetAPIWebhookWithTokenMessageResult
RESTGetAPIWebhookWithTokenResult
RESTGetCurrentApplicationResult
RESTGetCurrentUserGuildMemberResult
RESTGetNitroStickerPacksResult
RESTOAuth2AuthorizationQueryResult
RESTOAuth2ImplicitAuthorizationURLFragmentResult
RESTPatchAPIApplicationCommandJSONBody
RESTPatchAPIApplicationCommandResult
RESTPatchAPIApplicationEmojiJSONBody
RESTPatchAPIApplicationEmojiResult
RESTPatchAPIApplicationGuildCommandJSONBody
RESTPatchAPIApplicationGuildCommandResult
RESTPatchAPIAutoModerationRuleJSONBody
RESTPatchAPIAutoModerationRuleResult
RESTPatchAPIChannelMessageFormDataBody
RESTPatchAPIChannelMessageResult
RESTPatchAPIChannelResult
RESTPatchAPICurrentGuildMemberNicknameResult
RESTPatchAPICurrentUserResult
RESTPatchAPIGuildChannelPositionsJSONBody
RESTPatchAPIGuildChannelPositionsResult
RESTPatchAPIGuildEmojiResult
RESTPatchAPIGuildMemberResult
RESTPatchAPIGuildMemberVerificationResult
RESTPatchAPIGuildResult
RESTPatchAPIGuildRolePositionsJSONBody
RESTPatchAPIGuildRolePositionsResult
RESTPatchAPIGuildRoleResult
RESTPatchAPIGuildScheduledEventJSONBody
RESTPatchAPIGuildScheduledEventResult
RESTPatchAPIGuildSoundboardSoundResult
RESTPatchAPIGuildStickerResult
RESTPatchAPIGuildTemplateJSONBody
RESTPatchAPIGuildTemplateResult
RESTPatchAPIGuildVoiceStateCurrentMemberResult
RESTPatchAPIGuildVoiceStateUserResult
RESTPatchAPIGuildWelcomeScreenJSONBody
RESTPatchAPIGuildWelcomeScreenResult
RESTPatchAPIGuildWidgetSettingsJSONBody
RESTPatchAPIGuildWidgetSettingsResult
RESTPatchAPIInteractionFollowupFormDataBody
RESTPatchAPIInteractionFollowupJSONBody
RESTPatchAPIInteractionFollowupResult
RESTPatchAPIInteractionOriginalResponseFormDataBody
RESTPatchAPIInteractionOriginalResponseJSONBody
RESTPatchAPIInteractionOriginalResponseResult
RESTPatchAPIStageInstanceResult
RESTPatchAPIWebhookResult
RESTPatchAPIWebhookWithTokenJSONBody
RESTPatchAPIWebhookWithTokenMessageFormDataBody
RESTPatchAPIWebhookWithTokenMessageJSONBody
RESTPatchAPIWebhookWithTokenMessageResult
RESTPatchAPIWebhookWithTokenResult
RESTPatchCurrentApplicationJSONBody
RESTPatchCurrentApplicationResult
RESTPostAPIApplicationCommandsJSONBody
RESTPostAPIApplicationCommandsResult
RESTPostAPIApplicationEmojiJSONBody
RESTPostAPIApplicationEmojiResult
RESTPostAPIApplicationGuildCommandsJSONBody
RESTPostAPIApplicationGuildCommandsResult
RESTPostAPIAutoModerationRuleResult
RESTPostAPIChannelFollowersResult
RESTPostAPIChannelInviteResult
RESTPostAPIChannelMessageCrosspostResult
RESTPostAPIChannelMessageFormDataBody
RESTPostAPIChannelMessageResult
RESTPostAPIChannelMessagesBulkDeleteResult
RESTPostAPIChannelMessagesThreadsResult
RESTPostAPIChannelThreadsResult
RESTPostAPIChannelTypingResult
RESTPostAPIChannelWebhookResult
RESTPostAPICurrentUserCreateDMChannelResult
RESTPostAPIEntitlementBody
RESTPostAPIEntitlementConsumeResult
RESTPostAPIEntitlementResult
RESTPostAPIGuildChannelJSONBody
RESTPostAPIGuildChannelResult
RESTPostAPIGuildEmojiResult
RESTPostAPIGuildForumThreadsFormDataBody
RESTPostAPIGuildForumThreadsJSONBody
RESTPostAPIGuildRoleResult
RESTPostAPIGuildScheduledEventResult
RESTPostAPIGuildSoundboardSoundResult
RESTPostAPIGuildStickerResult
RESTPostAPIGuildTemplatesResult
RESTPostAPIGuildsMFAResult
RESTPostAPIGuildsResult
RESTPostAPIInteractionCallbackFormDataBody
RESTPostAPIInteractionCallbackJSONBody
RESTPostAPIInteractionCallbackResult
RESTPostAPIInteractionFollowupFormDataBody
RESTPostAPIInteractionFollowupJSONBody
RESTPostAPIInteractionFollowupResult
RESTPostAPIPollExpireResult
RESTPostAPISendSoundboardSoundResult
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
StorePageAssetFormat
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
Type parameters
- Format: AchievementIconFormat
Parameters
applicationId: string
achievementId: string
achievementIconHash: string
format: Format
Returns `/app-assets/${string}/achievements/${string}/icons/${string}.${Format}`
- GET
applicationAsset: function
Route for:
- GET
/app-assets/{application.id}/{application.asset_id}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: ApplicationAssetFormat
Parameters
applicationId: string
applicationAssetId: string
format: Format
Returns `/app-assets/${string}/${string}.${Format}`
- GET
applicationCover: function
Route for:
- GET
/app-icons/{application.id}/{application.cover_image}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: ApplicationCoverFormat
Parameters
applicationId: string
applicationCoverImage: string
format: Format
Returns `/app-icons/${string}/${string}.${Format}`
- GET
applicationIcon: function
Route for:
- GET
/app-icons/{application.id}/{application.icon}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: ApplicationIconFormat
Parameters
applicationId: string
applicationIcon: string
format: Format
Returns `/app-icons/${string}/${string}.${Format}`
- GET
avatarDecoration: function
Route for:
- GET
/avatar-decoration-presets/{avatar_decoration_data_asset}.png
This route supports the extension: PNG
Parameters
avatarDecorationDataAsset: string
Returns `/avatar-decoration-presets/${string}.png`
- 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
Type parameters
- Index: DefaultUserAvatarAssets
Parameters
index: Index
Returns `/embed/avatars/${Index}.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
Type parameters
- Format: EmojiFormat
Parameters
emojiId: string
format: Format
Returns `/emojis/${string}.${Format}`
- 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
Type parameters
- Format: GuildBannerFormat
Parameters
guildId: string
guildBanner: string
format: Format
Returns `/banners/${string}/${string}.${Format}`
- GET
guildDiscoverySplash: function
Route for:
- GET
/discovery-splashes/{guild.id}/{guild.discovery_splash}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: GuildDiscoverySplashFormat
Parameters
guildId: string
guildDiscoverySplash: string
format: Format
Returns `/discovery-splashes/${string}/${string}.${Format}`
- GET
guildIcon: function
Route for:
- GET
/icons/{guild.id}/{guild.icon}.{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
Type parameters
- Format: GuildIconFormat
Parameters
guildId: string
guildIcon: string
format: Format
Returns `/icons/${string}/${string}.${Format}`
- GET
guildMemberAvatar: function
Route for:
- GET
/guilds/{guild.id}/users/{user.id}/avatars/{guild_member.avatar}.{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
Type parameters
- Format: GuildMemberAvatarFormat
Parameters
guildId: string
userId: string
memberAvatar: string
format: Format
Returns `/guilds/${string}/users/${string}/avatars/${string}.${Format}`
- GET
guildMemberBanner: function
Route for:
- GET
/guilds/${guild.id}/users/${user.id}/banners/${guild_member.banner}.{png|jpeg|webp|gif}
This route supports the extensions: PNG, JPEG, WebP, GIF
Type parameters
- Format: GuildMemberBannerFormat
Parameters
guildId: string
userId: string
guildMemberBanner: string
format: Format
Returns `/guilds/${string}/users/${string}/banners/${string}.${Format}`
- GET
guildScheduledEventCover: function
Route for:
- GET
/guild-events/{guild_scheduled_event.id}/{guild_scheduled_event.image}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: GuildScheduledEventCoverFormat
Parameters
guildScheduledEventId: string
guildScheduledEventCoverImage: string
format: Format
Returns `/guild-events/${string}/${string}.${Format}`
- GET
guildSplash: function
Route for:
- GET
/splashes/{guild.id}/{guild.splash}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: GuildSplashFormat
Parameters
guildId: string
guildSplash: string
format: Format
Returns `/splashes/${string}/${string}.${Format}`
- GET
roleIcon: function
Route for:
- GET
/role-icons/{role.id}/{role.icon}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: RoleIconFormat
Parameters
roleId: string
roleIcon: string
format: Format
Returns `/role-icons/${string}/${string}.${Format}`
- GET
soundboardSound: function
Route for:
- GET
/soundboard-sounds/${sound.id}
Parameters
soundId: string
Returns `/soundboard-sounds/${string}`
- GET
sticker: function
Route for:
- GET
/stickers/{sticker.id}.{png|json}
This route supports the extensions: PNG, Lottie, GIF
Type parameters
- Format: StickerFormat
Parameters
stickerId: string
format: Format
Returns `/stickers/${string}.${Format}`
- GET
stickerPackBanner: function
Route for:
- GET
/app-assets/710982414301790216/store/{sticker_pack.banner.asset_id}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: StickerPackBannerFormat
Parameters
stickerPackBannerAssetId: string
format: Format
Returns `/app-assets/710982414301790216/store/${string}.${Format}`
- GET
storePageAsset: function
Route for:
- GET
/app-assets/${application.id}/store/${asset.id}.{png|jpeg|webp}}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: StorePageAssetFormat = PNG
Parameters
applicationId: string
assetId: string
format: Format = ...
Returns `/app-assets/${string}/store/${string}.${Format}`
- GET
teamIcon: function
Route for:
- GET
/team-icons/{team.id}/{team.icon}.{png|jpeg|webp}
This route supports the extensions: PNG, JPEG, WebP
Type parameters
- Format: TeamIconFormat
Parameters
teamId: string
teamIcon: string
format: Format
Returns `/team-icons/${string}/${string}.${Format}`
- GET
userAvatar: function
Route for:
- GET
/avatars/{user.id}/{user.avatar}.{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
Type parameters
- Format: UserAvatarFormat
Parameters
userId: string
userAvatar: string
format: Format
Returns `/avatars/${string}/${string}.${Format}`
- GET
userAvatarDecoration: function
Route for:
- GET
/avatar-decorations/{user.id}/{user.avatar_decoration}.png
This route supports the extension: PNG
Parameters
userId: string
userAvatarDecoration: string
Returns `/avatar-decorations/${string}/${string}.png`
- GET
userBanner: function
Route for:
- GET
/banners/{user.id}/{user.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
Type parameters
- Format: UserBannerFormat
Parameters
userId: string
userBanner: string
format: Format
Returns `/banners/${string}/${string}.${Format}`
- GET
constGatewayVersion
constOAuth2Routes
Type declaration
authorizationURL: https://discord.com/api/v9/oauth2/authorize
tokenRevocationURL: https://discord.com/api/v9/oauth2/token/revoke
tokenURL: https://discord.com/api/v9/oauth2/token
constRouteBases
Type declaration
api: https://discord.com/api/v9
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
applicationEmoji: function
Route for:
- GET
/applications/{application.id}/emojis/{emoji.id}
- PATCH
/applications/{application.id}/emojis/{emoji.id}
- DELETE
/applications/{application.id}/emojis/{emoji.id}
Parameters
applicationId: string
emojiId: string
Returns `/applications/${string}/emojis/${string}`
- GET
applicationEmojis: function
Route for:
- GET
/applications/{application.id}/emojis
- POST
/applications/{application.id}/emojis
Parameters
applicationId: string
Returns `/applications/${string}/emojis`
- 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
applicationRoleConnectionMetadata: function
Route for:
- GET
/applications/{application.id}/role-connections/metadata
- PUT
/applications/{application.id}/role-connections/metadata
Parameters
applicationId: string
Returns `/applications/${string}/role-connections/metadata`
- 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
channelJoinedArchivedThreads: function
Route for:
- GET
/channels/{channel.id}/users/@me/threads/archived/private
Parameters
channelId: string
Returns `/channels/${string}/users/@me/threads/archived/private`
- 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
channelThreads: function
Route for:
- GET
/channels/{channel.id}/threads/active
(deprecated, removed in API v10, use List Active Guild Threads instead.) - GET
/channels/{channel.id}/threads/archived/public
- GET
/channels/{channel.id}/threads/archived/private
Parameters
channelId: string
optionalarchived: private | public
Returns `/channels/${string}/threads/archived/private` | `/channels/${string}/threads/archived/public` | `/channels/${string}/threads/active`
- GET
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
consumeEntitlement: function
Route for:
- POST
/applications/{application.id}/entitlements/{entitlement.id}/consume
Parameters
applicationId: string
entitlementId: string
Returns `/applications/${string}/entitlements/${string}/consume`
- POST
currentApplication: function
Route for:
- GET
/applications/@me
- PATCH
/applications/@me
Returns /applications/@me
- GET
entitlement: function
Route for:
- DELETE
/applications/{application.id}/entitlements/{entitlement.id}
Parameters
applicationId: string
entitlementId: string
Returns `/applications/${string}/entitlements/${string}`
- DELETE
entitlements: function
Route for:
- GET
/applications/{application.id}/entitlements
- POST
/applications/{application.id}/entitlements
Parameters
applicationId: string
Returns `/applications/${string}/entitlements`
- GET
expirePoll: function
Route for:
- POST
/channels/{channel.id}/polls/{message.id}/expire
Parameters
channelId: string
messageId: string
Returns `/channels/${string}/polls/${string}/expire`
- POST
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
guildActiveThreads: function
Route for:
- GET
/guilds/{guild.id}/threads/active
Parameters
guildId: string
Returns `/guilds/${string}/threads/active`
- 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
guildAutoModerationRule: function
Routes for:
- GET
/guilds/{guild.id}/auto-moderation/rules/{rule.id}
- PATCH
/guilds/{guild.id}/auto-moderation/rules/{rule.id}
- DELETE
/guilds/{guild.id}/auto-moderation/rules/{rule.id}
Parameters
guildId: string
ruleId: string
Returns `/guilds/${string}/auto-moderation/rules/${string}`
- GET
guildAutoModerationRules: function
Route for:
- GET
/guilds/{guild.id}/auto-moderation/rules
- POST
/guilds/{guild.id}/auto-moderation/rules
Parameters
guildId: string
Returns `/guilds/${string}/auto-moderation/rules`
- 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
guildBulkBan: function
Route for:
- POST
/guilds/{guild.id}/bulk-ban
Parameters
guildId: string
Returns `/guilds/${string}/bulk-ban`
- POST
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
guildMFA: function
Route for:
- POST
/guilds/{guild.id}/mfa
Parameters
guildId: string
Returns `/guilds/${string}/mfa`
- POST
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
guildOnboarding: function
Route for:
- GET
/guilds/{guild.id}/onboarding
- PUT
/guilds/{guild.id}/onboarding
Parameters
guildId: string
Returns `/guilds/${string}/onboarding`
- 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:
- GET
/guilds/{guild.id}/roles/{role.id}
- PATCH
/guilds/{guild.id}/roles/{role.id}
- DELETE
/guilds/{guild.id}/roles/{role.id}
Parameters
guildId: string
roleId: string
Returns `/guilds/${string}/roles/${string}`
- GET
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 `/guilds/${string}/scheduled-events/${string}`
- GET
guildScheduledEventUsers: function
Route for:
- GET
/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}/users
Parameters
guildId: string
guildScheduledEventId: string
Returns `/guilds/${string}/scheduled-events/${string}/users`
- GET
guildScheduledEvents: function
Route for:
- GET
/guilds/{guild.id}/scheduled-events
- POST
/guilds/{guild.id}/scheduled-events
Parameters
guildId: string
Returns `/guilds/${string}/scheduled-events`
- GET
guildSoundboardSound: function
Route for:
- GET
/guilds/{guild.id}/soundboard-sounds/{sound.id}
- PATCH
/guilds/{guild.id}/soundboard-sounds/{sound.id}
- DELETE
/guilds/{guild.id}/soundboard-sounds/{sound.id}
Parameters
guildId: string
soundId: string
Returns `/guilds/${string}/soundboard-sounds/${string}`
- GET
guildSoundboardSounds: function
Route for:
- GET
/guilds/{guild.id}/soundboard-sounds
- POST
/guilds/{guild.id}/soundboard-sounds
Parameters
guildId: string
Returns `/guilds/${string}/soundboard-sounds`
- 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:
- GET
/guilds/{guild.id}/voice-states/@me
- GET
/guilds/{guild.id}/voice-states/{user.id}
- 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}`
- GET
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
pollAnswerVoters: function
Route for:
- GET
/channels/{channel.id}/polls/{message.id}/answers/{answer_id}
Parameters
channelId: string
messageId: string
answerId: number
Returns `/channels/${string}/polls/${string}/answers/${number}`
- GET
sendSoundboardSound: function
Route for:
- POST
/channels/{channel.id}/send-soundboard-sound
Parameters
channelId: string
Returns `/channels/${string}/send-soundboard-sound`
- POST
skuSubscription: function
Route for:
- GET
/skus/{sku.id}/subscriptions/{subscription.id}
Parameters
skuId: string
subscriptionId: string
Returns `/skus/${string}/subscriptions/${string}`
- GET
skuSubscriptions: function
Route for:
- GET
/skus/{sku.id}/subscriptions
Parameters
skuId: string
Returns `/skus/${string}/subscriptions`
- GET
skus: function
Route for:
- GET
/applications/{application.id}/skus
Parameters
applicationId: string
Returns `/applications/${string}/skus`
- GET
soundboardDefaultSounds: function
Route for:
- GET
/soundboard-default-sounds
Returns /soundboard-default-sounds
- GET
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
stickerPack: function
Route for:
- GET
/sticker-packs/{pack.id}
Parameters
packId: string
Returns `/sticker-packs/${string}`
- GET
stickerPacks: function
Route for:
- GET
/sticker-packs
Returns /sticker-packs
- GET
template: function
Route for:
- GET
/guilds/templates/{template.code}
- POST
/guilds/templates/{template.code}
Parameters
code: string
Returns `/guilds/templates/${string}`
- GET
threadMembers: function
Route for:
- GET
/channels/{thread.id}/thread-members
- GET
/channels/{thread.id}/thread-members/{user.id}
- PUT
/channels/{thread.id}/thread-members/@me
- PUT
/channels/{thread.id}/thread-members/{user.id}
- DELETE
/channels/{thread.id}/thread-members/@me
- DELETE
/channels/{thread.id}/thread-members/{user.id}
Parameters
threadId: string
optionaluserId: string
Returns `/channels/${string}/thread-members/${string}` | `/channels/${string}/thread-members`
- GET
threads: function
Route for:
- POST
/channels/{channel.id}/threads
- POST
/channels/{channel.id}/messages/{message.id}/threads
Parameters
parentId: string
optionalmessageId: string
Returns `/channels/${string}/messages/${string}/threads` | `/channels/${string}/threads`
- POST
user: function
Route for:
- GET
/users/@me
- GET
/users/{user.id}
- PATCH
/users/@me
Parameters
userId: string = '@me'
Returns `/users/${string}`
- GET
userApplicationRoleConnection: function
Route for:
- GET
/users/@me/applications/{application.id}/role-connection
- PUT
/users/@me/applications/{application.id}/role-connection
Parameters
applicationId: string
Returns `/users/@me/applications/${string}/role-connection`
- 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}/${string}` | `/webhooks/${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
https://discord.com/developers/docs/interactions/receiving-and-responding#interaction-object