The Wayback Machine - https://web.archive.org/web/20201123040407/https://github.com/duncte123/botCommons
Skip to content
master
Go to file
Code

README.md

BotCommons CircleCI

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

repositories {
    jcenter()
}

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

With maven

<repository>
    <id>jcenter</id>
    <name>jcenter-bintray</name>
    <url>https://jcenter.bintray.com</url>
</repository>

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

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

About

Methods commonly needed in JDA bots

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.