setPause method

void setPause(
  1. Snowflake guildId,
  2. bool pauseState
)

Set the pause state of a player

this method is internally used by resume and pause

Implementation

void setPause(Snowflake guildId, bool pauseState) {
  _sendPayload("pause", guildId, {"pause": pauseState});
}