LavaKord
Representation of a Lavalink cluster.
Properties
Link copied to clipboard
Link copied to clipboard
This simply returns this. It is required for implementations of EventSource
Link copied to clipboard
Configuration options (See LavaKordOptions
Functions
Link copied to clipboard
Creates and returns a new rest-only node.
Link copied to clipboard
inline fun <T : Any, E : T> EventSource<T>.on(scope: CoroutineScope = coroutineScope, noinline consumer: suspend E.() -> Unit): Job
Convenience method that will invoke the consumer on every event T created by EventSource.events.
inline fun <T : Event> EventSource<Event>.on(scope: CoroutineScope = coroutineScope, noinline consumer: suspend T.() -> Unit): Job
Listens for a TrackEvent