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

Releases: Andre601/JavaBotBlockAPI

v1.0.5: Updated minimal update delay

23 Jun 21:47
Compare
Choose a tag to compare

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

23 Jun 16:01
6f1a95d
Compare
Choose a tag to compare

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

23 Jun 14:46
6fb93e9
Compare
Choose a tag to compare

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

22 Jun 23:48
Compare
Choose a tag to compare

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

22 Jun 20:00
e7317e5
Compare
Choose a tag to compare

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>