RoutesDeclarations
Index
Methods
- applicationCommand
- applicationCommandPermissions
- applicationCommands
- applicationEmoji
- applicationEmojis
- applicationGuildCommand
- applicationGuildCommands
- applicationRoleConnectionMetadata
- channel
- channelBulkDelete
- channelFollowers
- channelInvites
- channelJoinedArchivedThreads
- channelMessage
- channelMessageAllReactions
- channelMessageCrosspost
- channelMessageOwnReaction
- channelMessageReaction
- channelMessages
- channelMessagesPin
- channelMessagesPins
- channelMessageUserReaction
- channelPermission
- channelPin
- channelPins
- channelRecipient
- channelThreads
- channelTyping
- channelWebhooks
- consumeEntitlement
- currentApplication
- entitlement
- entitlements
- expirePoll
- gateway
- gatewayBot
- guild
- guildActiveThreads
- guildApplicationCommandsPermissions
- guildAuditLog
- guildAutoModerationRule
- guildAutoModerationRules
- guildBan
- guildBans
- guildBulkBan
- guildChannels
- guildCurrentMemberNickname
- guildEmoji
- guildEmojis
- guildIncidentActions
- guildIntegration
- guildIntegrations
- guildInvites
- guildMember
- guildMemberRole
- guildMembers
- guildMembersSearch
- guildMemberVerification
- guildMFA
- guildOnboarding
- guildPreview
- guildPrune
- guildRole
- guildRoles
- guilds
- guildScheduledEvent
- guildScheduledEvents
- guildScheduledEventUsers
- guildSoundboardSound
- guildSoundboardSounds
- guildSticker
- guildStickers
- guildTemplate
- guildTemplates
- guildVanityUrl
- guildVoiceRegions
- guildVoiceState
- guildWebhooks
- guildWelcomeScreen
- guildWidgetImage
- guildWidgetJSON
- guildWidgetSettings
- interactionCallback
- invite
- nitroStickerPacks
- oauth2Authorization
- oauth2CurrentApplication
- oauth2CurrentAuthorization
- oauth2TokenExchange
- oauth2TokenRevocation
- pollAnswerVoters
- sendSoundboardSound
- skus
- skuSubscription
- skuSubscriptions
- soundboardDefaultSounds
- stageInstance
- stageInstances
- sticker
- stickerPack
- stickerPacks
- template
- threadMembers
- threads
- user
- userApplicationRoleConnection
- userChannels
- userConnections
- userGuild
- userGuildMember
- userGuilds
- voiceRegions
- webhook
- webhookMessage
- webhookPlatform
Methods
applicationCommand
Parameters
applicationId: string
commandId: string
Returns `/applications/${string}/commands/${string}`
applicationCommandPermissions
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
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
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
Route for:
- GET
/applications/{application.id}/emojis
- POST
/applications/{application.id}/emojis
Parameters
applicationId: string
Returns `/applications/${string}/emojis`
- GET
applicationGuildCommand
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
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
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
Route for:
- GET
/channels/{channel.id}
- PATCH
/channels/{channel.id}
- DELETE
/channels/{channel.id}
Parameters
channelId: string
Returns `/channels/${string}`
- GET
channelBulkDelete
Route for:
- POST
/channels/{channel.id}/messages/bulk-delete
Parameters
channelId: string
Returns `/channels/${string}/messages/bulk-delete`
- POST
channelFollowers
Route for:
- POST
/channels/{channel.id}/followers
Parameters
channelId: string
Returns `/channels/${string}/followers`
- POST
channelInvites
Route for:
- GET
/channels/{channel.id}/invites
- POST
/channels/{channel.id}/invites
Parameters
channelId: string
Returns `/channels/${string}/invites`
- GET
channelJoinedArchivedThreads
Route for:
- GET
/channels/{channel.id}/users/@me/threads/archived/private
Parameters
channelId: string
Returns `/channels/${string}/users/@me/threads/archived/private`
- GET
channelMessage
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
Route for:
- DELETE
/channels/{channel.id}/messages/{message.id}/reactions
Parameters
channelId: string
messageId: string
Returns `/channels/${string}/messages/${string}/reactions`
- DELETE
channelMessageCrosspost
Route for:
- POST
/channels/{channel.id}/messages/{message.id}/crosspost
Parameters
channelId: string
messageId: string
Returns `/channels/${string}/messages/${string}/crosspost`
- POST
channelMessageOwnReaction
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
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
channelMessages
Route for:
- GET
/channels/{channel.id}/messages
- POST
/channels/{channel.id}/messages
Parameters
channelId: string
Returns `/channels/${string}/messages`
- GET
channelMessagesPin
Route for:
- PUT
/channels/{channel.id}/messages/pins/{message.id}
- DELETE
/channels/{channel.id}/messages/pins/{message.id}
Parameters
channelId: string
messageId: string
Returns `/channels/${string}/messages/pins/${string}`
- PUT
channelMessagesPins
Route for:
- GET
/channels/{channel.id}/messages/pins
Parameters
channelId: string
Returns `/channels/${string}/messages/pins`
- GET
channelMessageUserReaction
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
channelPermission
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
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
Route for:
- GET
/channels/{channel.id}/pins
Parameters
channelId: string
Returns `/channels/${string}/pins`
- GET
channelRecipient
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
Route for:
- GET
/channels/{channel.id}/threads/archived/public
- GET
/channels/{channel.id}/threads/archived/private
Parameters
channelId: string
archivedStatus: private | public
Returns `/channels/${string}/threads/archived/private` | `/channels/${string}/threads/archived/public`
- GET
channelTyping
Route for:
- POST
/channels/{channel.id}/typing
Parameters
channelId: string
Returns `/channels/${string}/typing`
- POST
channelWebhooks
Route for:
- GET
/channels/{channel.id}/webhooks
- POST
/channels/{channel.id}/webhooks
Parameters
channelId: string
Returns `/channels/${string}/webhooks`
- GET
consumeEntitlement
Route for:
- POST
/applications/{application.id}/entitlements/{entitlement.id}/consume
Parameters
applicationId: string
entitlementId: string
Returns `/applications/${string}/entitlements/${string}/consume`
- POST
currentApplication
Route for:
- GET
/applications/@me
- PATCH
/applications/@me
Returns /applications/@me
- GET
entitlement
Route for:
- GET
/applications/{application.id}/entitlements/{entitlement.id}
- DELETE
/applications/{application.id}/entitlements/{entitlement.id}
Parameters
applicationId: string
entitlementId: string
Returns `/applications/${string}/entitlements/${string}`
- GET
entitlements
Route for:
- GET
/applications/{application.id}/entitlements
- POST
/applications/{application.id}/entitlements
Parameters
applicationId: string
Returns `/applications/${string}/entitlements`
- GET
expirePoll
Route for:
- POST
/channels/{channel.id}/polls/{message.id}/expire
Parameters
channelId: string
messageId: string
Returns `/channels/${string}/polls/${string}/expire`
- POST
gateway
Route for:
- GET
/gateway
Returns /gateway
- GET
gatewayBot
Route for:
- GET
/gateway/bot
Returns /gateway/bot
- GET
guild
Route for:
- GET
/guilds/{guild.id}
- PATCH
/guilds/{guild.id}
- DELETE
/guilds/{guild.id}
Parameters
guildId: string
Returns `/guilds/${string}`
- GET
guildActiveThreads
Route for:
- GET
/guilds/{guild.id}/threads/active
Parameters
guildId: string
Returns `/guilds/${string}/threads/active`
- GET
guildApplicationCommandsPermissions
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
Route for:
- GET
/guilds/{guild.id}/audit-logs
Parameters
guildId: string
Returns `/guilds/${string}/audit-logs`
- GET
guildAutoModerationRule
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
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
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
Route for:
- GET
/guilds/{guild.id}/bans
Parameters
guildId: string
Returns `/guilds/${string}/bans`
- GET
guildBulkBan
Route for:
- POST
/guilds/{guild.id}/bulk-ban
Parameters
guildId: string
Returns `/guilds/${string}/bulk-ban`
- POST
guildChannels
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
Route for:
- PATCH
/guilds/{guild.id}/members/@me/nick
Parameters
guildId: string
Returns `/guilds/${string}/members/@me/nick`
- PATCH
guildEmoji
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
Route for:
- GET
/guilds/{guild.id}/emojis
- POST
/guilds/{guild.id}/emojis
Parameters
guildId: string
Returns `/guilds/${string}/emojis`
- GET
guildIncidentActions
Route for:
- PUT
/guilds/${guild.id}/incident-actions
Parameters
guildId: string
Returns `/guilds/${string}/incident-actions`
- PUT
guildIntegration
Route for:
- DELETE
/guilds/{guild.id}/integrations/{integration.id}
Parameters
guildId: string
integrationId: string
Returns `/guilds/${string}/integrations/${string}`
- DELETE
guildIntegrations
Route for:
- GET
/guilds/{guild.id}/integrations
Parameters
guildId: string
Returns `/guilds/${string}/integrations`
- GET
guildInvites
Route for:
- GET
/guilds/{guild.id}/invites
Parameters
guildId: string
Returns `/guilds/${string}/invites`
- GET
guildMember
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
optionaluserId: string
Returns `/guilds/${string}/members/${string}`
- GET
guildMemberRole
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
guildMembers
Route for:
- GET
/guilds/{guild.id}/members
Parameters
guildId: string
Returns `/guilds/${string}/members`
- GET
guildMembersSearch
Route for:
- GET
/guilds/{guild.id}/members/search
Parameters
guildId: string
Returns `/guilds/${string}/members/search`
- GET
guildMemberVerification
Route for:
- GET
/guilds/{guild.id}/member-verification
- PATCH
/guilds/{guild.id}/member-verification
Parameters
guildId: string
Returns `/guilds/${string}/member-verification`
- GET
guildMFA
Route for:
- POST
/guilds/{guild.id}/mfa
Parameters
guildId: string
Returns `/guilds/${string}/mfa`
- POST
guildOnboarding
Route for:
- GET
/guilds/{guild.id}/onboarding
- PUT
/guilds/{guild.id}/onboarding
Parameters
guildId: string
Returns `/guilds/${string}/onboarding`
- GET
guildPreview
Route for:
- GET
/guilds/{guild.id}/preview
Parameters
guildId: string
Returns `/guilds/${string}/preview`
- GET
guildPrune
Route for:
- GET
/guilds/{guild.id}/prune
- POST
/guilds/{guild.id}/prune
Parameters
guildId: string
Returns `/guilds/${string}/prune`
- GET
guildRole
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
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
guilds
Route for:
- POST
/guilds
Returns /guilds
- POST
guildScheduledEvent
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
guildScheduledEvents
Route for:
- GET
/guilds/{guild.id}/scheduled-events
- POST
/guilds/{guild.id}/scheduled-events
Parameters
guildId: string
Returns `/guilds/${string}/scheduled-events`
- GET
guildScheduledEventUsers
Route for:
- GET
/guilds/{guild.id}/scheduled-events/{guildScheduledEvent.id}/users
Parameters
guildId: string
guildScheduledEventId: string
Returns `/guilds/${string}/scheduled-events/${string}/users`
- GET
guildSoundboardSound
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
Route for:
- GET
/guilds/{guild.id}/soundboard-sounds
- POST
/guilds/{guild.id}/soundboard-sounds
Parameters
guildId: string
Returns `/guilds/${string}/soundboard-sounds`
- GET
guildSticker
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
Route for:
- GET
/guilds/{guild.id}/stickers
- POST
/guilds/{guild.id}/stickers
Parameters
guildId: string
Returns `/guilds/${string}/stickers`
- GET
guildTemplate
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
Route for:
- GET
/guilds/{guild.id}/templates
- POST
/guilds/{guild.id}/templates
Parameters
guildId: string
Returns `/guilds/${string}/templates`
- GET
guildVanityUrl
Route for:
- GET
/guilds/{guild.id}/vanity-url
Parameters
guildId: string
Returns `/guilds/${string}/vanity-url`
- GET
guildVoiceRegions
Route for:
- GET
/guilds/{guild.id}/regions
Parameters
guildId: string
Returns `/guilds/${string}/regions`
- GET
guildVoiceState
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
optionaluserId: string
Returns `/guilds/${string}/voice-states/${string}`
- GET
guildWebhooks
Route for:
- GET
/guilds/{guild.id}/webhooks
Parameters
guildId: string
Returns `/guilds/${string}/webhooks`
- GET
guildWelcomeScreen
Route for:
- GET
/guilds/{guild.id}/welcome-screen
- PATCH
/guilds/{guild.id}/welcome-screen
Parameters
guildId: string
Returns `/guilds/${string}/welcome-screen`
- GET
guildWidgetImage
Route for:
- GET
/guilds/{guild.id}/widget.png
Parameters
guildId: string
Returns `/guilds/${string}/widget.png`
- GET
guildWidgetJSON
Route for:
- GET
/guilds/{guild.id}/widget.json
Parameters
guildId: string
Returns `/guilds/${string}/widget.json`
- GET
guildWidgetSettings
Route for:
- GET
/guilds/{guild.id}/widget
- PATCH
/guilds/{guild.id}/widget
Parameters
guildId: string
Returns `/guilds/${string}/widget`
- GET
interactionCallback
Route for:
- POST
/interactions/{interaction.id}/{interaction.token}/callback
Parameters
interactionId: string
interactionToken: string
Returns `/interactions/${string}/${string}/callback`
- POST
invite
Route for:
- GET
/invites/{invite.code}
- DELETE
/invites/{invite.code}
Parameters
code: string
Returns `/invites/${string}`
- GET
nitroStickerPacks
Route for:
- GET
/sticker-packs
Returns /sticker-packs
- GET
oauth2Authorization
Route for:
- GET
/oauth2/authorize
Returns /oauth2/authorize
- GET
oauth2CurrentApplication
Route for:
- GET
/oauth2/applications/@me
Returns /oauth2/applications/@me
- GET
oauth2CurrentAuthorization
Route for:
- GET
/oauth2/@me
Returns /oauth2/@me
- GET
oauth2TokenExchange
Route for:
- POST
/oauth2/token
Returns /oauth2/token
- POST
oauth2TokenRevocation
Route for:
- POST
/oauth2/token/revoke
Returns /oauth2/token/revoke
- POST
pollAnswerVoters
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
Route for:
- POST
/channels/{channel.id}/send-soundboard-sound
Parameters
channelId: string
Returns `/channels/${string}/send-soundboard-sound`
- POST
skus
Route for:
- GET
/applications/{application.id}/skus
Parameters
applicationId: string
Returns `/applications/${string}/skus`
- GET
skuSubscription
Route for:
- GET
/skus/{sku.id}/subscriptions/{subscription.id}
Parameters
skuId: string
subscriptionId: string
Returns `/skus/${string}/subscriptions/${string}`
- GET
skuSubscriptions
Route for:
- GET
/skus/{sku.id}/subscriptions
Parameters
skuId: string
Returns `/skus/${string}/subscriptions`
- GET
soundboardDefaultSounds
Route for:
- GET
/soundboard-default-sounds
Returns /soundboard-default-sounds
- GET
stageInstance
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
Route for:
- POST
/stage-instances
Returns /stage-instances
- POST
sticker
Route for:
- GET
/stickers/{sticker.id}
Parameters
stickerId: string
Returns `/stickers/${string}`
- GET
stickerPack
Route for:
- GET
/sticker-packs/{pack.id}
Parameters
packId: string
Returns `/sticker-packs/${string}`
- GET
stickerPacks
Route for:
- GET
/sticker-packs
Returns /sticker-packs
- GET
template
Route for:
- GET
/guilds/templates/{template.code}
- POST
/guilds/templates/{template.code}
Parameters
code: string
Returns `/guilds/templates/${string}`
- GET
threadMembers
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
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
Route for:
- GET
/users/@me
- GET
/users/{user.id}
- PATCH
/users/@me
Parameters
optionaluserId: string
The user ID, defaulted to
@me
Returns `/users/${string}`
- GET
userApplicationRoleConnection
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
Route for:
- POST
/users/@me/channels
Returns /users/@me/channels
- POST
userConnections
Route for:
- GET
/users/@me/connections
Returns /users/@me/connections
- GET
userGuild
Route for:
- DELETE
/users/@me/guilds/{guild.id}
Parameters
guildId: string
Returns `/users/@me/guilds/${string}`
- DELETE
userGuildMember
Route for:
- GET
/users/@me/guilds/{guild.id}/member
Parameters
guildId: string
Returns `/users/@me/guilds/${string}/member`
- GET
userGuilds
Route for:
- GET
/users/@me/guilds
Returns /users/@me/guilds
- GET
voiceRegions
Route for:
- GET
/voice/regions
Returns /voice/regions
- GET
webhook
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
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
optionalmessageId: string
Returns `/webhooks/${string}/${string}/messages/${string}`
- GET
webhookPlatform
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
Route for:
/applications/{application.id}/commands/{command.id}
/applications/{application.id}/commands/{command.id}
/applications/{application.id}/commands/{command.id}