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

v1.0.4: Changed RequestHandler

Compare
Choose a tag to compare
@Andre601 Andre601 released this 23 Jun 16:01
· 16 commits to master since this release
6f1a95d

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>