No description
Find a file
Snowflake107 72bd3bf645 update
2021-04-11 18:36:50 +05:45
.github format 2021-04-04 23:29:45 +05:45
src update 2021-04-11 18:36:50 +05:45
.gitignore update 2021-04-06 18:40:29 +05:45
.npmignore format 2021-04-04 23:29:45 +05:45
.prettierrc format 2021-04-04 23:29:45 +05:45
LICENSE LICENSE 2021-04-04 22:10:16 +05:45
package.json fix lyrics 2021-04-10 11:55:37 +05:45
README.md refactor 2021-04-10 23:37:48 +05:45
tsconfig.json base 2021-04-06 19:51:18 +05:45
tslint.json format 2021-04-06 18:43:46 +05:45
yarn.lock fix lyrics 2021-04-10 11:55:37 +05:45

Discord Player

Complete framework to facilitate music commands using discord.js.

downloadsBadge versionBadge

WIP

Installation

Install discord-player

$ npm install --save discord-player

Install @discordjs/opus

$ npm install --save @discordjs/opus

Install FFmpeg or Avconv

Features

  • Simple & easy to use 🤘
  • Beginner friendly 😱
  • Audio filters 🎸
  • Lightweight 🛬
  • Custom extractors support 🌌
  • Lyrics 📃
  • Multiple sources support ✌
  • Play in multiple servers at the same time 🚗

Sources supported

By default, discord-player supports youtube, spotify, soundcloud, vimeo, reverbnation, facebook and attachment links only.

Discord Player provides extractor API that enables you to use your custom stream extractor with it. For example, you can use youtube-dl with discord-player like this:

const { Downloader } = require("@discord-player/downloader"); // YouTubeDL instance

player.use("EXAMPLE", Downloader); // now discord-player supports 700+ sites :poggies:

or you can build your own :D

License

MIT License

Copyright (c) 2020-present Androz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.