diff --git a/LavalinkServer/src/main/java/lavalink/server/player/PlayerRestHandler.kt b/LavalinkServer/src/main/java/lavalink/server/player/PlayerRestHandler.kt index 18355d8a8..6bd043499 100644 --- a/LavalinkServer/src/main/java/lavalink/server/player/PlayerRestHandler.kt +++ b/LavalinkServer/src/main/java/lavalink/server/player/PlayerRestHandler.kt @@ -76,9 +76,9 @@ class PlayerRestHandler( } playerUpdate.voice.ifPresent { - //discord sometimes send a partial server update missing the endpoint, which can be ignored. + // Discord sometimes sends a partial voice server update missing the endpoint, which can be ignored. if (it.endpoint.isEmpty() || it.token.isEmpty() || it.sessionId.isEmpty()) { - throw ResponseStatusException(HttpStatus.BAD_REQUEST, "Partial voice state update: $it") + throw ResponseStatusException(HttpStatus.BAD_REQUEST, "Partial Lavalink voice state: $it") } }