v4.2.0: Added new GET methods
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>