Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class LavalinkSocket(node: LavalinkNode) : WebSocketListener, Closeable
Link copied to clipboard
class ReconnectTask(val lavalink: LavalinkClient) : Runnable

Functions

Link copied to clipboard
fun <T> fromJsonElement(jsonElement: JsonElement, klass: Class<T>): T
Link copied to clipboard
fun <T> fromRawJson(bytes: InputStream, klass: Class<T>): T
Link copied to clipboard
fun JsonElement.toJackson(): JsonNode
Link copied to clipboard
fun toJsonElement(obj: Any?): JsonElement
Link copied to clipboard
fun JsonNode.toKotlin(): JsonObject
Link copied to clipboard
fun Logger.warnOrTrace(message: String, t: Throwable)

Log a trace message to the console. If Logger.isTraceEnabled returns false, it will log message as warning instead.