You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now include checkboxes and radio groups in your modals:
Modal.create("modal", "Welcome Screening")
.addComponents(
Label.of(
"How did you find this server?",
RadioGroup.create("radio")
.addOption("I was told by a friend", "friend")
.addOption("I found it online", "online")
.addOption("Other", "other")
.build()),
Label.of(
"Server Rules",
CheckboxGroup.create("checkbox-group")
.addOption(
"I've read the server rules and agree to follow them.", "rule-checkbox")
.setMinValues(1)
.build()))
.build();
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.3.2→6.4.09.4.0→9.4.1Release Notes
discord-jda/JDA (net.dv8tion:JDA)
v6.4.0Overview
This release adds support for new checkbox and radio groups in modals as well as support for voice channel effects and soundboards.
Checkboxes and Radio Groups (#3010)
You can now include checkboxes and radio groups in your modals:
When a user submits a modal with a checkbox group, the selected values can be accessed in the
ModalInteractionEventwithgetValue(groupId).getAsStringList()and radio groups usinggetValue(groupId).getAsString().New Features
Changes
ANIMATED_WEBPfor all animated assets by @freya022 in #3036CREATE_*permissions when managing/deleting our own events/emojis/stickers by @freya022 in #3061Full Changelog: discord-jda/JDA@v6.3.2...v6.4.0
Installation
Gradle
Maven
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.