mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Quote Command Test
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user