Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

DuncteBot/skybot-source-managers

Repository files navigation

Skybot source managers

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
  • Reddit
  • getyarn.io
  • Text To Speech (if prefixed with speak:)
  • TikTok (in beta, works on most videos)
  • PornHub

Lavalink users

A lavalink plugin version of these source managers can be found here: https://github.com/DuncteBot/skybot-lavalink-plugin

Installation

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: Maven metadata URL

Usage

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);