Skip to content

duncte123/botCommons

Repository files navigation

BotCommons BuildStatus

A set of tools for the JDA library

Adding to your project

The current latest version is: version

Usage

Usage instructions can be found here with some examples in the tests folder

Bot not shutting down?

A shutdown method was created in the BotCommons class.
This method also accepts your JDA or ShardManager instance for killing the threads that OkHttp created, because of these running threads your bot will not shut down.

With gradle

version

repositories {
    maven {
        name 'm2-duncte123'
        url 'https://m2.duncte123.dev/releases'
    }
}

dependencies {
    implementation group: 'me.duncte123', name: 'botCommons', version: '[VERSION]'
}

With maven

<repository>
    <id>m2-duncte123</id>
    <name>m2-duncte123</name>
    <url>https://m2.duncte123.dev/releases</url>
</repository>

<dependency>
  <groupId>me.duncte123</groupId>
  <artifactId>botCommons</artifactId>
  <version>[VERSION]</version>
</dependency>

Make sure to replace [VERSION] with the version listed above.

Releases

No releases published

Packages

No packages published