File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
src/main/kotlin/dev/arbjerg/lavalink/client Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ import java.net.URI
31
31
import java.util.function.Consumer
32
32
import java.util.function.UnaryOperator
33
33
34
+ /* *
35
+ * The Node is a physical instance of the lavalink server software.
36
+ */
34
37
class LavalinkNode (
35
38
val name : String ,
36
39
serverUri : URI ,
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ import dev.arbjerg.lavalink.protocol.v4.PlayerState
8
8
import dev.arbjerg.lavalink.protocol.v4.VoiceState
9
9
import kotlin.math.min
10
10
11
+ /* *
12
+ * Represents a player that is tied to a guild.
13
+ */
11
14
class LavalinkPlayer (private val node : LavalinkNode , protocolPlayer : Player ) : IUpdatablePlayer {
12
15
val guildId = protocolPlayer.guildId.toLong()
13
16
You can’t perform that action at this time.
0 commit comments