Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.09 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.09 KB

lavasearch-plugin

DisGoLink plugin for LavaSearch for advanced Lavalink search.

Installation

$ go get github.com/disgoorg/lavasearch-plugin

Usage

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

Troubleshooting

For help feel free to open an issue or reach out on Discord

Contributing

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.

License

Distributed under the License. See LICENSE for more information.