mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 03:33:17 +00:00
chore 3.6.2
This commit is contained in:
parent
2d7752d2cf
commit
780113355a
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "musix",
|
"name": "musix",
|
||||||
"version": "3.6.1",
|
"version": "3.6.2",
|
||||||
"description": "V3 for Musix the discord music bot",
|
"description": "V3 for Musix the discord music bot",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
module.exports = async function (client, error, guild) {
|
module.exports = {
|
||||||
|
async execute(client, error, guild) {
|
||||||
const queue = client.queue.get(guild.id);
|
const queue = client.queue.get(guild.id);
|
||||||
console.log(error);
|
console.log(error);
|
||||||
/*if (error = "Error: input stream: This video contains content from WMG, who has blocked it on copyright grounds.") {
|
/*if (error = "Error: input stream: This video contains content from WMG, who has blocked it on copyright grounds.") {
|
||||||
@ -9,4 +10,5 @@ module.exports = async function (client, error, guild) {
|
|||||||
queue.voiceChannel.leave();
|
queue.voiceChannel.leave();
|
||||||
client.queue.delete(guild.id);
|
client.queue.delete(guild.id);
|
||||||
return queue.textChannel.send(client.messages.errorDispatcher + `\`${error}\``);
|
return queue.textChannel.send(client.messages.errorDispatcher + `\`${error}\``);
|
||||||
|
},
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user