Files
Vocard/BUTTONS.md
2023-02-24 14:01:02 +08:00

1.5 KiB

Property you can use!

  • Buttons
Button Name Description
Back Skips back to the previous song.
Resume Resume or pause the music.
Skip Skips to the next song.
Stop Disconnects the bot from your voice channel and chears the queue.
Loop Changes Loop mode. [Off, Track, Queue]
Add Add the playing track in to your default custom playlist.
VolumeUp Increase player volume by 20%.
VolumeDown Decrease player volume by 20%.
VolumeMute Mute or unmute the player.
Tracks If there are tracks in the queue, a drop-down list will be appear. Up to 10 tracks. (This will take one row)
  • Colors
Color Name Description
Grey Color the button grey.
Red Color the button red.
Blue Color the button blue.
Green Color the button green.

Examples

Change the value of controller in settings.json.

  1. Example 1 image
{
    "controller": [
        ["back", "resume", "skip", {"stop": "red"}, "add"],
        ["tracks"]
    ]
}
  1. Example 2 image
{
    "controller": [
        ["back", "resume", "skip", {"stop": "red"}, {"add": "green"}],
        [{"loop": "green"}, {"volumeup": "blue"}, {"volumedown": "blue"}, {"volumemute": "red"}],
        ["tracks"]
    ]
}