> From the BotGhost docs: https://botghost.com/docs/fun-modules/music
> Every page: https://botghost.com/docs/llms.txt

# Music

Play music in your Discord server with pre-built commands

![](https://botghost.com/docs/content/assets/workspace/image%20(1216).png)

> **Warning:** This module requires a [Premium Subscription](https://botghost.com/docs/premium/premium-and-priority-hosting-plans#premium-plans) to function.

> **Note:** If you are looking for instructions on how to use the Music Blocks, please see [Music Actions](https://botghost.com/docs/custom-commands-and-events/actions/music-actions).

The [Music](https://dashboard.botghost.com/dashboard/music) module gives you access to pre-built commands for the music blocks, allowing your bot to play music in your Discord server!

## Commands

In this area, you can view and modify the commands of the Music module. Below you may find some information on each command of the module.

![](https://botghost.com/docs/content/assets/workspace/image%20(1231).png)

**/music seek**

This command allows you to go to (or "seek" to) a specific time in the current song that is playing.

**/music pause**

This command will pause the currently playing song. Use `/music resume` to resume playing the song.

**/music queue**

This command will return every song that is currently in the music queue and information about the currently playing song.

**/music clear-filters**

This command will clear all filters added with the `/music apply-filter` command.

**/music track**

This command returns information about the song that is currently playing, including the title, artist, progress and album art.

**/music play**

Plays a song in the voice channel you or the bot is currently in. Accepts song titles, URLs, or playlist URLs.

**/music stop**

Stops playing music and clears the queue.

**/music replay**

Replays the current song from the beginning.

**/music disconnect**

Disconnects the bot from the voice channel and resets the queue, filters, and settings.

**/music resume**

Resumes playback of music paused with `/music pause`.

**/music set-autoleave**

Configure whether to automatically disconnect the bot from the voice channel when the queue ends.

**/music set-autoplay**

Configure whether to automatically queue similar songs when the queue ends.

**/music apply-filter**

Apply various sound filters to the music playback. Use `/music clear-filters` to clear them.

**/music skip**

Skips the currently playing song.

**/music remove**

Remove a specific song from the queue based on queue position.

**/music shuffle**

Shuffles the music queue.

**/music set-volume**

Sets the volume of the music (0-200).

**/music loop**

Choose whether to loop the currently playing track or queue.

## Events

The music module is also provided with two events:

![](https://botghost.com/docs/content/assets/workspace/image%20(1214).png)

**Set voice channel status to song data**

This event will set the voice channel status to information about the currently playing song when a song starts plating

**Remove voice status song data**

This event will remove the status set by `Set voice channel status to song data` when a song finishes playing.

---

> **Important:** It's advised that you do not edit the commands and events unless you have a good understanding of BotGhost and its Command Builder. If you encounter any issues, you might want to reset the module for it to work again as intented.
>
> Additionally, a copy of the edited commands / events will be created if you update the module.
