MusicClient Guide

A powerful discord bot making library to help you make discord bots. Super easy, 100 percent discord api coverage, and more! Discord.lib also allows you to interact with discord.js.

Make music system works

Importing the package using the following code

const { musicClient } = require("discord.lib")

You should probably install ffmpeg since ffmpeg-binaries from npm might cause error

Install ffmpeg

Windows

Download at https://ffmpeg.zeranoe.com/builds/

Mac

Download at https://evermeet.cx/ffmpeg/

Linux Command Line

1. sudo apt update
2. sudo apt install ffmpeg
3. ffmpeg -version

Actual code

const { musicClient, login } = require("discord.lib")
musicClient("your prefix", "Youtube api key")
login("token", "game")

And you are all set!

Last updated