diff --git a/src/main/java/moe/nekojimi/chords/commands/PlayCommand.java b/src/main/java/moe/nekojimi/chords/commands/PlayCommand.java index e5a6a49..d74d0e5 100644 --- a/src/main/java/moe/nekojimi/chords/commands/PlayCommand.java +++ b/src/main/java/moe/nekojimi/chords/commands/PlayCommand.java @@ -51,7 +51,7 @@ public class PlayCommand extends Command { final URL url = new URL(invocation.getArgs().get(0)); request.setUrl(url); - bot.queueDownload(request); + bot.queueDownload(request, bot.getQueueManager()); } catch (MalformedURLException mux) { @@ -103,7 +103,7 @@ public class PlayCommand extends Command if (results.get(0).getScore() >= SEARCH_SCORE_THRESHOLD_AUTOPLAY) { request.setResult(results.get(0)); - bot.queueDownload(request); + bot.queueDownload(request, bot.getQueueManager()); return; }