Skip to content

v6.3.0: Checks for GET and POST support and more!

Choose a tag to compare

@Andre601 Andre601 released this 04 Nov 22:48
· 188 commits to master since this release
280767f

➕ Added

  • Site has been changed from an enum to a Class containing static instances to use.
    • Site instances now have HttpMethods for if they support GET and/or POST requests
  • Basic Logging using SLF4J which should allow printing warnings/errors for things like failed sites in POST requests rather than throwing an exception.

✏️ Changed

  • Site updated
  • Dependencies Updated
    • JDA updated to 4.2.0_214
  • DeprecatedSince now uses a major, minor and patch field for the version.
  • RatelimitedException renamed to RateLimitedException.
    • This class also now uses a JSONObject and the RuntimeException's super(String) to set an exception message.
    • getDelay() may now return -1 if the JSON was malformed.
    • getBotId(), getIp() and getRoute() may now return null if the JSON was malformed.