mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 06:43:17 +00:00
Detailed errors
This commit is contained in:
parent
2b60f0ec12
commit
5bf311de45
@ -9,5 +9,5 @@ module.exports = async function (client, error, guild) {
|
|||||||
client.users.cache.get(client.config.devId).send(client.messages.dispatcherError + error);
|
client.users.cache.get(client.config.devId).send(client.messages.dispatcherError + error);
|
||||||
queue.voiceChannel.leave();
|
queue.voiceChannel.leave();
|
||||||
client.queue.delete(guild.id);
|
client.queue.delete(guild.id);
|
||||||
return queue.textChannel.send(client.messages.errorDispatcher);
|
return queue.textChannel.send(client.messages.errorDispatcher + `\`${error}\``);
|
||||||
};
|
};
|
@ -45,11 +45,11 @@ module.exports = {
|
|||||||
"I did not find a role `DJ` so i have created one for you!",
|
"I did not find a role `DJ` so i have created one for you!",
|
||||||
djRoleFound: emojis.green_check_mark +
|
djRoleFound: emojis.green_check_mark +
|
||||||
"I found a `DJ` role from this guild! This role is now the DJ role.",
|
"I found a `DJ` role from this guild! This role is now the DJ role.",
|
||||||
error: emojis.redx + "An error occured!",
|
error: emojis.redx + "An error occured!.\nError: ",
|
||||||
errorConnecting: "Error with connecting to voice channel: ",
|
errorConnecting: "Error with connecting to voice channel: ",
|
||||||
errorDetected: "Error detected: ",
|
errorDetected: "Error detected: ",
|
||||||
errorDispatcher: emojis.redx +
|
errorDispatcher: emojis.redx +
|
||||||
"An error has occured while playing music! The queue has been deleted.",
|
"An error has occured while playing music! The queue has been deleted.\nError: ",
|
||||||
errorExe: emojis.redx + "there was an error trying to execute that command!",
|
errorExe: emojis.redx + "there was an error trying to execute that command!",
|
||||||
errorExeOpt: emojis.redx + "there was an error trying to execute that option!",
|
errorExeOpt: emojis.redx + "there was an error trying to execute that option!",
|
||||||
evalTitle: "Evaluation Command",
|
evalTitle: "Evaluation Command",
|
||||||
|
@ -64,7 +64,7 @@ module.exports = async function (
|
|||||||
client.users.cache
|
client.users.cache
|
||||||
.get(client.config.devId)
|
.get(client.config.devId)
|
||||||
.send(client.messages.errorConnecting + error);
|
.send(client.messages.errorConnecting + error);
|
||||||
return msg.channel.send(client.messages.error);
|
return msg.channel.send(client.messages.error + error);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user