Skip to content
This repository has been archived by the owner on Jul 26, 2019. It is now read-only.

v1.0.5: Updated minimal update delay

Latest
Compare
Choose a tag to compare
@Andre601 Andre601 released this 23 Jun 21:47
· 15 commits to master since this release

The minimal updateDelay is now 2 meaning that providing a number of less than 2 throws an IllegalArgumentException.
This was made to comply with BotBlocks ratelimit of 1 request every 120 seconds (2 minutes).

Installation

Gradle

repositories{
    maven { url = 'https://dl.bintray.com/andre601/maven' }
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '1.0.5'
}

Maven

<repositories>
  <repository>
    <id>jcenter</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>1.0.5</version>
  </dependency>
</dependencies>