Skip to content

Releases: Mokulu/discord-oauth2-api

Discord OAuth2 API v1.0.4

08 Feb 22:18
5685c2e
Compare
Choose a tag to compare

What's Changed

User

  • Added getPremiumType() method

Bumped dependencies.

Thanks to @EinsJustinn

Discord OAuth2 API v1.0.3

12 Jan 22:35
56f8681
Compare
Choose a tag to compare

What's Changed

Permission

  • Added new permission enum values
  • Deprecated MANAGE_EMOJIS_AND_STICKERS, use MANAGE_GUILD_EXPRESSIONS
  • Removed MANAGE_EMOJIS, use MANAGE_GUILD_EXPRESSIONS
  • Deprecated START_EMBEDDED_ACTIVITIES, use USE_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

26 Nov 07:27
d152a2b
Compare
Choose a tag to compare

What's Changed

Guild

  • permissions now contains the API value of permissions_new and is now type Long.

Permission

  • Added new permission enum values
  • Deprecated MANAGE_EMOJIS, use MANAGE_EMOJIS_AND_STICKERS

Bumped dependencies.

Discord OAuth2 API v1.0.1

24 Aug 17:27
50980ab
Compare
Choose a tag to compare
  • Updated the Discord API base uri to discord.com/api.

Discord OAuth2 API v1.0

11 Jan 08:39
Compare
Choose a tag to compare

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.