Releases: Mokulu/discord-oauth2-api
Releases · Mokulu/discord-oauth2-api
Discord OAuth2 API v1.0.4
Discord OAuth2 API v1.0.3
What's Changed
Permission
- Added new permission enum values
- Deprecated
MANAGE_EMOJIS_AND_STICKERS
, useMANAGE_GUILD_EXPRESSIONS
- Removed
MANAGE_EMOJIS
, useMANAGE_GUILD_EXPRESSIONS
- Deprecated
START_EMBEDDED_ACTIVITIES
, useUSE_EMBEDDED_ACTIVITIES
- Removed
value()
method - Removed
getValue()
method
User
- Updated
getFullUsername()
method to not return the discriminator portion if it is null, empty, or"0"
. - Added
getGlobalName()
method - Added
getBanner()
method - Added
getAccentColor()
method - Added
getPublicFlags()
method - Added
getPublicFlagsList()
method - Added
getFlags()
method - Added
getAvatarDecoration()
method
Flag
- Added
Flag
enum
Bumped dependencies.
Added JavaDocs.
Discord OAuth2 API v1.0.2
What's Changed
Guild
permissions
now contains the API value ofpermissions_new
and is now type Long.
Permission
- Added new permission enum values
- Deprecated
MANAGE_EMOJIS
, useMANAGE_EMOJIS_AND_STICKERS
Bumped dependencies.
Discord OAuth2 API v1.0.1
- Updated the Discord API base uri to
discord.com/api
.
Discord OAuth2 API v1.0
A small Discord OAuth2 API wrapper for Java.
Features
- Generates the authorization URL.
- Code authorization for access token and refresh token.
- Refresh the access token with refresh token.
- Get the user, guilds, and connection info of a user from access token.