Skip to content

v5.2.0: [BREAKING] Constructor changes

Choose a tag to compare

@Andre601 Andre601 released this 01 Jun 18:01
· 398 commits to master since this release

This version contains breaking changes!

  • Deprecated Constructors:
    • BotBlockAPI(Map<String, String>
    • GetBotAction()
    • GetBotAction(boolean)
    • GetListAction()
    • GetListAction(boolean)
    • PostAction()
  • New Constructors:
    • GetBotAction(String)
    • GetBotAction(boolean, String)
    • GetBotAction(boolean, String, String)
    • GetListAction(String)
    • GetListAction(boolean, String)
    • GetListAction(boolean, String, String)
    • PostAction(String)
    • PostAction(String, String)
  • Site updated:
    • Removed CLOUD_BOTLIST_XYZ
    • Removed CLOUDLIST_XYZ
    • Removed DISCORDBOT_WORLD
    • Removed DIVINEDISCORDBOTS_COM
    • Removed LBOTS_ORG
  • Dependencies updated:
    • JDA: 4.1.1_154 to 4.1.1_156
    • JSON: 20190722 to 20200518

Installation

Gradle

Use this in your build.gradle

dependencies{
    compile 'org.botblock:JavaBotBlockAPI:5.2.0'
}

Maven

Use this in your pom.xml

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