DisGoLink plugin for LavaSearch for advanced Lavalink search.
$ go get github.com/disgoorg/lavasearch-pluginvar client disgolink.Client
result, err := lavasearch.LoadSearch(context.TODO(), client.BestNode().Rest(), "dzsearch:test", []lavasearch.SearchType{lavasearch.SearchTypeAlbum, lavasearch.SearchTypePlaylist})
if err != nil {
// handle error
}
result.Albums // []lavasearch.Album
result.Playlists // []lavasearch.PlaylistFor help feel free to open an issue or reach out on Discord
Contributions are welcomed but for bigger changes we recommend first reaching out via Discord or create an issue to discuss your problems, intentions and ideas.