Package org.botblock.javabotblockapi.jda

This is the JDA module which is used to provide support for the Java Discord API (JDA) Library.
Make sure to install both the request library and the core library for this one to work!

Installation

Please replace API_VERSION with the latest release on Bintray.

Gradle (recommended)


 repositories{
     maven{ url = 'https://repo.codemc.io/repository/maven-public' }
 }

 dependencies{
     // Those two are required
     compile group: 'org.botblock', name: 'javabotblockapi-core', version: 'API_VERSION'
     compile group: 'org.botblock', name: 'javabotblockapi-request', version: 'API_VERSION'
     
     compile group: 'org.botblock', name: 'javabotblockapi-jda', version: 'API_VERSION'
 }
 

Maven


 <repositories>
     <repository>
         <id>codemc</id>
         <name>CodeMC-Nexus</name>
         <url>https://repo.codemc.io/repository/maven-public</url>
     </repository>
 </repositories>

 <dependencies>
     <!-- Those two are required -->
     <dependency>
         <groupId>org.botblock</groupId>
         <artifactId>javabotblockapi-core</artifactId>
         <version>API_VERSION</version>
     </dependency>
     <dependency>
         <groupId>org.botblock</groupId>
         <artifactId>javabotblockapi-request</artifactId>
         <version>API_VERSION</version>
     </dependency>
     
     <dependency>
         <groupId>org.botblock</groupId>
         <artifactId>javabotblockapi-jda</artifactId>
         <version>API_VERSION</version>
     </dependency>
 </dependencies>
 

Manual

We do not recommend using jar files directly and instead use one of the above dependency management systems.

If you still want to do it manually, or can't use one of the other option, head over to the GitHub releases page and download the jar files from there.

Note that you will not receive any support when using this method.