fix(deps): update dependency net.dv8tion:jda to v5.4.0
This commit is contained in:
1 parent
0d735f3744
commit
8e4a6841cc
85 files changed
+564
-385
No files matched your search
@@ -12,7 +12,6 @@ import com.sedmelluq.discord.lavaplayer.track.AudioPlaylist;
|
||||
import com.sedmelluq.discord.lavaplayer.track.AudioTrack;
|
||||
import me.bobert.netneutrality.core.LogHandler;
|
||||
import me.bobert.netneutrality.core.context.CommandContext;
|
||||
import me.bobert.netneutrality.core.tasks.TaskManager;
|
||||
import me.bobert.netneutrality.tasks.music.LoadPlaylistTask;
|
||||
import me.bobert.netneutrality.utils.MessageFunction;
|
||||
import me.bobert.netneutrality.utils.MusicUtils;
|
||||
@@ -64,8 +63,9 @@ public class TrackLoadingHandler implements AudioLoadResultHandler {
|
||||
public void noMatches() {
|
||||
logger.debug("Guild {}: no matches for identifier {}", guild.getId(), identifier);
|
||||
|
||||
if (!silent)
|
||||
if (!silent) {
|
||||
context.reply("No matches found");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -76,7 +76,8 @@ public class TrackLoadingHandler implements AudioLoadResultHandler {
|
||||
RuntimeException exception = new RuntimeException("Failed to load track: " + e.getMessage(), e);
|
||||
LogHandler.log(exception);
|
||||
|
||||
if (!silent)
|
||||
if (!silent) {
|
||||
context.reply(MessageFunction.buildSentryErrorMessage(exception));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user