v5.0.0-beta.2
MinnDevelopment
released this
08 Dec 13:14
·
238 commits
to master
since this release
Overview
Small release to fix a few bugs and typing issues.
Support for Welcome Screens (#2264 / #1989)
You can now retrieve and manage the welcome screen of a guild. To modify a welcome screen, you can use Guild#modifyWelcomeScreen:
TextChannel rules = guild.getTextChannelsByName("rules", true).get(0);
ForumChannel help = guild.getForumChannelsByName("help-forum", true).get(0);
guild.modifyWelcomeScreen()
.setDescription("Welcome to our cool guild!")
.setWelcomeChannels(
GuildWelcomeScreen.Channel.of(rules, "Read our rules"),
GuildWelcomeScreen.Channel.of(help, "Ask for help in our forum", Emoji.fromUnicode("U+1F4AC"))
)
.queue();
New Features
- Add generic slowmode channel manager to slowmode channel interface by @Sanduhr32 in #2348
- Add guild welcome screens by @freya022 in #2264
Changes
- Make StringSelectMenuImpl#getOptions return unmodifiable list by @dkim19375 in #2344
- Bump jackson-core and jackson-databind from 2.13.2 to 2.14.1 by @MelaineGerard in #2337
Bug Fixes
- Remove code to rename guild_member to member by @MinnDevelopment in #2341
- Fix bug when updating a scheduled events location by @Mitmocc in #2349
Full Changelog: v5.0.0-beta.1...v5.0.0-beta.2
Installation
Gradle
repositories {
mavenCentral()
}
dependencies {
implementation("net.dv8tion:JDA:5.0.0-beta.2")
}
Maven
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>5.0.0-beta.2</version>
</dependency>