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:
Newest Patch 09/15/2023
Discord Audio Player Dependency Block now AUTOMATICALLY Installs Updates and removes old not supported packages.
A quick follow-up for discord-player v6, if you are getting weird errors like
something is not a constructor or
version.split is not a function or something similar, please try the following:
package-lock.json or any lockfiles you have, run
npm cache clean --force or similar command equivalent to your package manager and then run
npm install (or the install command of your package manager)
Play Music in Voice Channel¶
Playing Music is really easy, and doesn't take a lot of Blocks... Here is a Simple Example: