An implementation of the discord.bio API in Java.
You'll need to install the build you want. All are considered dev builds unless otherwise specified in a Release.
Replace [version]
with the latest build found on the Jenkins page. See dbio4j-[version string].jar.
First, you need Chew's Maven repository
<repository>
<id>chew-jenkins</id>
<url>https://jenkins.chew.pw/plugin/repository/everything/</url>
</repository>
<dependency>
<groupId>bio.discord.api</groupId>
<artifactId>dbio4j</artifactId>
<version>[version]</version>
</dependency>
First you need Chew's Maven repository
repositories {
maven {
url 'https://jenkins.chew.pw/plugin/repository/everything/'
}
}
Then you need the dependency
dependencies {
compileOnly 'bio.discord.api:dbio4j:[version]'
}
Builds remain there indefinitely, but it's always best to stay up to date.
Alternatively, on the same Jenkins link, you can manually download the JAR yourself for safe keeping, in case it does go down.
Using the API is simple. Here's an example to get you started!
You can view the Javadocs here.