Skip to content
Music playTrack

$playTrack — Plays a track by query in a voice channel (the other ForgeMusic arguments are ignored).

Plays a track by query in a voice channel (the other ForgeMusic arguments are ignored).

Syntax

$playTrack[channelID;query]

Parameters

  • channelID (String, required) — Voice channel ID
  • query (String, required) — Track name or link

Return Value

  • None.

Usage

$playTrack[channelID;query] → result

Example

$sendMessage[$playTrack[channelID;query]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.