Endpoints
constEndpoints:object
Defined in: api/endpoints.ts:3
Type Declaration
Section titled “Type Declaration”applicationCommand()
Section titled “applicationCommand()”applicationCommand: (
applicationId,commandId) =>`/applications/${string}/commands/${string}`
- GET
- PUT
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
commandId
Section titled “commandId”string
Returns
Section titled “Returns”`/applications/${string}/commands/${string}`
applicationCommandPermissions()
Section titled “applicationCommandPermissions()”applicationCommandPermissions: (
applicationId,guildId,commandId) =>`/applications/${string}/guilds/${string}/commands/${string}/permissions`
- GET
- PUT
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
guildId
Section titled “guildId”string
commandId
Section titled “commandId”string
Returns
Section titled “Returns”`/applications/${string}/guilds/${string}/commands/${string}/permissions`
applicationCommands()
Section titled “applicationCommands()”applicationCommands: (
applicationId) =>`/applications/${string}/commands`
- GET
- PUT
- POST
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
Returns
Section titled “Returns”`/applications/${string}/commands`
applicationEmoji()
Section titled “applicationEmoji()”applicationEmoji: (
applicationId,emojiId) =>`/applications/${string}/emojis/${string}`
- GET
- PUT
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
emojiId
Section titled “emojiId”string
Returns
Section titled “Returns”`/applications/${string}/emojis/${string}`
applicationEmojis()
Section titled “applicationEmojis()”applicationEmojis: (
applicationId) =>`/applications/${string}/emojis`
- GET
- POST
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
Returns
Section titled “Returns”`/applications/${string}/emojis`
applicationGuildCommand()
Section titled “applicationGuildCommand()”applicationGuildCommand: (
applicationId,guildId,commandId) =>`/applications/${string}/guilds/${string}/commands/${string}`
- GET
- PUT
- POST
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
guildId
Section titled “guildId”string
commandId
Section titled “commandId”string
Returns
Section titled “Returns”`/applications/${string}/guilds/${string}/commands/${string}`
applicationGuildCommands()
Section titled “applicationGuildCommands()”applicationGuildCommands: (
applicationId,guildId) =>`/applications/${string}/guilds/${string}/commands`
- GET
- PUT
- POST
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/applications/${string}/guilds/${string}/commands`
applicationRoleConnectionMetadata()
Section titled “applicationRoleConnectionMetadata()”applicationRoleConnectionMetadata: (
applicationId) =>`/applications/${string}/role-connections/metadata`
- GET
- PUT
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
Returns
Section titled “Returns”`/applications/${string}/role-connections/metadata`
channel()
Section titled “channel()”channel: (
channelId) =>`/channels/${string}`
- GET
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}`
channelBulkDelete()
Section titled “channelBulkDelete()”channelBulkDelete: (
channelId) =>`/channels/${string}/messages/bulk-delete`
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/messages/bulk-delete`
channelFollowers()
Section titled “channelFollowers()”channelFollowers: (
channelId) =>`/channels/${string}/followers`
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/followers`
channelInvites()
Section titled “channelInvites()”channelInvites: (
channelId) =>`/channels/${string}/invites`
- GET
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/invites`
channelJoinedArchivedThreads()
Section titled “channelJoinedArchivedThreads()”channelJoinedArchivedThreads: (
channelId) =>`/channels/${string}/users/@me/threads/archived/private`
- GET
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/users/@me/threads/archived/private`
channelMessage()
Section titled “channelMessage()”channelMessage: (
channelId,messageId) =>`/channels/${string}/messages/${string}`
- GET
- PATCH
- DELETE
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
Returns
Section titled “Returns”`/channels/${string}/messages/${string}`
channelMessageAllReactions()
Section titled “channelMessageAllReactions()”channelMessageAllReactions: (
channelId,messageId) =>`/channels/${string}/messages/${string}/reactions`
- DELETE
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
Returns
Section titled “Returns”`/channels/${string}/messages/${string}/reactions`
channelMessageCrosspost()
Section titled “channelMessageCrosspost()”channelMessageCrosspost: (
channelId,messageId) =>`/channels/${string}/messages/${string}/crosspost`
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
Returns
Section titled “Returns”`/channels/${string}/messages/${string}/crosspost`
channelMessageOwnReaction()
Section titled “channelMessageOwnReaction()”channelMessageOwnReaction: (
channelId,messageId,emoji) =>`/channels/${string}/messages/${string}/reactions/${string}/@me`
- PUT
- DELETE
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
string
Returns
Section titled “Returns”`/channels/${string}/messages/${string}/reactions/${string}/@me`
channelMessageReaction()
Section titled “channelMessageReaction()”channelMessageReaction: (
channelId,messageId,emoji) =>`/channels/${string}/messages/${string}/reactions/${string}`
- GET
- DELETE
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
string
Returns
Section titled “Returns”`/channels/${string}/messages/${string}/reactions/${string}`
channelMessages()
Section titled “channelMessages()”channelMessages: (
channelId) =>`/channels/${string}/messages`
- GET
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/messages`
channelMessagesPin()
Section titled “channelMessagesPin()”channelMessagesPin: (
channelId,messageId) =>`/channels/${string}/messages/pins/${string}`
- PUT
- DELETE
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
Returns
Section titled “Returns”`/channels/${string}/messages/pins/${string}`
channelMessagesPins()
Section titled “channelMessagesPins()”channelMessagesPins: (
channelId) =>`/channels/${string}/messages/pins`
- GET
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/messages/pins`
channelMessageUserReaction()
Section titled “channelMessageUserReaction()”channelMessageUserReaction: (
channelId,messageId,emoji,userId) =>`/channels/${string}/messages/${string}/reactions/${string}/${string}`
- DELETE
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
string
userId
Section titled “userId”string
Returns
Section titled “Returns”`/channels/${string}/messages/${string}/reactions/${string}/${string}`
channelPermission()
Section titled “channelPermission()”channelPermission: (
channelId,overwriteId) =>`/channels/${string}/permissions/${string}`
- PUT
- DELETE
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
overwriteId
Section titled “overwriteId”string
Returns
Section titled “Returns”`/channels/${string}/permissions/${string}`
channelPin()
Section titled “channelPin()”channelPin: (
channelId,messageId) =>`/channels/${string}/pins/${string}`
- PUT
- DELETE
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
Returns
Section titled “Returns”`/channels/${string}/pins/${string}`
channelPins()
Section titled “channelPins()”channelPins: (
channelId) =>`/channels/${string}/pins`
- GET
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/pins`
channelRecipient()
Section titled “channelRecipient()”channelRecipient: (
channelId,userId) =>`/channels/${string}/recipients/${string}`
- PUT
- DELETE
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
userId
Section titled “userId”string
Returns
Section titled “Returns”`/channels/${string}/recipients/${string}`
channelThreads()
Section titled “channelThreads()”channelThreads: (
channelId,archivedStatus) =>`/channels/${string}/threads/archived/private`|`/channels/${string}/threads/archived/public`
- GET
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
archivedStatus
Section titled “archivedStatus”"private" | "public"
Returns
Section titled “Returns”`/channels/${string}/threads/archived/private` | `/channels/${string}/threads/archived/public`
channelTyping()
Section titled “channelTyping()”channelTyping: (
channelId) =>`/channels/${string}/typing`
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/typing`
channelWebhooks()
Section titled “channelWebhooks()”channelWebhooks: (
channelId) =>`/channels/${string}/webhooks`
- GET
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/webhooks`
consumeEntitlement()
Section titled “consumeEntitlement()”consumeEntitlement: (
applicationId,entitlementId) =>`/applications/${string}/entitlements/${string}/consume`
- POST
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
entitlementId
Section titled “entitlementId”string
Returns
Section titled “Returns”`/applications/${string}/entitlements/${string}/consume`
currentApplication()
Section titled “currentApplication()”currentApplication: () =>
"/applications/@me"
- GET
Returns
Section titled “Returns”"/applications/@me"
entitlement()
Section titled “entitlement()”entitlement: (
applicationId,entitlementId) =>`/applications/${string}/entitlements/${string}`
- GET
- DELETE
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
entitlementId
Section titled “entitlementId”string
Returns
Section titled “Returns”`/applications/${string}/entitlements/${string}`
entitlements()
Section titled “entitlements()”entitlements: (
applicationId) =>`/applications/${string}/entitlements`
- GET
- POST
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
Returns
Section titled “Returns”`/applications/${string}/entitlements`
expirePoll()
Section titled “expirePoll()”expirePoll: (
channelId,messageId) =>`/channels/${string}/polls/${string}/expire`
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
Returns
Section titled “Returns”`/channels/${string}/polls/${string}/expire`
gateway()
Section titled “gateway()”gateway: () =>
"/gateway"
- GET
Returns
Section titled “Returns”"/gateway"
gatewayBot()
Section titled “gatewayBot()”gatewayBot: () =>
"/gateway/bot"
- GET
Returns
Section titled “Returns”"/gateway/bot"
guild()
Section titled “guild()”guild: (
guildId) =>`/guilds/${string}`
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}`
guildActiveThreads()
Section titled “guildActiveThreads()”guildActiveThreads: (
guildId) =>`/guilds/${string}/threads/active`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/threads/active`
guildApplicationCommandsPermissions()
Section titled “guildApplicationCommandsPermissions()”guildApplicationCommandsPermissions: (
applicationId,guildId) =>`/applications/${string}/guilds/${string}/commands/permissions`
- GET
- PATCH
- DELETE
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/applications/${string}/guilds/${string}/commands/permissions`
guildAuditLog()
Section titled “guildAuditLog()”guildAuditLog: (
guildId) =>`/guilds/${string}/audit-logs`
- GET
- PUT
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/audit-logs`
guildAutoModerationRule()
Section titled “guildAutoModerationRule()”guildAutoModerationRule: (
guildId,ruleId) =>`/guilds/${string}/auto-moderation/rules/${string}`
- GET
- PUT
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
ruleId
Section titled “ruleId”string
Returns
Section titled “Returns”`/guilds/${string}/auto-moderation/rules/${string}`
guildAutoModerationRules()
Section titled “guildAutoModerationRules()”guildAutoModerationRules: (
guildId) =>`/guilds/${string}/auto-moderation/rules`
- GET
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/auto-moderation/rules`
guildBan()
Section titled “guildBan()”guildBan: (
guildId,userId) =>`/guilds/${string}/bans/${string}`
- GET
- PUT
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
userId
Section titled “userId”string
Returns
Section titled “Returns”`/guilds/${string}/bans/${string}`
guildBans()
Section titled “guildBans()”guildBans: (
guildId) =>`/guilds/${string}/bans`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/bans`
guildBulkBan()
Section titled “guildBulkBan()”guildBulkBan: (
guildId) =>`/guilds/${string}/bulk-ban`
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/bulk-ban`
guildChannels()
Section titled “guildChannels()”guildChannels: (
guildId) =>`/guilds/${string}/channels`
- GET
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/channels`
guildCurrentMemberNickname()
Section titled “guildCurrentMemberNickname()”guildCurrentMemberNickname: (
guildId) =>`/guilds/${string}/members/@me/nick`
- PATCH
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/members/@me/nick`
guildEmoji()
Section titled “guildEmoji()”guildEmoji: (
guildId,emojiId) =>`/guilds/${string}/emojis/${string}`
- GET
- PATCH
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
emojiId
Section titled “emojiId”string
Returns
Section titled “Returns”`/guilds/${string}/emojis/${string}`
guildEmojis()
Section titled “guildEmojis()”guildEmojis: (
guildId) =>`/guilds/${string}/emojis`
- GET
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/emojis`
guildIncidentActions()
Section titled “guildIncidentActions()”guildIncidentActions: (
guildId) =>`/guilds/${string}/incident-actions`
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/incident-actions`
guildIntegration()
Section titled “guildIntegration()”guildIntegration: (
guildId,integrationId) =>`/guilds/${string}/integrations/${string}`
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
integrationId
Section titled “integrationId”string
Returns
Section titled “Returns”`/guilds/${string}/integrations/${string}`
guildIntegrations()
Section titled “guildIntegrations()”guildIntegrations: (
guildId) =>`/guilds/${string}/integrations`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/integrations`
guildInvites()
Section titled “guildInvites()”guildInvites: (
guildId) =>`/guilds/${string}/invites`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/invites`
guildMember()
Section titled “guildMember()”guildMember: (
guildId,userId) =>`/guilds/${string}/members/${string}`
- GET
- PUT
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
userId?
Section titled “userId?”string = "@me"
Returns
Section titled “Returns”`/guilds/${string}/members/${string}`
guildMemberRole()
Section titled “guildMemberRole()”guildMemberRole: (
guildId,memberId,roleId) =>`/guilds/${string}/members/${string}/roles/${string}`
- PUT
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
memberId
Section titled “memberId”string
roleId
Section titled “roleId”string
Returns
Section titled “Returns”`/guilds/${string}/members/${string}/roles/${string}`
guildMembers()
Section titled “guildMembers()”guildMembers: (
guildId) =>`/guilds/${string}/members`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/members`
guildMembersSearch()
Section titled “guildMembersSearch()”guildMembersSearch: (
guildId) =>`/guilds/${string}/members/search`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/members/search`
guildMemberVerification()
Section titled “guildMemberVerification()”guildMemberVerification: (
guildId) =>`/guilds/${string}/member-verification`
- GET
- PATCH
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/member-verification`
guildMFA()
Section titled “guildMFA()”guildMFA: (
guildId) =>`/guilds/${string}/mfa`
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/mfa`
guildOnboarding()
Section titled “guildOnboarding()”guildOnboarding: (
guildId) =>`/guilds/${string}/onboarding`
- GET
- PUT
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/onboarding`
guildPreview()
Section titled “guildPreview()”guildPreview: (
guildId) =>`/guilds/${string}/preview`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/preview`
guildPrune()
Section titled “guildPrune()”guildPrune: (
guildId) =>`/guilds/${string}/prune`
- GET
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/prune`
guildRole()
Section titled “guildRole()”guildRole: (
guildId,roleId) =>`/guilds/${string}/roles/${string}`
- GET
- PATCH
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
roleId
Section titled “roleId”string
Returns
Section titled “Returns”`/guilds/${string}/roles/${string}`
guildRoleMemberCounts()
Section titled “guildRoleMemberCounts()”guildRoleMemberCounts: (
guildId) =>`/guilds/${string}/roles/member-counts`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/roles/member-counts`
guildRoles()
Section titled “guildRoles()”guildRoles: (
guildId) =>`/guilds/${string}/roles`
- GET
- POST
- PATCH
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/roles`
guilds()
Section titled “guilds()”guilds: () =>
"/guilds"
- GET
- POST
Returns
Section titled “Returns”"/guilds"
guildScheduledEvent()
Section titled “guildScheduledEvent()”guildScheduledEvent: (
guildId,guildScheduledEventId) =>`/guilds/${string}/scheduled-events/${string}`
- GET
- PATCH
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
guildScheduledEventId
Section titled “guildScheduledEventId”string
Returns
Section titled “Returns”`/guilds/${string}/scheduled-events/${string}`
guildScheduledEvents()
Section titled “guildScheduledEvents()”guildScheduledEvents: (
guildId) =>`/guilds/${string}/scheduled-events`
- GET
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/scheduled-events`
guildScheduledEventUsers()
Section titled “guildScheduledEventUsers()”guildScheduledEventUsers: (
guildId,guildScheduledEventId) =>`/guilds/${string}/scheduled-events/${string}/users`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
guildScheduledEventId
Section titled “guildScheduledEventId”string
Returns
Section titled “Returns”`/guilds/${string}/scheduled-events/${string}/users`
guildSoundboardSound()
Section titled “guildSoundboardSound()”guildSoundboardSound: (
guildId,soundId) =>`/guilds/${string}/soundboard-sounds/${string}`
- GET
- PATCH
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
soundId
Section titled “soundId”string
Returns
Section titled “Returns”`/guilds/${string}/soundboard-sounds/${string}`
guildSoundboardSounds()
Section titled “guildSoundboardSounds()”guildSoundboardSounds: (
guildId) =>`/guilds/${string}/soundboard-sounds`
- GET
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/soundboard-sounds`
guildSticker()
Section titled “guildSticker()”guildSticker: (
guildId,stickerId) =>`/guilds/${string}/stickers/${string}`
- GET
- PATCH
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
stickerId
Section titled “stickerId”string
Returns
Section titled “Returns”`/guilds/${string}/stickers/${string}`
guildStickers()
Section titled “guildStickers()”guildStickers: (
guildId) =>`/guilds/${string}/stickers`
- GET
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/stickers`
guildTemplate()
Section titled “guildTemplate()”guildTemplate: (
guildId,code) =>`/guilds/${string}/templates/${string}`
- PUT
- PATCH
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
string
Returns
Section titled “Returns”`/guilds/${string}/templates/${string}`
guildTemplates()
Section titled “guildTemplates()”guildTemplates: (
guildId) =>`/guilds/${string}/templates`
- GET
- POST
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/templates`
guildVanityUrl()
Section titled “guildVanityUrl()”guildVanityUrl: (
guildId) =>`/guilds/${string}/vanity-url`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/vanity-url`
guildVoiceRegions()
Section titled “guildVoiceRegions()”guildVoiceRegions: (
guildId) =>`/guilds/${string}/regions`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/regions`
guildVoiceState()
Section titled “guildVoiceState()”guildVoiceState: (
guildId,userId) =>`/guilds/${string}/voice-states/${string}`
- GET
- PATCH
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
userId?
Section titled “userId?”string = "@me"
Returns
Section titled “Returns”`/guilds/${string}/voice-states/${string}`
guildWebhooks()
Section titled “guildWebhooks()”guildWebhooks: (
guildId) =>`/guilds/${string}/webhooks`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/webhooks`
guildWelcomeScreen()
Section titled “guildWelcomeScreen()”guildWelcomeScreen: (
guildId) =>`/guilds/${string}/welcome-screen`
- GET
- PATCH
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/welcome-screen`
guildWidgetImage()
Section titled “guildWidgetImage()”guildWidgetImage: (
guildId) =>`/guilds/${string}/widget.png`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/widget.png`
guildWidgetJSON()
Section titled “guildWidgetJSON()”guildWidgetJSON: (
guildId) =>`/guilds/${string}/widget.json`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/widget.json`
guildWidgetSettings()
Section titled “guildWidgetSettings()”guildWidgetSettings: (
guildId) =>`/guilds/${string}/widget`
- GET
- PATCH
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/guilds/${string}/widget`
interactionCallback()
Section titled “interactionCallback()”interactionCallback: (
interactionId,interactionToken) =>`/interactions/${string}/${string}/callback`
- GET
- DELETE
Parameters
Section titled “Parameters”interactionId
Section titled “interactionId”string
interactionToken
Section titled “interactionToken”string
Returns
Section titled “Returns”`/interactions/${string}/${string}/callback`
invite()
Section titled “invite()”invite: (
code) =>`/invites/${string}`
- GET
- POST
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”`/invites/${string}`
nitroStickerPacks()
Section titled “nitroStickerPacks()”nitroStickerPacks: () =>
"/sticker-packs"
- GET
- POST
Returns
Section titled “Returns”"/sticker-packs"
oauth2Authorization()
Section titled “oauth2Authorization()”oauth2Authorization: () =>
"/oauth2/authorize"
- GET
- POST
Returns
Section titled “Returns”"/oauth2/authorize"
oauth2CurrentApplication()
Section titled “oauth2CurrentApplication()”oauth2CurrentApplication: () =>
"/oauth2/applications/@me"
- GET
Returns
Section titled “Returns”"/oauth2/applications/@me"
oauth2CurrentAuthorization()
Section titled “oauth2CurrentAuthorization()”oauth2CurrentAuthorization: () =>
"/oauth2/@me"
- GET
Returns
Section titled “Returns”"/oauth2/@me"
oauth2TokenExchange()
Section titled “oauth2TokenExchange()”oauth2TokenExchange: () =>
"/oauth2/token"
- POST
Returns
Section titled “Returns”"/oauth2/token"
oauth2TokenRevocation()
Section titled “oauth2TokenRevocation()”oauth2TokenRevocation: () =>
"/oauth2/token/revoke"
- POST
Returns
Section titled “Returns”"/oauth2/token/revoke"
pollAnswerVoters()
Section titled “pollAnswerVoters()”pollAnswerVoters: (
channelId,messageId,answerId) =>`/channels/${string}/polls/${string}/answers/${number}`
- GET
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
messageId
Section titled “messageId”string
answerId
Section titled “answerId”number
Returns
Section titled “Returns”`/channels/${string}/polls/${string}/answers/${number}`
sendSoundboardSound()
Section titled “sendSoundboardSound()”sendSoundboardSound: (
channelId) =>`/channels/${string}/send-soundboard-sound`
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/channels/${string}/send-soundboard-sound`
skus()
Section titled “skus()”skus: (
applicationId) =>`/applications/${string}/skus`
- GET
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
Returns
Section titled “Returns”`/applications/${string}/skus`
skuSubscription()
Section titled “skuSubscription()”skuSubscription: (
skuId,subscriptionId) =>`/skus/${string}/subscriptions/${string}`
- GET
Parameters
Section titled “Parameters”string
subscriptionId
Section titled “subscriptionId”string
Returns
Section titled “Returns”`/skus/${string}/subscriptions/${string}`
skuSubscriptions()
Section titled “skuSubscriptions()”skuSubscriptions: (
skuId) =>`/skus/${string}/subscriptions`
- GET
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”`/skus/${string}/subscriptions`
soundboardDefaultSounds()
Section titled “soundboardDefaultSounds()”soundboardDefaultSounds: () =>
"/soundboard-default-sounds"
- GET
Returns
Section titled “Returns”"/soundboard-default-sounds"
stageInstance()
Section titled “stageInstance()”stageInstance: (
channelId) =>`/stage-instances/${string}`
- GET
- POST
Parameters
Section titled “Parameters”channelId
Section titled “channelId”string
Returns
Section titled “Returns”`/stage-instances/${string}`
stageInstances()
Section titled “stageInstances()”stageInstances: () =>
"/stage-instances"
- GET
- POST
Returns
Section titled “Returns”"/stage-instances"
sticker()
Section titled “sticker()”sticker: (
stickerId) =>`/stickers/${string}`
- GET
Parameters
Section titled “Parameters”stickerId
Section titled “stickerId”string
Returns
Section titled “Returns”`/stickers/${string}`
stickerPack()
Section titled “stickerPack()”stickerPack: (
packId) =>`/sticker-packs/${string}`
- GET
Parameters
Section titled “Parameters”packId
Section titled “packId”string
Returns
Section titled “Returns”`/sticker-packs/${string}`
stickerPacks()
Section titled “stickerPacks()”stickerPacks: () =>
"/sticker-packs"
- GET
- POST
Returns
Section titled “Returns”"/sticker-packs"
template()
Section titled “template()”template: (
code) =>`/guilds/templates/${string}`
- GET
- PUT
- DELETE
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”`/guilds/templates/${string}`
threadMembers()
Section titled “threadMembers()”threadMembers: (
threadId,userId?) =>`/channels/${string}/thread-members/${string}`|`/channels/${string}/thread-members`
- GET
- PUT
- DELETE
Parameters
Section titled “Parameters”threadId
Section titled “threadId”string
userId?
Section titled “userId?”string
Returns
Section titled “Returns”`/channels/${string}/thread-members/${string}` | `/channels/${string}/thread-members`
threads()
Section titled “threads()”threads: (
parentId,messageId?) =>`/channels/${string}/threads`
- POST
Parameters
Section titled “Parameters”parentId
Section titled “parentId”string
messageId?
Section titled “messageId?”string
Returns
Section titled “Returns”`/channels/${string}/threads`
user()
Section titled “user()”user: (
userId) =>`/users/${string}`
- GET
- PUT
Parameters
Section titled “Parameters”userId?
Section titled “userId?”string = "@me"
Returns
Section titled “Returns”`/users/${string}`
userApplicationRoleConnection()
Section titled “userApplicationRoleConnection()”userApplicationRoleConnection: (
applicationId) =>`/users/@me/applications/${string}/role-connection`
- GET
- PUT
Parameters
Section titled “Parameters”applicationId
Section titled “applicationId”string
Returns
Section titled “Returns”`/users/@me/applications/${string}/role-connection`
userChannels()
Section titled “userChannels()”userChannels: () =>
"/users/@me/channels"
- POST
Returns
Section titled “Returns”"/users/@me/channels"
userConnections()
Section titled “userConnections()”userConnections: () =>
"/users/@me/connections"
- GET
Returns
Section titled “Returns”"/users/@me/connections"
userGuild()
Section titled “userGuild()”userGuild: (
guildId) =>`/users/@me/guilds/${string}`
- DELETE
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/users/@me/guilds/${string}`
userGuildMember()
Section titled “userGuildMember()”userGuildMember: (
guildId) =>`/users/@me/guilds/${string}/member`
- GET
Parameters
Section titled “Parameters”guildId
Section titled “guildId”string
Returns
Section titled “Returns”`/users/@me/guilds/${string}/member`
userGuilds()
Section titled “userGuilds()”userGuilds: () =>
"/users/@me/guilds"
- GET
Returns
Section titled “Returns”"/users/@me/guilds"
voiceRegions()
Section titled “voiceRegions()”voiceRegions: () =>
"/voice/regions"
- GET
Returns
Section titled “Returns”"/voice/regions"
webhook()
Section titled “webhook()”webhook: (
webhookId,webhookToken?) =>`/webhooks/${string}`
- GET
- PATCH
- DELETE
- POST
Parameters
Section titled “Parameters”webhookId
Section titled “webhookId”string
webhookToken?
Section titled “webhookToken?”string
Returns
Section titled “Returns”`/webhooks/${string}`
webhookMessage()
Section titled “webhookMessage()”webhookMessage: (
webhookId,webhookToken,messageId?) =>`/webhooks/${string}/${string}/messages/${string}`
- GET
- PATCH
- DELETE
Parameters
Section titled “Parameters”webhookId
Section titled “webhookId”string
webhookToken
Section titled “webhookToken”string
messageId?
Section titled “messageId?”string
Returns
Section titled “Returns”`/webhooks/${string}/${string}/messages/${string}`
webhookPlatform()
Section titled “webhookPlatform()”webhookPlatform: (
webhookId,webhookToken,platform) =>`/webhooks/${string}/${string}/github`|`/webhooks/${string}/${string}/slack`
- POST
Parameters
Section titled “Parameters”webhookId
Section titled “webhookId”string
webhookToken
Section titled “webhookToken”string
platform
Section titled “platform”"github" | "slack"
Returns
Section titled “Returns”`/webhooks/${string}/${string}/github` | `/webhooks/${string}/${string}/slack`