Skip to content

Releases: botblock/JavaBotBlockAPI

v3.0.6: Fix build.gradle (for real this time)

15 Dec 23:34
Compare
Choose a tag to compare

no comment provided

Installation

Gradle

Use this in your build.gradle

repositories{
    jcenter()
}

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

Maven

Use this in your pom.xml

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>3.0.6</version>
  </dependency>
</dependencies>

v3.0.5: Fixing broken build.gradle

15 Dec 23:27
Compare
Choose a tag to compare

This fixes the build.gradle (hopefully) and should make GitHub Actions work fine again.

Installation

Gradle

Use this in your build.gradle

repositories{
    jcenter()
}

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

Maven

Use this in your pom.xml

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>3.0.5</version>
  </dependency>
</dependencies>

v3.0.4: Removed RequestHandler

15 Dec 23:18
Compare
Choose a tag to compare

Like announced in an earlier release was the RequestHandler located under com.andre601.javabotblockapi now removed!
You need to use the PostAction or GetAction class now for all POST and GET actions.

Installation

Gradle

Use this in your build.gradle

repositories{
    jcenter()
}

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

Maven

Use this in your pom.xml

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>3.0.4</version>
  </dependency>
</dependencies>

v3.0.3

05 Dec 09:53
a1df323
Compare
Choose a tag to compare

No real changes compared to the other release.
I just forgot to change the version number in the build.gradle from 3.0.1_tb1 to 3.0.2 which is now 3.0.3

Installation

Gradle

Use this in your build.gradle

repositories{
    jcenter()
}

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

Maven

Use this in your pom.xml

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>3.0.3</version>
  </dependency>
</dependencies>

v3.0.2: Update dependencies [INVALID]

05 Dec 09:47
cef0551
Compare
Choose a tag to compare

Invalid Version!

Please use version 3.0.3 as this version is not available on Bintray!

This update bumps JDA from 4.0.0_61 to 4.0.0_70

Installation

Gradle

Use this in your build.gradle

repositories{
    jcenter()
}

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

Maven

Use this in your pom.xml

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>3.0.2</version>
  </dependency>
</dependencies>

v3.0.1_tb1

19 Nov 14:35
b085121
Compare
Choose a tag to compare

This is a test build (hence the _tb1 in the version) to see and check if the GitHub packages integration does work.

Please do NOT download this version (It won't be published on bintray anyway.)

v3.0.1: Site.DISCORDBOTS_ORG deprecated.

17 Nov 19:52
Compare
Choose a tag to compare

Site.DISCORDBOTS_ORG was deprecated.
You should switch to Site.TOP_GG now.

Installation

Gradle

repositories{
    jcenter()
}

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

Maven

For maven use this code snippet:

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>3.0.1</version>
  </dependency>
</dependencies>

v3.0.0: Recode of JavaBotBlockAPI

16 Nov 13:15
d968fd9
Compare
Choose a tag to compare

JavaBotBlockAPI was now recoded.
This update is a breaking change. You have to update your code in order to use this new version!

Summary of changes

  • The RequestHandler located under com.andre601.javabotblockapi is now deprecated and will be removed in a future update.
    • The classes GetAction and PostAction were added as a replacement for it and can be found under com.andre601.javabotblockapi.requests
  • All GET methods that used a JDA or ShardManager instance got removed. Supported now are only Long and String. This doesn't affect the POST methods.
  • Two new methods were added to the GET methods: getInvite and getServerCount. They are used to get the OAuth invite of the bot or its server count respectively.
  • The different GET methods should now return null most of the time instead of throwing an error. RatelimitedException and other exceptions for special cases will still appear.
  • Several methods got renamed.
    • getBotInfo and getBotInfos are now called getBotListInfo
    • getAll is now getBotInfo
    • startAutoPosting is now enableAutoPost
    • stopAutoPosting is now disableAutoPost
  • Dependencies were updated to their latest version as of this release.

Please report any errors you encounter with this release! I do not give any guarantee of this release working without issues.

Installation

Gradle

repositories{
    jcenter()
}

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

Maven

For maven use this code snippet:

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>3.0.0</version>
  </dependency>
</dependencies>

v2.4.0: Testing of GitHub packages

24 Oct 11:42
ac84b35
Compare
Choose a tag to compare
Pre-release

This release is a test of GitHub packages, to see if it publishes the stuff.

Result: Build failed

v2.3.9

18 Oct 15:30
Compare
Choose a tag to compare

Dependencies were updated thanks to Dependabot.

Installation

Gradle

repositories{
    jcenter()
}

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

Maven

For maven use this code snippet:

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.3.9</version>
  </dependency>
</dependencies>