jaoafa / jaoTone

🎼 Discord MusicBot for jMS Gamers Club
https://jaoafa.github.io/jaoTone/
2 stars 1 forks source link

fix(deps): update dependency net.dv8tion:jda to v5.0.2 #137

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.dv8tion:JDA 5.0.1 -> 5.0.2 age adoption passing confidence

Release Notes

discord-jda/JDA (net.dv8tion:JDA) ### [`v5.0.2`](https://togithub.com/discord-jda/JDA/releases/tag/v5.0.2): | Single time event listener ### Overview This release includes some bug fixes as well as a new event listener feature to add a one-time-use event listener. ##### Once Event Listener ([#​2683](https://togithub.com/discord-jda/JDA/issues/2683)) A common problem that developers run into, is "waiting" for a specific event in the context of some command. For instance, waiting for a user to add a reaction or reply with a message in response to some prompt. This can now be achieved using the new [listenOnce](https://docs.jda.wiki/net/dv8tion/jda/api/JDA.html#listenOnce\(java.lang.Class\)) event listener: ```java // listen for a message event jda.listenOnce(MessageReceivedEvent.class) // filter for specific event .filter(event -> event.getChannel().equals(channel)) .filter(event -> event.getAuthor().equals(user)) // handle timeout .timeout(timeout, () -> hook.editOriginal("Timeout!").queue()) // subscribe to first event that matches filters .subscribe(event -> { hook.editOriginal("You sent: " + event.getMessage().getContentRaw()).queue(); }); ``` #### New Features - Add `TeamMember.RoleType` by [@​freya022](https://togithub.com/freya022) in [https://github.com/discord-jda/JDA/pull/2703](https://togithub.com/discord-jda/JDA/pull/2703) - Add abstract `createCopy` method in `SelectMenu` by [@​Kaktushose](https://togithub.com/Kaktushose) in [https://github.com/discord-jda/JDA/pull/2684](https://togithub.com/discord-jda/JDA/pull/2684) - Add `JDA#listenOnce` by [@​freya022](https://togithub.com/freya022) in [https://github.com/discord-jda/JDA/pull/2683](https://togithub.com/discord-jda/JDA/pull/2683) - Add support for profile automod by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2580](https://togithub.com/discord-jda/JDA/pull/2580) #### Changes - Expand list of retried http error codes by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2710](https://togithub.com/discord-jda/JDA/pull/2710) - Update to Jackson 2.17.2 by [@​freya022](https://togithub.com/freya022) in [https://github.com/discord-jda/JDA/pull/2695](https://togithub.com/discord-jda/JDA/pull/2695) #### Bug Fixes - Fix deserialization of interaction components by [@​WitchBoo](https://togithub.com/WitchBoo) in [https://github.com/discord-jda/JDA/pull/2711](https://togithub.com/discord-jda/JDA/pull/2711) **Full Changelog**: https://github.com/discord-jda/JDA/compare/v5.0.1...v5.0.2 ### Installation #### Gradle ```gradle repositories { mavenCentral() } dependencies { implementation("net.dv8tion:JDA:5.0.2") } ``` #### Maven ```xml net.dv8tion JDA 5.0.2 ```

Configuration

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

🚦 Automerge: Enabled.

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.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 4 months ago

Qodana Community for JVM

4 new problems were found

Inspection name Severity Problems
Non-constant string concatenation as argument to logging call ◽️ Notice 4

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report To be able to view the detailed Qodana report, you can either: - Register at [Qodana Cloud](https://qodana.cloud/) and [configure the action](https://github.com/jetbrains/qodana-action#qodana-cloud) - Use [GitHub Code Scanning with Qodana](https://github.com/jetbrains/qodana-action#github-code-scanning) - Host [Qodana report at GitHub Pages](https://github.com/JetBrains/qodana-action/blob/3a8e25f5caad8d8b01c1435f1ef7b19fe8b039a0/README.md#github-pages) - Inspect and use `qodana.sarif.json` (see [the Qodana SARIF format](https://www.jetbrains.com/help/qodana/qodana-sarif-output.html#Report+structure) for details) To get `*.log` files or any other Qodana artifacts, run the action with `upload-result` option set to `true`, so that the action will upload the files as the job artifacts: ```yaml - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2024.1.8 with: upload-result: true ```
Contact Qodana team Contact us at [qodana-support@jetbrains.com](mailto:qodana-support@jetbrains.com) - Or via our issue tracker: https://jb.gg/qodana-issue - Or share your feedback: https://jb.gg/qodana-discussions