Skip to content

Commit

Permalink
Fix DUNCTEBOT-149
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Apr 26, 2024
1 parent 9e892e9 commit 33bd681
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Future<Void> loadAndPlay(final AudioData data, final String trackUrlRaw,
final CompletableFuture<Void> future = new CompletableFuture<>();

LavalinkManager.INS.getLavalink()
.getLinkIfCached(data.getGuildId())
.getOrCreateLink(data.getGuildId())
.loadItem(trackUrl)
.subscribe((result) -> {
future.complete(null);
Expand Down

0 comments on commit 33bd681

Please sign in to comment.