fix: i did a dumb

This commit is contained in:
ZtereoHYPE 2022-01-04 01:37:51 +01:00
parent 6e40742d56
commit d29da16648

View file

@ -81,7 +81,7 @@ public class Play implements Command {
String identifier; String identifier;
// spotify urls need to be queried through youtube // spotify urls need to be queried through youtube
if (!urlFound | spotifyUrlFound) { if (!urlFound || spotifyUrlFound) {
Optional<String> query = YoutubeSearch.query(mergedArgs); Optional<String> query = YoutubeSearch.query(mergedArgs);
if (query.isPresent()) { if (query.isPresent()) {