mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +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);
|
||||
queue.voiceChannel.leave();
|
||||
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!",
|
||||
djRoleFound: emojis.green_check_mark +
|
||||
"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: ",
|
||||
errorDetected: "Error detected: ",
|
||||
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!",
|
||||
errorExeOpt: emojis.redx + "there was an error trying to execute that option!",
|
||||
evalTitle: "Evaluation Command",
|
||||
|
@ -25,4 +25,4 @@ module.exports = function (msg, args, client, Discord, command) {
|
||||
client.users.cache.get(client.config.devId).send(embed);
|
||||
console.error(error);
|
||||
}
|
||||
};
|
||||
};
|
@ -64,7 +64,7 @@ module.exports = async function (
|
||||
client.users.cache
|
||||
.get(client.config.devId)
|
||||
.send(client.messages.errorConnecting + error);
|
||||
return msg.channel.send(client.messages.error);
|
||||
return msg.channel.send(client.messages.error + error);
|
||||
}
|
||||
return;
|
||||
};
|
Loading…
Reference in New Issue
Block a user