v1.1.1: Added internal caching
The wrapper now has internal caching that keeps requests towards specific endpoints for 5 seconds before allowing another request.
This is to work with the rate limit of Discordservices, which is 10 requests/30 seconds (1/3 seconds on average).
<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.1</version>
</dependency>
</dependencies>
repositories{
jcenter()
}
dependencies{
implementation 'net.discordservices:DServices4J:1.1.1'
}