jericho-player

LightWeight Framework for discord.js v13 Music Bots and Radio Bots with fast moderation with commands and no memory leak mode

Usage no npm install needed!

<script type="module">
  import jerichoPlayer from 'https://cdn.skypack.dev/jericho-player';
</script>

README


jericho-player


Discord server npm version npm downloads Tests status

LightWeight Framework for discord.js v13 Music Bots and Radio Bots with fast moderation with commands and no memory leak mode.

Installation

Install jericho-player

$ npm install --save jericho-player

Install @discordjs/opus OR opusscript

$ npm install --save @discordjs/opus
              OR
$ npm install --save opusscript

Install @discordjs/voice

$ npm install --save @discordjs/voice

Install FFmpeg or Avconv

Features

  • Simple & easy to use 🤘
  • Beginner friendly 😱
  • Auto Proxy Feature
  • Lightweight 🛬
  • No-Memory-Leak-Mode Present and optimised based on @discordjs/voice
  • play-dl or youtube-dl extractors support 🌌
  • Multiple sources support ✌
  • Supports Custom Youtube Cookies and Proxies
  • Play in multiple servers at the same time 🚗

Documentation

Supported websites

By default, jericho-player supports YouTube, Spotify, facebook, SoundCloud and Arbitary Links streams only.

Optional dependencies

Jericho Player got some Custom Extractors that enables you to use and fast Extraction. Some packages have been made by the Sid is Live YT to add new features using this Extractors.

playdl-music-extractor (optional and latest)

Optional package that adds support for vimeo, reverbnation, facebook. You just need to install it using npm i --save playdl-music-extractor (jericho-player will automatically detect and use it).

video-extractor (optional)

video-extractor is an optional package that brings support for +700 websites by using youtube-dl . The Npm Package Link is available here. And You can install Custom Extractor by npm i --save video-extractor

Community Bots made with Jericho Player

These bots are made by the community, they can help you build your own!

Advanced

Use cookies

const player = new Player(client, {
    ExtractorStreamOptions: {
        Cookies: //Youtube Cookies String Value
    }
});

Use custom proxies

// Remove "user:pass@" if you don't need to authenticate to your proxy.
const proxy = "http://user:pass@111.111.111.111:8080";

const player = new Player(client, {
  ExtractorStreamOptions: {
    Proxy: [proxy], //Proxy Value from Array
  },
});

Use Custom User-Agents


const player = new Player(client, {
  ExtractorStreamOptions: {
    UserAgents: [user-agent], //User-Agents from browser to avoid 429 Errors in 'playdl-music-extractor'
  },
});