Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

divish

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

divish

An easy lavalink client base on erelajs.

  • 1.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

📦 Divish

example for discord.js

const { Manager } = require("divish");

client.music = new Manager({
nodes: [{
host: "localhost",
port: 2333, 
password: "youshallnotpass",
secure: false
}],
send(id, payload) {
    let guild = client.guilds.cache.get(id);
    if (guild) guild.shard.send(payload);
  },
});

const music = client.music;
music.on("nodeConnect", node => console.log(`Node ${node.options.identifier} connected`))
music.on("nodeError", (node, error) => console.log(`Node ${node.options.identifier} had an error: ${error.message}`))
music.on("trackStart", (player, track) => {
client.channels.cache.get(player.textChannel)?.send(`NowPlaying ${track.title}`);
})
music.on("queueEnd", (player) => {
client.channels.cache.get(player.textChannel)?.send("Queue has ended.");
});

Spotify plugin

plugin

notice

This package is base on erelajs but provide more features. so you can use it as advance version of erelajs

update

[+] Fix voice lag. [+] Add typescript options. [+] YouTube music search is available.

made by ronstufer with 💖 and dedication.

Keywords

FAQs

Package last updated on 09 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc