This repository has been archived by the owner on Jul 26, 2019. It is now read-only.
Releases: Andre601/JavaBotBlockAPI
Releases · Andre601/JavaBotBlockAPI
v1.0.5: Updated minimal update delay
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>
v1.0.4: Changed RequestHandler
RequestHandler no longer allows values to be provided through itself. Instead, you have to use the postGuilds and startAutoPosting methods respectively.
Example:
// Old method
RequestHandler handler = new RequestHandler(ShardManager, BotBlockAPI);
handler.postGuilds();
// New method
RequestHandler handler = new RequestHandler();
handler.postGuilds(ShardManager, BotBlockAPI);
Installation
Gradle
repositories{
maven { url = 'https://dl.bintray.com/andre601/maven' }
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '1.0.4'
}
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.4</version>
</dependency>
</dependencies>
v1.0.3: Fixing JSONException when BotBlock.org has no failure object
There was an uncatched JSONException when BotBlock.org doesn't return a failure object in its JSON, causing things like Schedulers to break silently (No errors shown).
This should be fixed now.
Yes I skiped v1.0.2
Installation
Gradle
repositories{
maven { url = 'https://dl.bintray.com/andre601/maven' }
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '1.0.3'
}
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.3</version>
</dependency>
</dependencies>
v1.0.1: Making BotLockAPI.Builder static
Made BotBlockAPI.Builder
static
Installation
Gradle
repositories{
maven { url = 'https://dl.bintray.com/andre601/maven' }
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '1.0.1'
}
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.1</version>
</dependency>
</dependencies>
V1: First release
This is the first release of JavaBotBlockAPI, the new updated fork of BotBlock4J
Installation
Gradle
repositories{
jcenter()
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '{version}'
}
Maven
<repositories>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.andre601</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>{version}</version>
</dependency>
</dependencies>