Lavalink-rs
A lavalink binder library for every Asynchronous discord crate.
Links to download stuff you will need
- Lavalink repository
- Java download (11 or newer, 13 Recommended, 14+ Don't work)
TODO
- Support multiple connections per region.
- Support nodes.
- Support pause, resume, skip to time.
- Support starting at specific times and configurable replace current stream.
- Support equalization.
- Support identifiers.
- Support both rustls and native_tls backends as features.
- Support twilight.
- Support events.
- Support raw events.
- Implement my own event hander for voice connections.
- Support easy queues natively.
- Optimize the codebase.
- Remove all the clones from examples.
- Improve error handling.
- Add tracing and logging.
- [?] Add documentation.
How to use
1: Install openssl-dev
or libssl-dev
(because native_tls_backend requires openssl in serenity)
- if the library is native and the bot is rustls, it works
- if the library is rustls and the bot is native, it works
- if the library and the bot are both native, it works
- but if the library and the bot are rustl, it doesn't work
2: Install the version from crates.io:
= "0.3.0-alpha"
Or the development release:
= { = "https://gitlab.com/nitsuga5124/lavalink-rs/", = "master" }
# or
[]
= "https://gitlab.com/nitsuga5124/lavalink-rs/"
= "master"
If you wish to use a development version of serenity, add the following to the Cargo.toml:
[]
= "https://github.com/serenity-rs/serenity"
= "next"