Releases: jasonlessenich/DIH4JDA
Hotfix v1.4.1 – Made handleSlashCommand non-abstract and improved Error Messages
Changes
- made
ExecutableCommand#handleSlashCommand
non-abstract to allow Base Commands that are not meant to be executed - improved Error Messages
- moved
AutoCompleteHandler
&ModalHandler
to their correct packages
Full Changelog: v1.4...v1.4.1
Installation
Maven
Add the JitPack repository to your pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add the dependency
<dependency>
<groupId>com.github.DynxstyGIT</groupId>
<artifactId>DIH4JDA</artifactId>
<version>1.4.1</version>
</dependency>
Gradle
Add the JitPack repository to your build.gradle
repositories {
[...]
maven { url 'https://jitpack.io' }
}
Add the dependency
dependencies {
[...]
implementation 'com.github.DynxstyGIT:DIH4JDA:1.4.1'
}
Release v1.4 – Interaction & AutoComplete Handlers & some Cleanup
Changes
- NEW: Easily handle Interactions using the new Interaction & AutoComplete Handlers.
- Added
AutoCompleteHandler (ExecutableCommand#enableAutoCompleteHandling)
- Added
ButtonHandler (ExecutableCommand#handleButtonIds(String...))
- Added
SelectMenuHandler (ExecutableCommand#handleSelectMenuIds(String...))
- Added
ModalHandler (ExecutableCommand#handleModalIds(String...))
- Added
ComponentIdBuilder
- Added
- The
SlashCommand
interface has been replaced byExecutableCommand#handleSlashCommand(SlashCommandInteractionEvent)
- Major Cleanup
Full Changelog: v1.3...v1.4
Installation
Maven
Add the JitPack repository to your pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add the dependency
<dependency>
<groupId>com.github.DynxstyGIT</groupId>
<artifactId>DIH4JDA</artifactId>
<version>1.4</version>
</dependency>
Gradle
Add the JitPack repository to your build.gradle
repositories {
[...]
maven { url 'https://jitpack.io' }
}
Add the dependency
dependencies {
[...]
implementation 'com.github.DynxstyGIT:DIH4JDA:1.4'
}
Release v1.3 – Smart Queuing
Version 1.3 adds support for Smart Queue, a system that automatically checks for existing global commands and decides whether it should update or leave them as they are.
Installation
Maven
Add the JitPack repository to your pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add the dependency
<dependency>
<groupId>com.github.DynxstyGIT</groupId>
<artifactId>DIH4JDA</artifactId>
<version>1.3</version>
</dependency>
Gradle
Add the JitPack repository to your build.gradle
repositories {
[...]
maven { url 'https://jitpack.io' }
}
Add the dependency
dependencies {
[...]
implementation 'com.github.DynxstyGIT:DIH4JDA:1.3'
}
`` `
Release v1.2 – Command Privileges & Logging
- added support for Command Privileges
- refactored logging & added the ability to disable certain logging types
What's Changed
- Release v1.2 – Command Privileges & Logging by @DynxstyGIT in #17
Full Changelog: 1.0_002...1.2
Installation
Maven
Add the JitPack repository to your pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add the dependency (Make sure to replace ${DIH4JDA_VERSION}
with the latest version)
<dependency>
<groupId>com.github.DynxstyGIT</groupId>
<artifactId>DIH4JDA</artifactId>
<version>1.2</version>
</dependency>
Gradle
Add the JitPack repository to your build.gradle
repositories {
[...]
maven { url 'https://jitpack.io' }
}
Add the dependency (Make sure to replace ${DIH4JDA_VERSION}
with the latest version)
dependencies {
[...]
implementation 'com.github.DynxstyGIT:DIH4JDA:1.2'
}
Release v1.1_003 – Refactored Command Registration
Release v1.1_002 – JDA 5.0.0-alpha.7
Release v1.1_001 – JDA 5.0.0-alpha.6
- upgraded to
net.dv8tion:JDA:5.0.0-alpha.6
- fixed & updated
README.md
- made
InteractionHandler#register
not asynchronous
Full Changelog: 1.0_002...1.1_001
Release v1.1 – Context Menu Commands
Merge pull request #10 from DynxstyGIT/dev Add support for Context Commands
Release v1.0 – DIH4JDA
Merge pull request #6 from DynxstyGIT/dev Release v1.0
Release v1.0_002
updated version number