discord-oauth2 icon indicating copy to clipboard operation
discord-oauth2 copied to clipboard

Discord's OAuth2 API wrapper.

Results 6 discord-oauth2 issues
Sort by recently updated
recently updated
newest added

TokenRequestResult can include a full Guild object when using the `bot` scope: https://canary.discord.com/developers/docs/topics/oauth2#advanced-bot-authorization-extended-bot-authorization-access-token-example Might be useful to look into [discordjs/discord-api-types](https://github.com/discordjs/discord-api-types) to export the types.

Added `integrationType` to `generateAuthUrl` for the [installation context](https://discord.com/developers/docs/resources/application#installation-context) used by [user-installable apps preview](https://discord.com/developers/docs/change-log#userinstallable-apps-preview).

# What does this PR does ? - Change Discord API version to 10 ( previously 9 ) - Apply some eslint recommendations

https://discord.com/developers/docs/resources/user#get-current-user-application-role-connection Made based on Discord documentation, I didn't test role connections.

https://discord.com/developers/docs/topics/oauth2#get-current-authorization-information Function name could possibly be improved.