1 symbol from @neontechspace/fluxerly
Interfaces#
RestRoutes #
Every Fluxer API route that client.rest.call checks at compile time, keyed by its method and path template as Fluxer's documentation writes them, such as POST /
Generated from Fluxer's API description at commit f50792ae705c of fluxerapp/fluxer, the commit the SDK release pins, with Fluxer's official field names and a few reviewed corrections where the description is wrong or incomplete. Each input lists the route's path parameters, query and JSON body. Each response is the parsed JSON body of a successful answer, which the SDK does not check at runtime. Routes Fluxer adds after the pin, and fields the description leaves out, need client.rest.request
interface RestRoutesDELETE /#channels/{channel_ id} -
Delete a channel
Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly delete_messages?: boolean readonly silent?: boolean } > & OptionalJsonBody<SudoVerificationSchema>, undefined >Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly delete_messages?: boolean readonly silent?: boolean } > & OptionalJsonBody< SudoVerificationSchema >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ messages/{message_ id} -
Delete a message
Route<PathParameters<ChannelIdMessageIdPath>, undefined>Route< PathParameters< ChannelIdMessageIdPath >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ messages/{message_ id}/ attachments/{attachment_ id} -
Delete a message attachment
Route<PathParameters<ChannelIdMessageIdAttachmentIdPath>, undefined>Route< PathParameters< ChannelIdMessageIdAttachmentIdPath >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ messages/{message_ id}/ reactions -
Remove all reactions from message
Route<PathParameters<ChannelIdMessageIdPath>, undefined>Route< PathParameters< ChannelIdMessageIdPath >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ messages/{message_ id}/ reactions/{emoji} -
Remove all reactions with emoji
Route<PathParameters<ChannelIdMessageIdEmojiPath>, undefined>Route< PathParameters< ChannelIdMessageIdEmojiPath >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ messages/{message_ id}/ reactions/{emoji}/{target_ id} -
Remove reaction from message
Route< & PathParameters<ChannelIdMessageIdEmojiTargetIdPath> & QueryParameters<{ readonly session_id?: string }>, undefined >Route< & PathParameters< ChannelIdMessageIdEmojiTargetIdPath > & QueryParameters< { readonly session_id?: string } >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ messages/{message_ id}/ reactions/{emoji}/@me -
Remove own reaction from message
Route< & PathParameters<ChannelIdMessageIdEmojiPath> & QueryParameters<{ readonly session_id?: string }>, undefined >Route< & PathParameters< ChannelIdMessageIdEmojiPath > & QueryParameters< { readonly session_id?: string } >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ messages/ ack -
Deprecated. Fluxer's API description marks this route as deprecated
Clear channel read state
Route<PathParameters<ChannelIdPath>, undefined>Route< PathParameters<ChannelIdPath>, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ permissions/{overwrite_ id} -
Delete permission overwrite
Route<PathParameters<ChannelIdOverwriteIdPath>, undefined>Route< PathParameters< ChannelIdOverwriteIdPath >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ pins/{message_ id} -
Unpin a message
Route<PathParameters<ChannelIdMessageIdPath>, undefined>Route< PathParameters< ChannelIdMessageIdPath >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ recipients/{user_ id} -
Remove recipient from group DM
Route< & PathParameters<ChannelIdUserIdPath> & QueryParameters< { readonly delete_messages?: boolean readonly silent?: boolean } > & OptionalJsonBody<SudoVerificationSchema>, undefined >Route< & PathParameters< ChannelIdUserIdPath > & QueryParameters< { readonly delete_messages?: boolean readonly silent?: boolean } > & OptionalJsonBody< SudoVerificationSchema >, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ tags/{tag_ id} -
Delete a forum tag
Route<PathParameters<ChannelIdTagIdPath>, ChannelResponse>Route< PathParameters<ChannelIdTagIdPath>, ChannelResponse >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ thread-members/{user_ id} -
Remove a thread member
Route<PathParameters<ChannelIdUserIdPath>, undefined>Route< PathParameters<ChannelIdUserIdPath>, undefined >Described in Fluxer's documentation
DELETE /#channels/{channel_ id}/ thread-members/@me -
Leave a thread
Route<PathParameters<ChannelIdPath>, undefined>Route< PathParameters<ChannelIdPath>, undefined >Described in Fluxer's documentation
DELETE /#guilds/{guild_ id}/ bans/{user_ id} -
Route<PathParameters<GuildIdUserIdPath>, undefined>Route< PathParameters<GuildIdUserIdPath>, undefined >Described in Fluxer's documentation
DELETE /#guilds/{guild_ id}/ discovery -
Withdraw discovery application
Route<PathParameters<GuildIdPath>, undefined>Route< PathParameters<GuildIdPath>, undefined >Described in Fluxer's documentation
DELETE /#guilds/{guild_ id}/ emojis/{emoji_ id} -
Delete guild emoji
Route< & PathParameters<GuildIdEmojiIdPath> & QueryParameters<{ readonly purge?: boolean }>, undefined >Route< & PathParameters<GuildIdEmojiIdPath> & QueryParameters< { readonly purge?: boolean } >, undefined >Described in Fluxer's documentation
DELETE /#guilds/{guild_ id}/ members/{user_ id} -
Route<PathParameters<GuildIdUserIdPath>, undefined>Route< PathParameters<GuildIdUserIdPath>, undefined >Described in Fluxer's documentation
DELETE /#guilds/{guild_ id}/ members/{user_ id}/ roles/{role_ id} -
Route<PathParameters<GuildIdUserIdRoleIdPath>, undefined>Route< PathParameters< GuildIdUserIdRoleIdPath >, undefined >Described in Fluxer's documentation
DELETE /#guilds/{guild_ id}/ roles/{role_ id} -
Route<PathParameters<GuildIdRoleIdPath>, undefined>Route< PathParameters<GuildIdRoleIdPath>, undefined >Described in Fluxer's documentation
DELETE /#guilds/{guild_ id}/ roles/ hoist-positions -
Reset role hoist positions
Route<PathParameters<GuildIdPath>, undefined>Route< PathParameters<GuildIdPath>, undefined >Described in Fluxer's documentation
DELETE /#guilds/{guild_ id}/ stickers/{sticker_ id} -
Delete guild sticker
Route< & PathParameters<GuildIdStickerIdPath> & QueryParameters<{ readonly purge?: boolean }>, undefined >Route< & PathParameters< GuildIdStickerIdPath > & QueryParameters< { readonly purge?: boolean } >, undefined >Described in Fluxer's documentation
DELETE /#invites/{invite_ code} -
Delete invite
Route<PathParameters<InviteCodePath>, undefined>Route< PathParameters<InviteCodePath>, undefined >Described in Fluxer's documentation
DELETE /#users/@me/ channels/{channel_ id}/ pin -
Unpin direct message channel
Route<PathParameters<ChannelIdPath>, undefined>Route< PathParameters<ChannelIdPath>, undefined >Described in Fluxer's documentation
DELETE /#users/@me/ guilds/{guild_ id} -
Leave guild
Route< & PathParameters<GuildIdPath> & QueryParameters<{ readonly delete_messages?: boolean }> & OptionalJsonBody<SudoVerificationSchema>, undefined >Route< & PathParameters<GuildIdPath> & QueryParameters< { readonly delete_messages?: boolean } > & OptionalJsonBody< SudoVerificationSchema >, undefined >Described in Fluxer's documentation
DELETE /#webhooks/{webhook_ id} -
Delete webhook
Route<PathParameters<WebhookIdPath>, undefined>Route< PathParameters<WebhookIdPath>, undefined >Described in Fluxer's documentation
GET /#applications/@me -
Get current bot application
Route<{ … }, ApplicationsMeResponse>Described in Fluxer's documentation
GET /#channels/{channel_ id} -
Fetch a channel
Route<PathParameters<ChannelIdPath>, ChannelResponse>Route< PathParameters<ChannelIdPath>, ChannelResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ follower-stats -
Get announcement channel follower stats
Route<PathParameters<ChannelIdPath>, ChannelFollowerStatsResponse>Route< PathParameters<ChannelIdPath>, ChannelFollowerStatsResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ invites -
List channel invites
Route<PathParameters<ChannelIdPath>, InviteMetadataListResponse>Route< PathParameters<ChannelIdPath>, InviteMetadataListResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ messages -
List messages in a channel
Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly after?: SnowflakeType readonly around?: SnowflakeType readonly before?: SnowflakeType readonly limit?: number } >, MessageListResponse >Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly after?: SnowflakeType readonly around?: SnowflakeType readonly before?: SnowflakeType readonly limit?: number } >, MessageListResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ messages/{message_ id} -
Fetch a message
Route<PathParameters<ChannelIdMessageIdPath>, MessageResponseSchema>Route< PathParameters< ChannelIdMessageIdPath >, MessageResponseSchema >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ messages/{message_ id}/ crosspost-source -
Get the source community of a published message copy
Route< PathParameters<ChannelIdMessageIdPath>, CrosspostSourceResponse >Route< PathParameters< ChannelIdMessageIdPath >, CrosspostSourceResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ messages/{message_ id}/ reactions/{emoji} -
List users who reacted with emoji
Route< & PathParameters<ChannelIdMessageIdEmojiPath> & QueryParameters< { readonly after?: SnowflakeType readonly limit?: number } >, ReactionUsersListResponse >Route< & PathParameters< ChannelIdMessageIdEmojiPath > & QueryParameters< { readonly after?: SnowflakeType readonly limit?: number } >, ReactionUsersListResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ messages/{message_ id}/ reactions/{emoji}/ users -
List users who reacted with emoji
Route< & PathParameters<ChannelIdMessageIdEmojiPath> & QueryParameters< { readonly after?: SnowflakeType readonly limit?: number } >, ReactionUsersPageResponse >Route< & PathParameters< ChannelIdMessageIdEmojiPath > & QueryParameters< { readonly after?: SnowflakeType readonly limit?: number } >, ReactionUsersPageResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ messages/ pins -
List pinned messages
Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly before?: string; readonly limit?: number } >, ChannelPinsResponse >Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly before?: string readonly limit?: number } >, ChannelPinsResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ slowmode -
Fetch slowmode state
Route<PathParameters<ChannelIdPath>, ChannelSlowmodeStateResponse>Route< PathParameters<ChannelIdPath>, ChannelSlowmodeStateResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ thread-members -
List thread members
Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly after?: SnowflakeType readonly limit?: number readonly with_member?: boolean } >, ThreadMemberListResponse >Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly after?: SnowflakeType readonly limit?: number readonly with_member?: boolean } >, ThreadMemberListResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ thread-members/{user_ id} -
Get a thread member
Route< & PathParameters<ChannelIdUserIdPath> & QueryParameters<{ readonly with_member?: boolean }>, ThreadMemberResponse >Route< & PathParameters< ChannelIdUserIdPath > & QueryParameters< { readonly with_member?: boolean } >, ThreadMemberResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ threads/ archived/ private -
List private archived threads
Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly before?: string; readonly limit?: number } >, ArchivedThreadsResponse >Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly before?: string readonly limit?: number } >, ArchivedThreadsResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ threads/ archived/ public -
List public archived threads
Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly before?: string; readonly limit?: number } >, ArchivedThreadsResponse >Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly before?: string readonly limit?: number } >, ArchivedThreadsResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ threads/ search -
Search threads
Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly archived?: boolean readonly limit?: number readonly max_id?: SnowflakeType readonly min_id?: SnowflakeType readonly name?: string readonly offset?: number readonly slop?: number readonly sort_by?: ThreadSearchSortBySchema readonly sort_order?: ThreadSearchSortOrderSchema readonly tag?: readonly SnowflakeType[] readonly tag_setting?: ForumTagSettingSchema } >, ThreadSearchResult >Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly archived?: boolean readonly limit?: number readonly max_id?: SnowflakeType readonly min_id?: SnowflakeType readonly name?: string readonly offset?: number readonly slop?: number readonly sort_by?: ThreadSearchSortBySchema readonly sort_order?: ThreadSearchSortOrderSchema readonly tag?: readonly SnowflakeType[] readonly tag_setting?: ForumTagSettingSchema } >, ThreadSearchResult >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ users/@me/ threads/ archived/ private -
List joined private archived threads
Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly before?: SnowflakeType readonly limit?: number } >, ArchivedThreadsResponse >Route< & PathParameters<ChannelIdPath> & QueryParameters< { readonly before?: SnowflakeType readonly limit?: number } >, ArchivedThreadsResponse >Described in Fluxer's documentation
GET /#channels/{channel_ id}/ webhooks -
Route<PathParameters<ChannelIdPath>, WebhookListResponse>Route< PathParameters<ChannelIdPath>, WebhookListResponse >Described in Fluxer's documentation
GET /#discovery/ categories -
List discovery categories
Route<{ … }, DiscoveryCategoryListResponse>Route< { … }, DiscoveryCategoryListResponse >Described in Fluxer's documentation
GET /#discovery/ guilds -
Search discoverable guilds
Route< QueryParameters< { readonly category?: number readonly language?: string readonly limit?: number readonly offset?: number readonly query?: string readonly sort_by?: | "member_count" | "relevance" | "online_count" readonly tag?: string } >, DiscoveryGuildListResponse >Route< QueryParameters< { readonly category?: number readonly language?: string readonly limit?: number readonly offset?: number readonly query?: string readonly sort_by?: | "member_count" | "relevance" | "online_count" readonly tag?: string } >, DiscoveryGuildListResponse >Described in Fluxer's documentation
GET /#emojis/{emoji_ id}/ metadata -
Get emoji metadata
Route<PathParameters<EmojiIdPath>, GuildEmojiMetadataResponse>Route< PathParameters<EmojiIdPath>, GuildEmojiMetadataResponse >Described in Fluxer's documentation
GET /#emojis/{emoji_ id}/ source -
Get emoji source guild
Route< PathParameters<EmojiIdPath>, GuildExpressionSourceGuildResponse >Route< PathParameters<EmojiIdPath>, GuildExpressionSourceGuildResponse >Described in Fluxer's documentation
GET /#experiments -
Get the experiment assignments
Route<{ … }, ExperimentAssignmentsResponse>Route< { … }, ExperimentAssignmentsResponse >Described in Fluxer's documentation
GET /#gateway/ bot -
Get gateway information
Route<{ … }, GatewayBotResponse>Described in Fluxer's documentation
GET /#guilds/{guild_ id} -
Get guild information
Route<PathParameters<GuildIdPath>, GuildResponse>Route< PathParameters<GuildIdPath>, GuildResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ audit-logs -
List guild audit logs
Route< & PathParameters<GuildIdPath> & QueryParameters< { readonly action_type?: AuditLogActionTypeInput readonly after?: SnowflakeType readonly before?: SnowflakeType readonly limit?: number readonly user_id?: SnowflakeType } >, GuildAuditLogListResponse >Route< & PathParameters<GuildIdPath> & QueryParameters< { readonly action_type?: AuditLogActionTypeInput readonly after?: SnowflakeType readonly before?: SnowflakeType readonly limit?: number readonly user_id?: SnowflakeType } >, GuildAuditLogListResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ bans -
List guild bans
Route<PathParameters<GuildIdPath>, GuildBanListResponse>Route< PathParameters<GuildIdPath>, GuildBanListResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ channels -
Route<PathParameters<GuildIdPath>, ChannelListResponse>Route< PathParameters<GuildIdPath>, ChannelListResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ discovery -
Get discovery status
Route<PathParameters<GuildIdPath>, DiscoveryStatusResponse>Route< PathParameters<GuildIdPath>, DiscoveryStatusResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ emojis -
List guild emojis
Route<PathParameters<GuildIdPath>, GuildEmojiWithUserListResponse>Route< PathParameters<GuildIdPath>, GuildEmojiWithUserListResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ invites -
List guild invites
Route<PathParameters<GuildIdPath>, InviteMetadataListResponse>Route< PathParameters<GuildIdPath>, InviteMetadataListResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ members -
Route< & PathParameters<GuildIdPath> & QueryParameters< { readonly after?: SnowflakeType readonly limit?: number } >, GuildMemberListResponse >Route< & PathParameters<GuildIdPath> & QueryParameters< { readonly after?: SnowflakeType readonly limit?: number } >, GuildMemberListResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ members/{user_ id} -
Route<PathParameters<GuildIdUserIdPath>, GuildMemberResponse>Route< PathParameters<GuildIdUserIdPath>, GuildMemberResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ members/@me -
Route<PathParameters<GuildIdPath>, GuildMemberResponse>Route< PathParameters<GuildIdPath>, GuildMemberResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ roles -
Route<PathParameters<GuildIdPath>, GuildRoleListResponse>Route< PathParameters<GuildIdPath>, GuildRoleListResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ stickers -
List guild stickers
Route<PathParameters<GuildIdPath>, GuildStickerWithUserListResponse>Route< PathParameters<GuildIdPath>, GuildStickerWithUserListResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ threads/ active -
List active guild threads
Route<PathParameters<GuildIdPath>, ActiveThreadsResponse>Route< PathParameters<GuildIdPath>, ActiveThreadsResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ vanity-url -
Get guild vanity URL
Route<PathParameters<GuildIdPath>, GuildVanityURLResponse>Route< PathParameters<GuildIdPath>, GuildVanityURLResponse >Described in Fluxer's documentation
GET /#guilds/{guild_ id}/ webhooks -
Route<PathParameters<GuildIdPath>, WebhookListResponse>Route< PathParameters<GuildIdPath>, WebhookListResponse >Described in Fluxer's documentation
GET /#oauth2/ applications/@me -
Get current applications endpoint
Route<{ … }, OAuth2ApplicationsMeResponse>Route< { … }, OAuth2ApplicationsMeResponse >Described in Fluxer's documentation
GET /#stickers/{sticker_ id}/ metadata -
Get sticker metadata
Route<PathParameters<StickerIdPath>, GuildStickerMetadataResponse>Route< PathParameters<StickerIdPath>, GuildStickerMetadataResponse >Described in Fluxer's documentation
GET /#stickers/{sticker_ id}/ source -
Get sticker source guild
Route< PathParameters<StickerIdPath>, GuildExpressionSourceGuildResponse >Route< PathParameters<StickerIdPath>, GuildExpressionSourceGuildResponse >Described in Fluxer's documentation
GET /#users/{target_ id}/ profile -
Get user profile
Route< & PathParameters<TargetIdPath> & QueryParameters< { readonly guild_id?: SnowflakeType readonly with_mutual_friends?: boolean readonly with_mutual_guilds?: boolean } >, UserProfileFullResponse >Route< & PathParameters<TargetIdPath> & QueryParameters< { readonly guild_id?: SnowflakeType readonly with_mutual_friends?: boolean readonly with_mutual_guilds?: boolean } >, UserProfileFullResponse >Described in Fluxer's documentation
GET /#users/{user_ id} -
Get user by ID
Route<PathParameters<UserIdPath>, UserPartialResponse>Route< PathParameters<UserIdPath>, UserPartialResponse >Described in Fluxer's documentation
GET /#users/@me -
Get current user profile
Route<{ … }, UserPrivateResponse>Described in Fluxer's documentation
GET /#users/@me/ channels -
List private channels
Route<{ … }, ChannelListResponse>Described in Fluxer's documentation
GET /#users/@me/ guilds -
List current user guilds
Route< QueryParameters< { readonly after?: SnowflakeType readonly before?: SnowflakeType readonly limit?: number readonly with_counts?: boolean } >, GuildListResponse >Route< QueryParameters< { readonly after?: SnowflakeType readonly before?: SnowflakeType readonly limit?: number readonly with_counts?: boolean } >, GuildListResponse >Described in Fluxer's documentation
GET /#users/ check-tag -
Check username tag availability
Route< RequiredQueryParameters< { readonly discriminator: DiscriminatorType readonly username: string } >, UserTagCheckResponse >Route< RequiredQueryParameters< { readonly discriminator: DiscriminatorType readonly username: string } >, UserTagCheckResponse >Described in Fluxer's documentation
GET /#webhooks/{webhook_ id} -
Get webhook
Route<PathParameters<WebhookIdPath>, WebhookResponse>Route< PathParameters<WebhookIdPath>, WebhookResponse >Described in Fluxer's documentation
PATCH /#channels/{channel_ id} -
Update channel settings
Route< & PathParameters<ChannelIdPath> & OptionalJsonBody<ChannelUpdateRequestBody>, ChannelResponse >Route< & PathParameters<ChannelIdPath> & OptionalJsonBody< ChannelUpdateRequestBody >, ChannelResponse >Described in Fluxer's documentation
PATCH /#channels/{channel_ id}/ messages/{message_ id} -
Edit a message
Route< & PathParameters<ChannelIdMessageIdPath> & JsonBody<MessageUpdateRequestSchema> & MessageFiles, MessageResponseSchema >Route< & PathParameters< ChannelIdMessageIdPath > & JsonBody< MessageUpdateRequestSchema > & MessageFiles, MessageResponseSchema >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id} -
Update guild settings
Route< & PathParameters<GuildIdPath> & OptionalJsonBody<GuildUpdateRequest>, GuildResponse >Route< & PathParameters<GuildIdPath> & OptionalJsonBody< GuildUpdateRequest >, GuildResponse >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ channels -
Update channel positions
Route< & PathParameters<GuildIdPath> & JsonBody<ChannelPositionUpdateRequest>, undefined >Route< & PathParameters<GuildIdPath> & JsonBody< ChannelPositionUpdateRequest >, undefined >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ discovery -
Edit discovery application
Route< & PathParameters<GuildIdPath> & OptionalJsonBody<DiscoveryApplicationPatchRequest>, DiscoveryApplicationResponse >Route< & PathParameters<GuildIdPath> & OptionalJsonBody< DiscoveryApplicationPatchRequest >, DiscoveryApplicationResponse >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ emojis/{emoji_ id} -
Update guild emoji
Route< & PathParameters<GuildIdEmojiIdPath> & JsonBody<GuildEmojiUpdateRequest>, GuildEmojiResponse >Route< & PathParameters<GuildIdEmojiIdPath> & JsonBody<GuildEmojiUpdateRequest>, GuildEmojiResponse >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ members/{user_ id} -
Route< & PathParameters<GuildIdUserIdPath> & OptionalJsonBody<GuildMemberUpdateRequest>, GuildMemberResponse >Route< & PathParameters<GuildIdUserIdPath> & OptionalJsonBody< GuildMemberUpdateRequest >, GuildMemberResponse >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ members/@me -
Route< & PathParameters<GuildIdPath> & OptionalJsonBody<MyGuildMemberUpdateRequest>, GuildMemberResponse >Route< & PathParameters<GuildIdPath> & OptionalJsonBody< MyGuildMemberUpdateRequest >, GuildMemberResponse >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ roles -
Update role positions
Route< & PathParameters<GuildIdPath> & JsonBody<GuildRolePositionsRequest>, undefined >Route< & PathParameters<GuildIdPath> & JsonBody< GuildRolePositionsRequest >, undefined >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ roles/{role_ id} -
Route< & PathParameters<GuildIdRoleIdPath> & OptionalJsonBody<GuildRoleUpdateRequest>, GuildRoleResponse >Route< & PathParameters<GuildIdRoleIdPath> & OptionalJsonBody< GuildRoleUpdateRequest >, GuildRoleResponse >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ roles/ hoist-positions -
Update role hoist positions
Route< & PathParameters<GuildIdPath> & JsonBody<GuildRoleHoistPositionsRequest>, undefined >Route< & PathParameters<GuildIdPath> & JsonBody< GuildRoleHoistPositionsRequest >, undefined >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ stickers/{sticker_ id} -
Update guild sticker
Route< & PathParameters<GuildIdStickerIdPath> & JsonBody<GuildStickerUpdateRequest>, GuildStickerResponse >Route< & PathParameters< GuildIdStickerIdPath > & JsonBody< GuildStickerUpdateRequest >, GuildStickerResponse >Described in Fluxer's documentation
PATCH /#guilds/{guild_ id}/ vanity-url -
Update guild vanity URL
Route< & PathParameters<GuildIdPath> & OptionalJsonBody<GuildVanityURLUpdateRequest>, GuildVanityURLUpdateResponse >Route< & PathParameters<GuildIdPath> & OptionalJsonBody< GuildVanityURLUpdateRequest >, GuildVanityURLUpdateResponse >Described in Fluxer's documentation
PATCH /#webhooks/{webhook_ id} -
Update webhook
Route< & PathParameters<WebhookIdPath> & OptionalJsonBody<WebhookUpdateRequest>, WebhookResponse >Route< & PathParameters<WebhookIdPath> & OptionalJsonBody< WebhookUpdateRequest >, WebhookResponse >Described in Fluxer's documentation
POST /#attachments/ refresh-urls -
Refresh attachment URLs
Route< JsonBody<RefreshAttachmentUrlsRequest>, RefreshAttachmentUrlsResponse >Route< JsonBody< RefreshAttachmentUrlsRequest >, RefreshAttachmentUrlsResponse >Described in Fluxer's documentation
POST /#auth/ logout -
Logout account
Route<{ … }, undefined>Described in Fluxer's documentation
POST /#channels/{channel_ id}/ attachments -
Request presigned attachment upload URLs
Route< & PathParameters<ChannelIdPath> & JsonBody<PresignedAttachmentUploadRequest>, PresignedAttachmentUploadResponse >Route< & PathParameters<ChannelIdPath> & JsonBody< PresignedAttachmentUploadRequest >, PresignedAttachmentUploadResponse >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ attachments/ complete -
Finalize multipart attachment uploads
Route< & PathParameters<ChannelIdPath> & JsonBody<CompleteMultipartAttachmentUploadRequest>, CompleteMultipartAttachmentUploadResponse >Route< & PathParameters<ChannelIdPath> & JsonBody< CompleteMultipartAttachmentUploadRequest >, CompleteMultipartAttachmentUploadResponse >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ followers -
Follow an announcement channel
Route< PathParameters<ChannelIdPath> & JsonBody<ChannelFollowRequest>, FollowedChannelResponse >Route< & PathParameters<ChannelIdPath> & JsonBody<ChannelFollowRequest>, FollowedChannelResponse >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ invites -
Create channel invite
Route< & PathParameters<ChannelIdPath> & OptionalJsonBody<ChannelInviteCreateRequest>, InviteMetadataResponseSchema >Route< & PathParameters<ChannelIdPath> & OptionalJsonBody< ChannelInviteCreateRequest >, InviteMetadataResponseSchema >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ messages -
Send a message
Route< & PathParameters<ChannelIdPath> & JsonBody<MessageRequestSchema> & MessageFiles, MessageResponseSchema >Route< & PathParameters<ChannelIdPath> & JsonBody<MessageRequestSchema> & MessageFiles, MessageResponseSchema >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ messages/{message_ id}/ crosspost -
Publish a message to following channels
Route<PathParameters<ChannelIdMessageIdPath>, MessageResponseSchema>Route< PathParameters< ChannelIdMessageIdPath >, MessageResponseSchema >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ messages/{message_ id}/ threads -
Start a thread from a message
Route< & PathParameters<ChannelIdMessageIdPath> & JsonBody<StartThreadFromMessageRequest>, ThreadChannelResponse >Route< & PathParameters< ChannelIdMessageIdPath > & JsonBody< StartThreadFromMessageRequest >, ThreadChannelResponse >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ messages/ bulk-delete -
Bulk delete messages
Route< & PathParameters<ChannelIdPath> & JsonBody<BulkDeleteMessagesRequest>, undefined >Route< & PathParameters<ChannelIdPath> & JsonBody< BulkDeleteMessagesRequest >, undefined >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ messages/ bulk-delete-mine -
Bulk delete my messages in channel
Route< & PathParameters<ChannelIdPath> & OptionalJsonBody<SudoVerificationSchema>, undefined >Route< & PathParameters<ChannelIdPath> & OptionalJsonBody< SudoVerificationSchema >, undefined >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ messages/ purge -
Purge all messages in personal notes
Route<PathParameters<ChannelIdPath>, MessagePurgeResponse>Route< PathParameters<ChannelIdPath>, MessagePurgeResponse >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ pins/ ack -
Acknowledge new pin notifications
Route<PathParameters<ChannelIdPath>, undefined>Route< PathParameters<ChannelIdPath>, undefined >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ post-data -
Get forum post data
Route< PathParameters<ChannelIdPath> & JsonBody<ThreadPostDataRequest>, ThreadPostDataResponse >Route< & PathParameters<ChannelIdPath> & JsonBody<ThreadPostDataRequest>, ThreadPostDataResponse >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ tags -
Create a forum tag
Route< PathParameters<ChannelIdPath> & JsonBody<ForumTagRequest>, ChannelResponse >Route< & PathParameters<ChannelIdPath> & JsonBody<ForumTagRequest>, ChannelResponse >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ threads -
Start a thread
Route< & PathParameters<ChannelIdPath> & JsonBody<StartThreadRequestBody>, StartForumThreadResponse >Route< & PathParameters<ChannelIdPath> & JsonBody<StartThreadRequestBody>, StartForumThreadResponse >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ typing -
Indicate typing activity
Route<PathParameters<ChannelIdPath>, undefined>Route< PathParameters<ChannelIdPath>, undefined >Described in Fluxer's documentation
POST /#channels/{channel_ id}/ webhooks -
Create webhook
Route< PathParameters<ChannelIdPath> & JsonBody<WebhookCreateRequest>, WebhookCreateResponse >Route< & PathParameters<ChannelIdPath> & JsonBody<WebhookCreateRequest>, WebhookCreateResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ channels -
Route< PathParameters<GuildIdPath> & JsonBody<ChannelCreateRequest>, ChannelResponse >Route< & PathParameters<GuildIdPath> & JsonBody<ChannelCreateRequest>, ChannelResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ delete -
Delete guild
Route< & PathParameters<GuildIdPath> & OptionalJsonBody<GuildDeleteRequest>, undefined >Route< & PathParameters<GuildIdPath> & OptionalJsonBody< GuildDeleteRequest >, undefined >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ discovery -
Apply for guild discovery
Route< & PathParameters<GuildIdPath> & JsonBody<DiscoveryApplicationRequest>, DiscoveryApplicationResponse >Route< & PathParameters<GuildIdPath> & JsonBody< DiscoveryApplicationRequest >, DiscoveryApplicationResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ emojis -
Create guild emoji
Route< PathParameters<GuildIdPath> & JsonBody<GuildEmojiCreateRequest>, GuildEmojiResponse >Route< & PathParameters<GuildIdPath> & JsonBody<GuildEmojiCreateRequest>, GuildEmojiResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ emojis/ bulk -
Bulk create guild emojis
Route< & PathParameters<GuildIdPath> & JsonBody<GuildEmojiBulkCreateRequest>, GuildEmojiBulkCreateResponse >Route< & PathParameters<GuildIdPath> & JsonBody< GuildEmojiBulkCreateRequest >, GuildEmojiBulkCreateResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ emojis/ clone -
Clone guild emoji
Route< PathParameters<GuildIdPath> & JsonBody<GuildEmojiCloneRequest>, GuildEmojiResponse >Route< & PathParameters<GuildIdPath> & JsonBody<GuildEmojiCloneRequest>, GuildEmojiResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ members-search -
Route< & PathParameters<GuildIdPath> & OptionalJsonBody<GuildMemberSearchRequest>, GuildMemberSearchResponse >Route< & PathParameters<GuildIdPath> & OptionalJsonBody< GuildMemberSearchRequest >, GuildMemberSearchResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ roles -
Route< PathParameters<GuildIdPath> & JsonBody<GuildRoleCreateRequest>, GuildRoleResponse >Route< & PathParameters<GuildIdPath> & JsonBody<GuildRoleCreateRequest>, GuildRoleResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ stickers -
Create guild sticker
Route< & PathParameters<GuildIdPath> & JsonBody<GuildStickerCreateRequest>, GuildStickerResponse >Route< & PathParameters<GuildIdPath> & JsonBody< GuildStickerCreateRequest >, GuildStickerResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ stickers/ bulk -
Bulk create guild stickers
Route< & PathParameters<GuildIdPath> & JsonBody<GuildStickerBulkCreateRequest>, GuildStickerBulkCreateResponse >Route< & PathParameters<GuildIdPath> & JsonBody< GuildStickerBulkCreateRequest >, GuildStickerBulkCreateResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ stickers/ clone -
Clone guild sticker
Route< & PathParameters<GuildIdPath> & JsonBody<GuildStickerCloneRequest>, GuildStickerResponse >Route< & PathParameters<GuildIdPath> & JsonBody< GuildStickerCloneRequest >, GuildStickerResponse >Described in Fluxer's documentation
POST /#guilds/{guild_ id}/ transfer-ownership -
Transfer guild ownership
Route< & PathParameters<GuildIdPath> & JsonBody<GuildTransferOwnershipWithVerificationRequest>, GuildResponse >Route< & PathParameters<GuildIdPath> & JsonBody< GuildTransferOwnershipWithVerificationRequest >, GuildResponse >Described in Fluxer's documentation
POST /#search/ messages -
Search messages
Route< OptionalJsonBody<GlobalSearchMessagesRequest>, MessageSearchResponse >Route< OptionalJsonBody< GlobalSearchMessagesRequest >, MessageSearchResponse >Described in Fluxer's documentation
POST /#users/@me/ channels -
Create private channel
Route<JsonBody<CreatePrivateChannelRequest>, ChannelResponse>Route< JsonBody< CreatePrivateChannelRequest >, ChannelResponse >Described in Fluxer's documentation
POST /#users/@me/ channels/ messages/ preload -
Preload messages for channels (alternative)
Route<JsonBody<PreloadMessagesRequest>, PreloadMessagesResponse>Route< JsonBody<PreloadMessagesRequest>, PreloadMessagesResponse >Described in Fluxer's documentation
POST /#users/@me/ guilds/{guild_ id}/ messages/ bulk-delete-mine -
Bulk delete my messages in guild
Route< & PathParameters<GuildIdPath> & OptionalJsonBody<SudoVerificationSchema>, undefined >Route< & PathParameters<GuildIdPath> & OptionalJsonBody< SudoVerificationSchema >, undefined >Described in Fluxer's documentation
POST /#users/@me/ preload-messages -
Preload messages for channels
Route<JsonBody<PreloadMessagesRequest>, PreloadMessagesResponse>Route< JsonBody<PreloadMessagesRequest>, PreloadMessagesResponse >Described in Fluxer's documentation
PUT /#channels/{channel_ id}/ messages/{message_ id}/ reactions/{emoji}/@me -
Add reaction to message
Route< & PathParameters<ChannelIdMessageIdEmojiPath> & QueryParameters<{ readonly session_id?: string }>, undefined >Route< & PathParameters< ChannelIdMessageIdEmojiPath > & QueryParameters< { readonly session_id?: string } >, undefined >Described in Fluxer's documentation
PUT /#channels/{channel_ id}/ permissions/{overwrite_ id} -
Set permission overwrite for channel
Route< & PathParameters<ChannelIdOverwriteIdPath> & JsonBody<PermissionOverwriteCreateRequest>, undefined >Route< & PathParameters< ChannelIdOverwriteIdPath > & JsonBody< PermissionOverwriteCreateRequest >, undefined >Described in Fluxer's documentation
PUT /#channels/{channel_ id}/ pins/{message_ id} -
Pin a message
Route<PathParameters<ChannelIdMessageIdPath>, undefined>Route< PathParameters< ChannelIdMessageIdPath >, undefined >Described in Fluxer's documentation
PUT /#channels/{channel_ id}/ recipients/{user_ id} -
Add recipient to group DM
Route<PathParameters<ChannelIdUserIdPath>, undefined>Route< PathParameters<ChannelIdUserIdPath>, undefined >Described in Fluxer's documentation
PUT /#channels/{channel_ id}/ tags/{tag_ id} -
Update a forum tag
Route< PathParameters<ChannelIdTagIdPath> & JsonBody<ForumTagRequest>, ChannelResponse >Route< & PathParameters<ChannelIdTagIdPath> & JsonBody<ForumTagRequest>, ChannelResponse >Described in Fluxer's documentation
PUT /#channels/{channel_ id}/ thread-members/{user_ id} -
Add a thread member
Route<PathParameters<ChannelIdUserIdPath>, undefined>Route< PathParameters<ChannelIdUserIdPath>, undefined >Described in Fluxer's documentation
PUT /#channels/{channel_ id}/ thread-members/@me -
Join a thread
Route<PathParameters<ChannelIdPath>, undefined>Route< PathParameters<ChannelIdPath>, undefined >Described in Fluxer's documentation
PUT /#guilds/{guild_ id}/ bans/{user_ id} -
Route< & PathParameters<GuildIdUserIdPath> & OptionalJsonBody<GuildBanCreateRequest>, undefined >Route< & PathParameters<GuildIdUserIdPath> & OptionalJsonBody< GuildBanCreateRequest >, undefined >Described in Fluxer's documentation
PUT /#guilds/{guild_ id}/ members/{user_ id}/ roles/{role_ id} -
Route<PathParameters<GuildIdUserIdRoleIdPath>, undefined>Route< PathParameters< GuildIdUserIdRoleIdPath >, undefined >Described in Fluxer's documentation
PUT /#users/@me/ channels/{channel_ id}/ pin -
Pin direct message channel
Route<PathParameters<ChannelIdPath>, undefined>Route< PathParameters<ChannelIdPath>, undefined >Described in Fluxer's documentation