1.2.4 • Published 2 years ago

divish v1.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

📦 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.

1.2.4

2 years ago

1.2.3

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.2

2 years ago

1.2.2

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago