> ## Documentation Index
> Fetch the complete documentation index at: https://burger-bot.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# /music play

> Play a track from YouTube by URL or search query.

Play a track from YouTube. You can pass a direct URL, a playlist URL, or a search query.

## Description

Joins your current voice channel and starts playing the requested track. If a track is already playing, the new one is added to the queue.

## Required permissions

* **User:** must be in a voice channel
* **Bot:** `Connect`, `Speak`

## Syntax

```text theme={null}
/music play query:<url or search term>
```

## Example

```text theme={null}
/music play query: lofi hip hop radio
/music play query: https://www.youtube.com/watch?v=dQw4w9WgXcQ
/music play query: https://www.youtube.com/playlist?list=PL...
```

## Notes

<Tip>
  Dropping a full **playlist URL** queues every track in the playlist in order.
</Tip>

<Note>
  Burger Bot will automatically disconnect when no one is left in the voice channel.
</Note>
