Skip to content

v5.0.0-alpha.5 | Interactions Rework

Compare
Choose a tag to compare
@DV8FromTheWorld DV8FromTheWorld released this 29 Jan 18:26
· 465 commits to master since this release
374c061

Changelog

New Features

Interactions Rework

In this release we completely reworked how interactions work in JDA. The changes are significant, but they also bring with them a lot of improvements and new features. I would highly suggest that users take a look at the migration guide provided in the PR to better understand the changes.

Summary:

  • Reworks of:
    • Slash Commands
    • Select Menus
    • Buttons
  • Introduction of new functionality:
    • User Context Commands
    • Message Context Commands
    • Slash Command Auto Complete
    • An improved hierarchy for Interactions
    • An improved hierarchy for Components

Changes

  • Lots of documentation around threads by @oliver276 in #1838
  • Move requestToSpeak to StageChannel by @MinnDevelopment in #1978
  • ThreadChannel#getTimeCreated is now accurate for Threads created after 2022/01/22 by @caneleex in #1996
  • Limit new thread message count to 50 by @freya022 in #1980
  • ICategorizableChannel#getParentCategoryId now correctly returns null if not in a category by @Sanduhr32 in #1993
  • Change MessageEmbed#getUrl docs to mention representing the title url by @caneleex in #1975
  • Fixes setInvitable in ThreadChannelManager by @oliver276 in #2000

Removed

  • N/A

Full Changelog: v5.0.0-alpha.4...v5.0.0-alpha.5

Installation

Gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation("net.dv8tion:JDA:5.0.0-alpha.5")
}

Maven

<dependency>
    <groupId>net.dv8tion</groupId>
    <artifactId>JDA</artifactId>
    <version>5.0.0-alpha.5</version> 
</dependency>