This commit is contained in:
Jose Daniel G. Percy 2025-04-24 01:33:42 +08:00
parent ce635cb32b
commit f1991f7716

View File

@ -220,7 +220,7 @@ class MusicPlayer {
} else {
// Search with prefix (Lavalink handles ytsearch/ytmsearch automatically with the plugin)
// identifier = `ytsearch:${query}`; // Prefix might not be needed with the plugin, let Lavalink decide
identifier = query; // Pass the raw query for non-URLs
identifier = `ytsearch:${query}`; // Pass the raw query for non-URLs
}
// Perform the search using the identifier string