v3.0.0-beta.10 | Hot restarting module
Overview
This release adds hot restarting and a few fixes. The wiki has also been greatly updated, feedback is welcome.
Added hot restarting (#232)
This new development-only module restarts your app automatically upon build, while keeping the same JVM, leading to much faster restarts, as it doesn't need to recompile most of the code.
Look at the README for more details.
Deprecations
Localization
getDiscordLocaleof all locale providers (UserLocaleProvider,GuildLocaleProvider,TextCommandLocaleProvider) were deprecated- You must implement
getLocaleinstead
- You must implement
Event waiter
BConfig#ignoredEventIntentswas deprecated- This has been replaced by
EventWaiterBuilder#ignoreMissingIntents
- This has been replaced by
Changes
- Updated to JDA 6.3.2
- Updated to Jackson 2.21.1
Fixes
Database
- Fixed schema not being reset-ed correctly when returning to the connection pool in some cases
Don't hesitate to check out the examples and the wiki.
Full Changelog: v3.0.0-beta.9...v3.0.0-beta.10
Installation
As a reminder, the minimum Java version supported is Java 17.
Kotlin Gradle
repositories {
mavenCentral()
}
dependencies {
implementation("io.github.freya022:BotCommands:3.0.0-beta.10")
}Maven
<dependency>
<groupId>io.github.freya022</groupId>
<artifactId>BotCommands</artifactId>
<version>3.0.0-beta.10</version>
</dependency>