This repository was archived by the owner on Jul 26, 2019. It is now read-only.
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>