Skip to content

Commit

Permalink
Use "Lavalink voice state" in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
freyacodes authored Nov 14, 2023
1 parent 0b174f2 commit 69d73b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class PlayerRestHandler(
playerUpdate.voice.ifPresent {
// 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 server update: $it")
throw ResponseStatusException(HttpStatus.BAD_REQUEST, "Partial Lavalink voice state: $it")
}
}

Expand Down

0 comments on commit 69d73b0

Please sign in to comment.