Set Loop Mode
This action requires a Premium Subscription to function.
.png)
The Set Loop Mode block allows you to change the loop mode of the music player to off, track, or queue.
Server
This setting selects which server the action applies to. You have two options to choose from:
.png)
When you choose the Current Server option, the selected loop mode will be applied to the server where the command is executed.
.png)
When you select the Server ID option, the selected loop mode will be applied to the server matching the provided ID.
Server ID
In this field, you can enter the ID of the server where you want the selected loop mode to be applied. Variables can be used in this field.
Loop Mode
.png)
This option allows you to set the loop mode of the player.
| Name | Raw Value | Description |
|---|---|---|
| Off | 0 | Disables looping. |
| Loop Track | 1 | Repeats the current track. |
| Loop Queue | 2 | Repeats the entire queue. |
You can choose this with the dropdown menu, or use a variable that returns the raw value of the loop mode you would like to set in the "Loop Mode Variable" field.