From 281e0f8ae63eb9317e4db8bc44d69b9f7f7a70cb Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 22 Apr 2021 18:41:08 +0000 Subject: [PATCH 1/2] Bump github-api from 1.127 to 1.128 Bumps [github-api](https://github.com/hub4j/github-api) from 1.127 to 1.128. - [Release notes](https://github.com/hub4j/github-api/releases) - [Changelog](https://github.com/hub4j/github-api/blob/main/CHANGELOG.md) - [Commits](https://github.com/hub4j/github-api/compare/github-api-1.127...github-api-1.128) Signed-off-by: dependabot-preview[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 14344c1..fe01660 100644 --- a/pom.xml +++ b/pom.xml @@ -89,7 +89,7 @@ org.kohsuke github-api - 1.127 + 1.128 com.sedmelluq From 963df9b514638c7611d2761096f1c73aa981dfd1 Mon Sep 17 00:00:00 2001 From: Greg Date: Sat, 24 Apr 2021 19:59:28 +0200 Subject: [PATCH 2/2] Testing on prod gang 1 --- pom.xml | 65 ++----------------- .../hadder/commands/music/VolumeCommand.java | 4 +- 2 files changed, 8 insertions(+), 61 deletions(-) diff --git a/pom.xml b/pom.xml index fe01660..8f9445d 100644 --- a/pom.xml +++ b/pom.xml @@ -58,6 +58,11 @@ jcenter-bintray https://jcenter.bintray.com + + dv8tion + m2-dv8tion + https://m2.dv8tion.net/releases + @@ -94,12 +99,7 @@ com.sedmelluq lavaplayer - 1.3.73 - - - com.fasterxml.jackson.core - jackson-annotations - 2.12.3 + 1.3.76 org.mongodb @@ -109,60 +109,7 @@ - - - - maven-clean-plugin - 3.1.0 - - - maven-resources-plugin - 3.2.0 - - - maven-surefire-plugin - 2.22.2 - - - maven-jar-plugin - 3.2.0 - - Hadder-Build - - - one.bbn.hadder.Hadder - - - - - - maven-install-plugin - 2.5.2 - - - maven-deploy-plugin - 2.8.2 - - - maven-site-plugin - 3.9.1 - - - maven-project-info-reports-plugin - 3.1.1 - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 - - 15 - 15 - - maven-assembly-plugin diff --git a/src/main/java/one/bbn/hadder/commands/music/VolumeCommand.java b/src/main/java/one/bbn/hadder/commands/music/VolumeCommand.java index 077a3db..62a392e 100644 --- a/src/main/java/one/bbn/hadder/commands/music/VolumeCommand.java +++ b/src/main/java/one/bbn/hadder/commands/music/VolumeCommand.java @@ -19,7 +19,7 @@ package one.bbn.hadder.commands.music; import one.bbn.hadder.commands.Command; import one.bbn.hadder.commands.CommandEvent; import one.bbn.hadder.utils.MessageEditor; -import org.jsoup.internal.StringUtil; +import org.codehaus.plexus.util.StringUtils; public class VolumeCommand implements Command { @@ -28,7 +28,7 @@ public class VolumeCommand implements Command { if (args.length > 0) { if (e.getAudioManager().hasPlayer(e.getGuild()) && e.getAudioManager().getPlayer(e.getGuild()).getPlayingTrack() != null) { if (e.getMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().inVoiceChannel() && e.getGuild().getSelfMember().getVoiceState().getChannel().equals(e.getMember().getVoiceState().getChannel())) { - if (StringUtil.isNumeric(args[0])) { + if (StringUtils.isNumeric(args[0])) { int volume = Integer.parseInt(args[0]); if (volume < 201 && volume > 0 || e.getConfig().getOwners().contains(e.getAuthor().getIdLong())) { e.getAudioManager().getPlayer(e.getGuild()).setVolume(volume);