3.0.0
Overview
This release marks a breaking point in the development of jda-commands.
The past work on version 2.3.0 (and respectively the first two alpha releases) tried to combine both systems: text input based commands and the new interaction based commands. Keeping backwards- and cross-compatibility was a desirable but ambitious goal from the very beginning. However, with JDA 5 adding more and more breaking changes and new interaction types like Modals, this task became nearly impossible. Thus, I've decided to split things up:
-
This and future v3 releases are based on jda-commands 2.2.0 and will only add longterm support for JDA 5. There will be no new features added.
-
At the same time I'll be working on v4, which will drop support for text commands and will only be based on interactions.
-
2.3.0-alpha.2 will be left untouched in its current state.
1) New Features
N/A
2) Changes
-
Added type adapters for new channel types (
AudioChannel
,GuildChannel
,GuildMessageChannel
,NewsChannel
,StageChannel
,ThreadChannel
,VoiceChannel
) -
changed
Message
toMessageCreateData
in the following interfaces or classes:MessageSender
andDefaultMessageSender
ErrorMessageFactory
,DefaultErrorMessageFactory
andJsonErrorMessageFactory
HelpMessageFactory
,DefaultHelpMessageFactory
andJsonHelpMessageFactory
CommandEvent
CommandContext
-
EmbedDTO#toMessage
has been deprectated and replaced byEmbedDTO#toMessageCreateData()
3) Bug Fixes
N/A
4) Internal changes
N/A
You can find the complete changelog here.
Also checkout the Wiki or the JavaDoc.
Maven
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.Kaktushose</groupId>
<artifactId>jda-commands</artifactId>
<version>v3.0.0</version>
</dependency>
Gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.Kaktushose:jda-commands:v3.0.0'
}