Skip to content

Releases: botblock/JavaBotBlockAPI

v2.1.0: new Site enum

31 Jul 10:39
Compare
Choose a tag to compare

There is a new Site enum that can be used in combination with the get methods or the BotBlockAPI.

Example:

BotBlockAPI api = new BotBlockAPI.Builder()
    .addAuthToken(Site.LBOTS_ORG, "MyT0kEn123")
    .build();

Installation

Gradle

repositories{
    jcenter()
}

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

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>2.1.0</version>
  </dependency>
</dependencies>

v2.0.0: Updated JDA and added new methods

26 Jul 14:35
94d0669
Compare
Choose a tag to compare

This release has new GET methods to retrieve the bot info or botlist info.
JDA was also updated to v4 meaning this version is NOT backwards compatible.

Installation

Gradle

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

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

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>2.0.0</version>
  </dependency>
</dependencies>