Create Music Player

The Create Music Player block allows you to create a music player for the server. This must be done before using other music actions.

Voice Channel

This setting allows you to target a voice channel. You have two options to select from:

When you select the 'Current Voice Channel' option, the music player will be created in the voice channel the user running the command is currently in.

Auto Connect

This option allows you to specify if you would like the bot to automatically connect to the voice channel that the player is created in.

Initial Volume

This option allows you to specify the initial volume of the music player as a percentage from between 0-1000.

  • 0 mutes the audio

  • 100 sets normal volume

  • Values above 100 amplify the volume (e.g., 200 doubles the volume).

This can be changed after creation with the Set Volume action. Variables can be used in this field.

Initial 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.

This can be changed after the player is created by using the Set Loop Mode action. You can choose this with the dropdown menu, or use a variable that returns the raw value (i.e. 0 1 or 2) of the loop mode you would like to set in the "Loop Mode Variable" setting.

AutoLeave

This option allows you to enable or disable AutoLeave. When enabled, the bot will automatically leave the voice channel when the queue finishes. This can be changed after the player is created with the Set AutoLeave action. You can choose this with the dropdown menu, or use a variable that returns true or false in the "AutoLeave Variable" field.

Last updated

Was this helpful?