Skip to content

Releases: botblock/JavaBotBlockAPI

v4.3.0: New GetAction added

12 Jan 23:22
Compare
Choose a tag to compare

Added new GetAction getBotListFeatures(String, Site|String).
This returns a JSONArray containing all features the provided bot list has.

Installation

Gradle

Use this in your build.gradle

dependencies{
    compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '4.3.0'
}

Maven

Use this in your pom.xml

<dependencies>
  <dependency>
    <groupId>org.botblock</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>4.3.0</version>
  </dependency>
</dependencies>

v4.2.5: Test release

11 Jan 17:07
Compare
Choose a tag to compare

This is just a test release to test the zipping and uploading of the generated jar files.

v4.2.4: Added ARCANE_BOTCENTER_XYZ and DBLISTA_PL

11 Jan 16:55
Compare
Choose a tag to compare

Added sites ARCANE_BOTCENTER_XYZ and DBLISTA_PL

Installation

Gradle

Use this in your build.gradle

dependencies{
    compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '4.2.4'
}

Maven

Use this in your pom.xml

<dependencies>
  <dependency>
    <groupId>org.botblock</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>4.2.4</version>
  </dependency>
</dependencies>

v4.2.3: Deprecated DISCORDBESTBOTS_XYZ

07 Jan 15:16
Compare
Choose a tag to compare

Site.DISCORDBESTBOTS_XYZ is now deprecated due to the merge of it into discordextremelist.xyz

Installation

Gradle

Use this in your build.gradle

dependencies{
    compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '4.2.3'
}

Maven

Use this in your pom.xml

<dependencies>
  <dependency>
    <groupId>org.botblock</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>4.2.3</version>
  </dependency>
</dependencies>

v4.2.2: Removed GLENNBOTLIST_XYZ

07 Jan 00:10
Compare
Choose a tag to compare

I removed GLENNBOTLIST_XYZ as it does not have any GET or POST api, therefore not supported by the BotBlock API.

On a side note is JavaBotBlockAPI back in jcenter, meaning you don't need the maven repo link anymore.

Installation

Gradle

Use this in your build.gradle

dependencies{
    compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '4.2.2'
}

Maven

Use this in your pom.xml

<dependencies>
  <dependency>
    <groupId>org.botblock</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>4.2.2</version>
  </dependency>
</dependencies>

v4.2.1: Removed unused import.

05 Jan 16:56
Compare
Choose a tag to compare

A import from org.apache was somehow added to the project. It's now removed.

Installation

Gradle

Use this in your build.gradle

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

dependencies{
    compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '4.2.1'
}

Maven

Use this in your pom.xml

<repositories>
  <repository>
    <id>javabotblockapi</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>org.botblock</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>4.2.1</version>
  </dependency>
</dependencies>

v4.2.0: Added new GET methods

05 Jan 16:52
Compare
Choose a tag to compare

Added new get methods to GetAction

  • getDiscriminator(Long|String): Returns the discriminator of the bot or an empty String.
  • getGitHub(Long|String): Returns GitHub url or an empty String.
  • getLibrary(Long|String): Returns the library used by the bot or an empty String.
  • getName(Long|String): Returns the name of the bot or an empty String.
  • getPrefix(Long|String): Returns the command prefix of the bot or an empty String.
  • getSupportLink(Long|String): Returns the support link (i.e. Discord invite) or an empty String.
  • getWebsite(Long|String): Returns the website link of the bot or an empty String.

Installation

Gradle

Use this in your build.gradle

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

dependencies{
    compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '4.2.0'
}

Maven

Use this in your pom.xml

<repositories>
  <repository>
    <id>javabotblockapi</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>org.botblock</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>4.2.0</version>
  </dependency>
</dependencies>

v4.1.1: Minor changes to DeprecatedSince

04 Jan 18:47
Compare
Choose a tag to compare

@DeprecatedSince now has different syntax for options.
It can now be @DeprecatedSince(version = "version") or @DeprecatedSince(version = "version", replacement = "replacement")

Installation

Gradle

Use this in your build.gradle

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

dependencies{
    compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '4.1.1'
}

Maven

Use this in your pom.xml

<repositories>
  <repository>
    <id>javabotblockapi</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>org.botblock</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>4.1.1</version>
  </dependency>
</dependencies>

v4.1.0: Merged ReplacedWith into DeprecatedSince

04 Jan 16:28
Compare
Choose a tag to compare

I merged the @ReplacedWith annotation into the @DeprecatedSince annotation.

The annotation may now display two arguments: The first one being the version of deprecation and the second an optional replacement for the method/field.

Installation

Gradle

Use this in your build.gradle

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

dependencies{
    compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '4.1.0'
}

Maven

Use this in your pom.xml

<repositories>
  <repository>
    <id>javabotblockapi</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>org.botblock</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>4.1.0</version>
  </dependency>
</dependencies>

v4.0.4: Broken downloads

03 Jan 20:51
Compare
Choose a tag to compare

Sorry for all the updates, but it seems that the wrapper is no longer part of jcenter() due to it being a different package?
For now, update the pom.xml/build.gradle, to the below ones.

Installation

Gradle

Use this in your build.gradle

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

dependencies{
    compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '4.0.4'
}

Maven

Use this in your pom.xml

<repositories>
  <repository>
    <id>javabotblockapi</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>org.botblock</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>4.0.4</version>
  </dependency>
</dependencies>