Skip to content

Music Blocks

Setup

The Music Player Blocks will probably not work from the start, so we need some dependencies that we need to install.

Run these commands to install the required packages to play Music:

npm i discord-player@latest  
npm i @discord-player/extractor@latest  
npm i mediaplex@latest  
npm i ffmpeg-static (If on Linux, do: apt install ffmpeg)
npm i ytdl-core@latest  
Newest Patch 09/15/2023

The Discord Audio Player Dependency Block now AUTOMATICALLY Installs Updates and removes old not supported packages.


Play Music in Voice Channel

Playing Music is really easy, and doesn't take a lot of Blocks... Here is a Simple Example:

PlayInVC

Setup Slash Command Autocomplete

Below is an example of how to enable Auto Complete on a slash command:

AutoCompleteSlashCommands