Quote Command Test

This commit is contained in:
Daniel Odendahl Jr
2017-03-23 17:11:31 +00:00
parent 0b032fdce6
commit 3c7240b8c9
+2
View File
@@ -31,6 +31,8 @@ module.exports = class QuotesCommand extends commando.Command {
cat: randomTypes
})
.then(function(response) {
console.log(response);
console.log(response.body);
return message.channel.send(`"${response.body.quote}"\n - *${response.body.author}*`).catch(error => message.channel.send(':x: Error! Something went wrong!'));
}).catch(function(err) {
console.log(err);