> For the complete documentation index, see [llms.txt](https://niiroow.gitbook.io/abaddon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://niiroow.gitbook.io/abaddon/commands/music/play.md).

# Play

## Play from YouTube

You can give a link, a title or the link of a playlist

```
!play <youtubeURL | songName | playlistURL>
```

> ex: \
> \&#xNAN;***`!play petit poney`***\
> ***`!play https://youtube.com/watch?v=ylORW5HCVxa`***\
> ***`!play https://www.youtube.com/playlist?list=PLpGf9ti2mrOX8iHFjqmg0r8qBU7BV0GF4`***

{% hint style="info" %}
&#x20;Sending a music link from a playlist will not add it completely, if you want to add the full playlist please provide the original playlist link to add it to the queue
{% endhint %}

## Play from SoundCloud

```
!play <soundCloudURL>
```

> ex:\
> \&#xNAN;***`!play https://soundcloud.com/yungraptileontherun/sets/yung-bratz-lofi`***\
> ***`!play https://soundcloud.com/yungraptileontherun/yung-bratz-lofi-remix-fast-extended?in=yungraptileontherun/sets/yung-bratz-lofi`***

## Play from Spotify

```
!play <songURL | albumURL | playlistURL | artistURL>
```

> ex:\
> \&#xNAN;***`!play spotify:track:4OawYvEF6kg7KlHOcksetR`***\
> ***`!play https://open.spotify.com/album/4sA7IyvdIFpeOPBftpjetk?si=KcrQlofrTBuE8w_tBVzEFg`***\
> ***`!play https://open.spotify.com/playlist/0EWZfCi9rD9eswHPQAktvg?si=JD7aSii5SLusGpZ6DGeLYQ`***\
> ***`!play https://open.spotify.com/artist/7vk5e3vY1uw9plTHJAMwjN?si=-4SlghL7Ry6ZmRUQLd43JQ`***

{% hint style="info" %}
You can provide a Spotify URI or link.
{% endhint %}

## Play from a file

```
!play <messageAttachment>
```

![A simple example.](/files/-MMhqwm6og-aky9mRU89)

{% hint style="info" %}
Supported formats:&#x20;

* 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)
  {% endhint %}

## Play from an HTTP URL

```
!play <url>
```

> e.g:\
> \&#xNAN;***`!play http://cdn.nrjaudio.fm/audio1/fr/30001/mp3_128.mp3`***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://niiroow.gitbook.io/abaddon/commands/music/play.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
