Detailed errors

This commit is contained in:
MatteZ02 committed 2020-06-08 13:41:49 +03:00
1 parent 2b60f0ec12
commit 5bf311de45
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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}\``);
};