🎵 LavaPlayer
Success
This documentation page includes all the elements from the module LavaPlayer.
Load Local Track
|Since|v2.0.0|class:version|
Loads a local track from the files of your server. The supported file types are: - MP3 - FLAC - WAV - Matroska/WebM (AAC, Opus or Vorbis codecs) - MP4/M4A (AAC codec) - OGG streams (Opus, Vorbis and FLAC codecs) - AAC streams - Stream playlists (M3U and PLS)
Pause Track
|Since|v2.0.0|class:version|
Pause the current track & player. This won't clear the queue, nor will remove the current track. You can use 'resume track' to resume the track.
Resume Track
|Since|v2.0.0|class:version|
Resume the current track & player, if it's paused.
Skip Track
|Since|v2.0.0|class:version|
Skip the current track of a guild player. The new track will be returned.
Stop Track
|Since|v2.0.0|class:version|
Stop the current track of a guild player. This will also remove the current track from the queue.
Loaded Playlist
|Since|v2.0.0|class:version| |Return Type|audioplaylist|class:version|
Represent the loaded playlist in a 'on playlist loaded' sub-load section.
Loaded Track
|Since|v2.0.0|class:version| |Return Type|audiotrack|class:version|
Represent the loaded track in a 'on single load' sub-load section.
Load Exception
|Since|v2.0.0|class:version| |Return Type|string|class:version|
Represent the exception that occurred during the load of a research or items. This is the message only.
Guild Playing Track
|Since|v2.0.0|class:version| |Return Type|audiotrack|class:version|
Get the current track playing in a guild. This cannot be changed via this expression, but you can use the 'play' effect to play a track.
Guild Queue
|Since|v2.0.0|class:version| |Return Type|audiotrack|class:version|
Represents the audio queue of a guild. You can get the queue, but also add or remove tracks from it.
Playlist Tracks
|Since|v2.0.0|class:version| |Return Type|audiotrack|class:version|
Get all the ordered tracks of a loaded playlist.
Audio Mono Level
|Since|v4.0.0|class:version| |Return Type|number|class:version|
This is an audio effect/filter. Set the mono level of the current audio track. The default value is 1.0
Audio Pitch
|Since|v4.0.0|class:version| |Return Type|number|class:version|
This is an audio effect/filter. Change the pitch of the current audio track. The default pitch is 1.0.
Audio Rotation
|Since|v4.0.0|class:version| |Return Type|number|class:version|
This is an audio effect/filter. Change the rotation of the current audio track. (Sort of 8D effect) The default rotation is 1
Audio Speed
|Since|v4.0.0|class:version| |Return Type|number|class:version|
This is an audio effect/filter. Change the speed of the current audio track. The default speed is 1.0.
Guild Auto Play
|Since|v2.0.0|class:version| |Return Type|boolean|class:version|
If enabled, when a track ends, the next will be played automatically. By default, this is disabled.
Guild Repeat
|Since|v2.0.0|class:version| |Return Type|boolean|class:version|
If enabled, when a track ends, the same track will be played again. By default, this is disabled.
Guild Volume
|Since|v2.0.0|class:version| |Return Type|integer|class:version|
Get the volume of a guild, or null if the guild have not player. This can be changed to change the audio volume of a guild. If the guild does not have any player, nothing will change. Note that the volume is a number between 0 and 1000.
Playlist Name
|Since|v2.0.0|class:version| |Return Type|string|class:version|
Get the name of a loaded playlist.