Sign In

ForgeMusic Functions

Browse 44 native functions in ForgeMusic. Filter by category, version, and name.

$clearQueue

Clear the guild queue.

generalv1.0.0
$clearQueueHistory

Clear the queue history.

generalv1.0.0
$currentTrackTotalDuration

Returns the total duration of the current audio track.

generalv1.0.0→ Number
$deleteQueue

Deletes the queue of the current guild.

generalv1.0.0→ Unknown
$disableAllFilters

Disable the provided FFMPEG filters.

generalv1.0.0
$enableAllFilters

Enable the provided FFMPEG filters.

generalv1.0.0
$getAvailableProviders

Get the available audio providers.

generalv1.0.0→ String
$getDisabledFilters

Return the disabled FFMPEG filters.

generalv1.0.0→ String
$getEnabledFilters

Return the enabled FFMPEG filters.

generalv1.0.0→ String
$getLoopMode

Returns the state of the loop mode.

generalv1.0.0→ QueueRepeatMode
$getVolume

Get the current volume of the music player.

generalv1.0.0→ Number
$hasMusicNode

Check whether the current guild has a music node created.

generalv1.0.0→ Boolean
$isFilterEnabled

Check whether the provided filter is enabled.

generalv1.0.0→ Boolean
$isPaused

Check whether the music player is paused.

generalv1.0.0→ Boolean
$isPlaying

Check whether the music player is playing a track.

generalv1.0.0→ Boolean
$isQueueHistoryDisabled

Returns whether the queue history is disabled.

generalv1.0.0→ Boolean
$isQueueHistoryEmpty

Returns whether the queue history is empty.

generalv1.0.0→ Boolean
$leaveVoiceChannel

Destroys the current voice connection.

generalv1.0.0
$moveTrack

Moves the track to a new position.

generalv1.0.0
$pauseTrack

Pauses the current track.

generalv1.0.0→ Boolean
$playerElapsedTime

Returns the elapsed time of the current song in milliseconds.

generalv1.0.0→ Number
$playNext

Play the next track in the queue, if any.

generalv1.0.0→ Unknown
$playPrevious

Play the previous track in the queue history, if any.

generalv1.0.0→ Unknown
$playTrack

Play a track by query.

generalv1.0.0
$queue

Returns queue songs resolving the given text placeholders.

generalv1.0.0→ String
$queueEstimatedDuration

Returns the estimated duration of the current guild queue in milliseconds.

generalv1.0.0→ Number
$queueHistory

Returns queue history songs resolving the given text placeholders.

generalv1.0.0→ String
$queueHistoryLength

Returns the length of the tracks that were played.

generalv1.0.0→ Number
$queueLength

Returns the length of the current guild queue.

generalv1.0.0→ Number
$queuePing

Returns the latency of the current guild queue.

generalv1.0.0→ Number
$removeTrack

Removes the track that is located at the given position.

generalv1.0.0→ Boolean
$resumeTrack

Resumes the current paused track.

generalv1.0.0→ Boolean
$searchTrack

Search for a track using the given query.

generalv1.0.0
$seekTrack

Seeks a track.

generalv1.0.0→ Boolean
$setLoopMode

Set the loop mode of the music player.

generalv1.0.0
$setVolume

Set the volume of the music player.

generalv1.0.0
$shuffleQueue

Shuffle the queue when the current track ends, unlike $shuffleTracks that can be undone, this function does not mutates the queue.

generalv1.0.0→ Boolean
$shuffleTracks

Shuffle the current guild queue.

generalv1.0.0
$skipTo

Skip the current track to the given position.

generalv1.0.0→ Boolean
$skipTrack

Skip the current track.

generalv1.0.0→ Boolean
$stopTrack

Forces to stop the current track.

generalv1.0.0→ Boolean
$toggleFilters

Toggle the provided FFMPEG filters.

generalv1.0.0
$trackInfo

Returns information of the current track.

generalv1.0.0→ String
$unshuffleQueue

Disable shuffle mode for the queue.

generalv1.0.0→ Boolean