Skip to content

Commit 7f959a7

Browse files
committed
Update some docs
1 parent 2c21bd3 commit 7f959a7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/main/kotlin/dev/arbjerg/lavalink/client/LavalinkNode.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ import java.net.URI
3131
import java.util.function.Consumer
3232
import java.util.function.UnaryOperator
3333

34+
/**
35+
* The Node is a physical instance of the lavalink server software.
36+
*/
3437
class LavalinkNode(
3538
val name: String,
3639
serverUri: URI,

src/main/kotlin/dev/arbjerg/lavalink/client/LavalinkPlayer.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ import dev.arbjerg.lavalink.protocol.v4.PlayerState
88
import dev.arbjerg.lavalink.protocol.v4.VoiceState
99
import kotlin.math.min
1010

11+
/**
12+
* Represents a player that is tied to a guild.
13+
*/
1114
class LavalinkPlayer(private val node: LavalinkNode, protocolPlayer: Player) : IUpdatablePlayer {
1215
val guildId = protocolPlayer.guildId.toLong()
1316

0 commit comments

Comments
 (0)