Package-level declarations

Types

Link copied to clipboard
class FunctionalLoadResultHandler @JvmOverloads constructor(trackLoadedConsumer: Consumer<TrackLoaded>?, playlistLoadedConsumer: Consumer<PlaylistLoaded>? = null, searchResultConsumer: Consumer<SearchResult>? = null, noMatchesHandler: Runnable? = null, loadFailedConsumer: Consumer<LoadFailed>? = null) : AbstractAudioLoadResultHandler

Helper class for creating an AbstractAudioLoadResultHandler using only methods that can be passed as lambdas.

Link copied to clipboard
class LavalinkClient(val userId: Long) : Closeable, Disposable
Link copied to clipboard
class LavalinkNode(nodeOptions: NodeOptions, val lavalink: LavalinkClient) : Disposable, Closeable

The Node is a physical instance of the lavalink server software.

Link copied to clipboard
class Link(val guildId: Long, node: LavalinkNode)

A "Link" for linking a guild id to a node. Mainly just a data class that contains some shortcuts to the node. You should never store a link as it might be replaced internally without you knowing.

Link copied to clipboard
Link copied to clipboard
data class NodeOptions

Functions

Link copied to clipboard