Skip to content
Music isPaused

$isPaused — Is the player paused?

Returns true when the music player of the server is paused.

Syntax

$isPaused

Behavior

Alias of $lavalinkIsPaused. Returns true when the player is paused and false otherwise, including when nothing is playing.

Parameters

None.

Return Value

true or false.

Example

$if[$isPaused==true]
$resumeTrack
$description[Resumed.]
$else
$pauseTrack
$description[Paused.]
$endif

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.