This release adds some new features for applications. We've also started working on more compliance tests to make contributing and reviewing changes easier.
The interaction response replyWithPremiumRequired is being phased out in favor of custom messages with a new button style Button.premium(sku) to upsell specific premium features instead.
You can change your code to a simple reply(content) with this button as a component.
event.reply("This feature is only available for premium users.")
.addActionRow(Button.primary(SkuSnowflake.fromId(PREMIUM_FEATURE_SKU)))
.setEphemeral(true)
</tr></table>
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps net.dv8tion:JDA from 5.0.0-beta.21 to 5.2.1.
Release notes
Sourced from net.dv8tion:JDA's releases.
... (truncated)
Commits
39e1a6e
Bump version to 5.2.1411d0c5
Handle user in EntityBuilder#createApplicationEmoji as optional (#2769)51f907c
Ensure label cannot be null in ButtonImpl (#2771)466a66b
Fix javadoc typos in MessageRequest (#2768)ee7b6b9
Correctly handle disabled intent in setEnabledIntents (#2767)53272b6
Fix GuildManager#setSafetyAlertsChannel (#2765)edb7991
Fix missing or incorrect copyright headers (#2766)26e1ea2
Bump version to 5.2.02958960
Add tests for PermissionUtil (#2764)820d56d
Remove deprecated symbols with deadline 5.1.0 (#2763)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show