DisGoLink plugin for LavaSearch for advanced Lavalink search.
$ go get github.com/disgoorg/lavasearch-plugin
var 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.Playlist
For 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.