Skip to content

disgoorg/lavasearch-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.