Compare commits
2 Commits
30b5b23868
...
f1991f7716
| Author | SHA1 | Date | |
|---|---|---|---|
| f1991f7716 | |||
| ce635cb32b |
@ -14,7 +14,7 @@ services:
|
|||||||
# Add healthcheck to verify Lavalink is ready
|
# Add healthcheck to verify Lavalink is ready
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: >
|
test: >
|
||||||
curl -H "Authorization: ${LAVALINK_PASSWORD}" -f http://localhost:2333/versionkk
|
curl -H "Authorization: ${LAVALINK_PASSWORD}" -f http://localhost:2333/version
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
@ -220,7 +220,7 @@ class MusicPlayer {
|
|||||||
} else {
|
} else {
|
||||||
// Search with prefix (Lavalink handles ytsearch/ytmsearch automatically with the plugin)
|
// 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 = `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
|
// Perform the search using the identifier string
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user