Serenity Lavalink
Note: This is not a fork of the official repository with the same name, this is a completely new wrapper from scratch made to be used with the async version of serenity, as the previous one no longer works.
Links you will need
- Lavalink repository
- Java download (11 or newer, 13 recommended)
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
(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.1.1-alpha"
Or the development release:
= { = "https://gitlab.com/nitsuga5124/lavalink-rs/", = "master" }
# or
[]
= "https://gitlab.com/nitsuga5124/lavalink-rs/"
= "master"