Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 6, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.dv8tion:JDA 5.0.0-beta.21 -> 5.0.0-beta.22 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

DV8FromTheWorld/JDA (net.dv8tion:JDA)

v5.0.0-beta.22: | Bulk ban, premium apps, bug fixes

Compare Source

Overview

This release adds some newer API features, like premium app subscriptions, bot banners, and bulk banning users.

Besides new features, this release also includes improved errors and bug fixes.

Premium App Subscriptions (#​2583)

If your bot is eligible for monetization, you can now use JDA to handle entitlements in interactions to restrict features. With event.replyWithPremiumRequired(), you can upsell a premium subscription to a user:

b306d1ccc7205d2291f4535f912a790e

Read more about entitlements and premium app subscriptions in the Discord Developer Docs.

Bulk Ban (#​2630)

You can now ban up to 200 users in one request using guild.ban(users, messageDeleteTimeframe).

This endpoint has a few quirks to keep in mind:

  • The BulkBanResponse includes failed users and banned users
  • If a user was already banned, they are in the failed users
  • If you don't have permissions to ban a user (higher role / owner), they also appear in failed users
  • The self user also appears in failed users
  • If all users "failed" you get an error response instead

New Features

Changes

Bug Fixes

Full Changelog: discord-jda/JDA@v5.0.0-beta.21...v5.0.0-beta.22

Installation

Gradle

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

Maven

<dependency> <groupId>net.dv8tion</groupId> <artifactId>JDA</artifactId> <version>5.0.0-beta.22</version> </dependency>

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@netlify
Copy link

netlify bot commented Apr 6, 2024

Deploy Preview for ree6-backend canceled.

Name Link
🔨 Latest commit a58782b
🔍 Latest deploy log https://app.netlify.com/sites/ree6-backend/deploys/6611c79f073be300088c7d2d
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 6, 2024

@DxsSucuk DxsSucuk merged commit 86e9b47 into master Apr 12, 2024
@renovate renovate bot deleted the renovate/net.dv8tion-jda-5.x branch April 12, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants