Important
This is compiled with dev.arbjerg:lavalink
version 2.0.x in order to send artwork urls
A bunch of extra source managers for LavaPlayer:
- Mixcloud
- ocremix.org
- Clyp.it
- getyarn.io
- Text To Speech (if prefixed with
speak:
) - TikTok (in beta, works on most videos)
- PornHub
A lavalink plugin version of these source managers can be found here: https://github.com/DuncteBot/skybot-lavalink-plugin
Installing this plugin can be done via gradle
repositories {
maven("https://m2.duncte123.dev/releases")
}
dependencies {
implementation("com.dunctebot:sourcemanagers:VERSION")
}
Replace version with the latest version:
You are able to register all the source managers via the following code snippet:
AudioPlayerManager playerManager = new DefaultAudioPlayerManager(); // Your lavaplayer player manager
String ttsLange = "en-US"; // The language for the speak/tts item
DuncteBotSources.registerAll(playerManager, ttsLange);