Skip to content

Commit 21a4d1e

Browse files
devoxinfreyacodes
andauthored
Document search prefixes in IMPLEMENTATION (#657)
* Document search prefixes in IMPLEMENTATION * Change wording of track search Co-authored-by: Freya Arbjerg <[email protected]>
1 parent ad309dc commit 21a4d1e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

IMPLEMENTATION.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,11 @@ A severity level of `COMMON` indicates that the error is non-fatal and that the
442442
}
443443
```
444444

445+
#### Track Searching
446+
Lavalink supports searching via YouTube, YouTube Music, and Soundcloud. To search, you must prefix your identifier with `ytsearch:`, `ytmsearch:`, or `scsearch:`respectively.
447+
448+
When a search prefix is used, the returned `loadType` will be `SEARCH_RESULT`. Note that, disabling the respective source managers renders these search prefixes redundant. Plugins may also implement prefixes to allow for more search engines.
449+
445450
### Track Decoding API
446451

447452
Decode a single track into its info

0 commit comments

Comments
 (0)