An open API service indexing awesome lists of open source software.

https://github.com/duncte123/botcommons

Things I frequently need in my JDA bots
https://github.com/duncte123/botcommons

bot hacktoberfest jda jda-utilities utilities

Last synced: 9 months ago
JSON representation

Things I frequently need in my JDA bots

Awesome Lists containing this project

README

          

# BotCommons [![BuildStatus][circleImage]][circleLink]
A set of tools for the [JDA] library

## Adding to your project
The current latest version is: [ ![version][] ][download]

## Usage

Usage instructions can be found [here][usage] with some examples in the [tests folder](src/test/java/me/duncte123/botcommons)

## 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][] ][download]

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

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

#### With maven

```XML

m2-duncte123
m2-duncte123
https://m2.duncte123.dev/releases

me.duncte123
botCommons
[VERSION]

```

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

[JDA]: https://github.com/DV8FromTheWorld/JDA
[version]: https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fm2.duncte123.dev%2Freleases%2Fme%2Fduncte123%2FbotCommons%2Fmaven-metadata.xml
[download]: https://m2.duncte123.dev/#/releases/me/duncte123/botCommons
[usage]: USAGE.md
[circleLink]: https://github.com/duncte123/botCommons
[circleImage]: https://github.com/duncte123/botCommons/workflows/release-botcommons/badge.svg