Skip to content

v1.1.0: First working release

Compare
Choose a tag to compare
@Andre601 Andre601 released this 06 May 11:47
  • Fixed invalid path for requests
  • Fixed Commands not being valid JSON
  • Fixed invalid Header for POST requests

All post methods now throw the IOException and RatelimitedException instead of catching them and printing the stack trace.
This means you have to surround the methods using a try-catch.

<repositories>
  <repository>
    <id>Bintray</id>
    <url>https://jcenter.bintray.com</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>net.discordservices</groupId>
    <artifactId>DServices4J</artifactId>
    <version>1.1.0</version>
  </dependency>
</dependencies>
repositories{
  jcenter()
}

dependencies{
  implementation 'net.discordservices:DServices4J:1.1.0'
}