discord.lib
0.6.7
0.6.7
  • discord.lib Official Documentation
  • Credits
  • package
  • Packages
  • Premium Info
  • classes
    • message
    • login
    • joinMessage
    • Complete Examples
    • leaveMessage
    • serverGreeting
    • Attachments
    • sharding
    • Typings
    • exampleBot
    • kick
    • ban
    • webhookClient
    • musicClient
  • Interacting with discord.lib's client
    • client
    • bot activities
    • Do servercount in commands
    • Discord
  • guides
    • MusicClient Guide
  • Deprecated
    • userClient
    • Webhook
    • embed
Powered by GitBook
On this page
  • Parameters
  • Requirements
  • Example

Was this helpful?

  1. classes

musicClient

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.

PreviouswebhookClientNextclient

Last updated 5 years ago

Was this helpful?

Parameters

Parameter

Description

Required

prefix

set the prefix for music commands

yes

youtubeKey

Set youtube api key

yes

Requirements

You do not need to worry about opus-script since it is aready included with this package. but however, you will need to install ffmpeg or it will not work

Example

const dl = require("discord.lib")
dl.musicClient("Music command Prefix", "Youtube Api key")

An error code will appear on start up but don't worry, it won't affect the music playlist.