Improve Errors

This commit is contained in:
Daniel Odendahl Jr
2017-05-16 17:24:47 +00:00
parent 9ae50db19c
commit 92f7c05015
46 changed files with 64 additions and 64 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ client.on('message', async (msg) => {
return msg.reply(response)
.then(() => msg.channel.stopTyping());
} catch (err) {
return msg.reply('An Error Occurred.')
return msg.reply(err.message)
.then(() => msg.channel.stopTyping());
}
} else return;