> 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/playlist.md).

# Playlist

{% hint style="danger" %}
You cannot modify a playlist that was not created by you, you can only play it
{% endhint %}

## Create a playlist

```
!playlist create <playlistName>
```

> ex: ***`!playlist create ChillCow`***

{% hint style="info" %}
&#x20;The name of the playlist must be short (16 letters maximum) and in one word and must not already be used by another playlist.You can create up to **10 playlists per server** and **5 per user**
{% endhint %}

## Add a song to the playlist

```
!playlist <playlistName> add <songName | songURL | playlistURl>
```

> ex:\
> \&#xNAN;***`!playlist ChillCow add lofi hip hop`***\
> \
> ***`!playlist ChillCow add https://soundcloud.com/yungraptileontherun/yung-bratz-lofi-remix-fast-extended`***\
> \
> ***`!playlist ChillCow add https://www.youtube.com/playlist?list=PLpGf9ti2mrOUtCi7vlW_J203yxdxeaFux`***

{% hint style="info" %}
You can add up to **50 songs per playlist**. You can add songs by:

* Song name
* URL (from youtube | soundcloud | spotify)
  {% endhint %}

## Remove a song from the playlist

```
!playlist <playlistName> remove <songNumber>
```

> ex: ***`!playlist ChillCow remove 1`***

{% hint style="info" %}
You can see the song numbers by displaying the playlist information with the command: ***`!playlist <playlistName>`***
{% endhint %}

## Rename a playlist

```
!playlist <playlistName> rename <newPlaylistName>
```

> ex: ***`!playlist ChillCow rename OnlyChill`***

## Delete a playlist

```
!playlist <playlistName> delete
```

## Play a playlist

```
!playlist <playlistName> play
```

## Play a specific song from the playlist

```
!playlist <playlistName> play <songNumber>
```

{% hint style="info" %}
You can see the song numbers by displaying the playlist information with the command: ***`!playlist <playlistName>`***
{% endhint %}

## View all the playlists of the server

```
!playlist
```


---

# 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/playlist.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.
