For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set Loop Mode

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:

When you choose the Current Server option, the selected loop mode will be applied to the server where the command is executed.

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

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.

Last updated

Was this helpful?