discord-api-docs
discord-api-docs copied to clipboard
Official Discord API Documentation
### Description According to [RFC 6749 §5.2](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2), the server should respond with `invalid_request` if the request is missing required parameters: ``` invalid_request The request is missing a required parameter, includes...
Adds some npm boilerplate to make local link checking easier.
### Description `matched_content` and `content` are documented as optional, but as of a recent change (like 3-4 days), are no longer provided when the message content intent is disabled. This...
### Description String options can have min_length be set to more than max_length, making the option impossible to provide, and possibly the entire command if this argument is required. ###...
### Description Oauth2 url generator is missing some of the available scopes ### Steps to Reproduce - Go to https://discord.com/developers/applications - Click OAuth2 and URL Generator. ### Expected Behavior Listed...
### Description When using bearer tokens to update command permissions missing `application.commands.permissions.update` scope make api return code 40001 instead of 50026. This causes confusion around why the respective request fails....
This remove a useless redirect and allows for a nicer error when an invalid scope is sent ([this](https://discord.com/oauth2/authorize?response_type=code&client_id=545364944258990091&scope=identity) vs [this](https://discord.com/api/oauth2/authorize?response_type=code&client_id=545364944258990091&scope=identity)). The URL generator on the dev portal can also be...
### Description I will admit, this is a slight misuse of slash command argument expectations. The use I've made for a discord bot uses both Discord mentions as well as...
### Description On the [Applications section of the developer portal](https://discord.com/developers/applications), when sorting applications by "Date Created", applications created after July 22 (with a 19-digit ID) are sorted first, while they...