From 1f824ea916880d38e81c21e4bd8a7a644323b757 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 28 Apr 2024 00:22:28 +0000 Subject: [PATCH] chore(deps): update all non-major dependencies (#55) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | debian | final | digest | `3d5df92` -> `155280b` | | | | | | rust | stage | digest | `6052afe` -> `8f891e6` | | | | | | [net.dv8tion:JDA](https://togithub.com/DV8FromTheWorld/JDA) | compile | patch | `5.0.0-beta.22` -> `5.0.0-beta.23` | [![age](https://developer.mend.io/api/mc/badges/age/maven/net.dv8tion:JDA/5.0.0-beta.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/net.dv8tion:JDA/5.0.0-beta.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/net.dv8tion:JDA/5.0.0-beta.22/5.0.0-beta.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/net.dv8tion:JDA/5.0.0-beta.22/5.0.0-beta.23?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
DV8FromTheWorld/JDA (net.dv8tion:JDA) ### [`v5.0.0-beta.23`](https://togithub.com/discord-jda/JDA/releases/tag/v5.0.0-beta.23): | Message Polls [Compare Source](https://togithub.com/DV8FromTheWorld/JDA/compare/v5.0.0-beta.22...v5.0.0-beta.23) ### Overview This release includes an updated README, please let us know if you spot any issues with it! ##### Polls ([#​2649](https://togithub.com/DV8FromTheWorld/JDA/issues/2649)) Discord has recently released a new feature on their platform to start and vote in polls. These polls can now be sent in messages: ```java channel.sendMessage("Hello guys! Check my poll:") .setPoll( MessagePollData.builder("Which programming language is better?") .addAnswer("Java", Emoji.fromFormatted("<:java:1006323566314274856>")) .addAnswer("Kotlin", Emoji.fromFormatted("<:kotlin:295940257797636096>")) .build()) .queue() ``` The poll automatically expires after a set duration, configurable in the `MessagePollBuilder` using [setDuration](https://docs.jda.wiki/net/dv8tion/jda/api/utils/messages/MessagePollBuilder.html#setDuration\(java.time.Duration\)). A poll can also be ended manually using [endPoll](https://docs.jda.wiki/net/dv8tion/jda/api/entities/Message.html#endPoll\(\)) or [endPollById](https://docs.jda.wiki/net/dv8tion/jda/api/entities/channel/middleman/MessageChannel.html#endPollById\(java.lang.String\)). You can check the poll votes on a message using the new `Message#getPoll`: ```java MessagePoll poll = message.getPoll(); for (MessagePoll.Answer answer : poll.getAnswers()) { System.out.printf("Poll Answer %s has %d votes\n", answer.getText(), answer.getVotes()); } ``` > \[!NOTE] > The votes for polls are eventually consistent and need to be recounted after the poll ends. You can check whether the votes are validated using [MessagePoll#isFinalizedVotes](https://docs.jda.wiki/net/dv8tion/jda/api/entities/messages/MessagePoll.html#isFinalizedVotes\(\)). #### New Features - Add USER_MUST_BE_VERIFIED ErrorResponse by [@​GitMilchi](https://togithub.com/GitMilchi) in [https://github.com/discord-jda/JDA/pull/2651](https://togithub.com/discord-jda/JDA/pull/2651) - Update permission enum by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2654](https://togithub.com/discord-jda/JDA/pull/2654) - Poll support by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2649](https://togithub.com/discord-jda/JDA/pull/2649) #### Changes - Update dependencies and use version catalog by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2652](https://togithub.com/discord-jda/JDA/pull/2652) #### Bugs Fixes - Fix `CommandInteractionPayload#getCommandString` in autocomplete interactions by [@​freya022](https://togithub.com/freya022) in [https://github.com/discord-jda/JDA/pull/2659](https://togithub.com/discord-jda/JDA/pull/2659) **Full Changelog**: https://github.com/discord-jda/JDA/compare/v5.0.0-beta.22...v5.0.0-beta.23 ### Installation #### Gradle ```gradle repositories { mavenCentral() } dependencies { implementation("net.dv8tion:JDA:5.0.0-beta.23") } ``` #### Maven ```xml net.dv8tion JDA 5.0.0-beta.23 ```
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on sunday" in timezone Europe/Berlin, 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/SvenKirschbaum/musikbot-client). --- Dockerfile | 4 ++-- pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index baf326b..285b5d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,14 +8,14 @@ COPY src/ ./src/ RUN mvn -f ./pom.xml package #BUILD SPOTIFYD -FROM rust:1.77.2-bookworm@sha256:6052afe7c422c163798bb9064b7215db15c5f790214ee2c2e787daf8ed3de92a AS build_spotifyd +FROM rust:1.77.2-bookworm@sha256:8f891e67c1970579618d2aba9a1718da14b564a520b847cf216f7329c2ff30e9 AS build_spotifyd RUN apt-get update && apt-get install -y libasound2-dev libssl-dev libpulse-dev libdbus-1-dev RUN git clone https://github.com/Spotifyd/spotifyd.git /usr/src/spotifyd WORKDIR /usr/src/spotifyd RUN cargo build --release --no-default-features --features pulseaudio_backend #PACKAGE -FROM debian:12.5-slim@sha256:3d5df92588469a4c503adbead0e4129ef3f88e223954011c2169073897547cac +FROM debian:12.5-slim@sha256:155280b00ee0133250f7159b567a07d7cd03b1645714c3a7458b2287b0ca83cb RUN \ apt-get update \ && apt-get install -y wget gnupg2 software-properties-common \ diff --git a/pom.xml b/pom.xml index b14ed3c..612b1de 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ net.dv8tion JDA - 5.0.0-beta.22 + 5.0.0-beta.23 org.springframework.boot