Music
lavalinkIsPaused
$lavalinkIsPaused[]
Returns "true" if playback is currently paused, "false" otherwise
Syntax
$lavalinkIsPaused[]
Return Value
boolean
"true" if the player is paused, "false" if it is playing or idle
Returns “true” if the music player is currently paused, and “false” if it is actively playing or stopped. Useful for building toggle commands and status displays.
Examples
Check pause state
$if[$lavalinkIsPaused[==true]]
$sendMessage[⏸️ Playback is paused.]
$else
$sendMessage[▶️ Music is playing.]
$endif
Toggle pause/resume
$if[$lavalinkIsPaused[==true]]
$resumeMusic[]
$sendMessage[▶️ Resumed!]
$else
$pauseMusic[]
$sendMessage[⏸️ Paused!]
$endif
Display player status
$sendMessage[Paused: $lavalinkIsPaused[] | Looping: $lavalinkIsLooping[]]