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
- Host: GitHub
- URL: https://github.com/duncte123/botcommons
- Owner: duncte123
- License: apache-2.0
- Created: 2018-04-16T09:10:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-31T09:36:07.000Z (about 2 years ago)
- Last Synced: 2024-05-02T04:18:42.131Z (about 2 years ago)
- Topics: bot, hacktoberfest, jda, jda-utilities, utilities
- Language: Java
- Homepage:
- Size: 521 KB
- Stars: 10
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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