say, embed, and code

This commit is contained in:
Daniel Odendahl Jr
2017-03-25 23:14:29 +00:00
parent 55b8969ead
commit 8d3613773a
97 changed files with 154 additions and 154 deletions
+2 -2
View File
@@ -23,10 +23,10 @@ module.exports = class CowsayCommand extends commando.Command {
}
console.log(`[Command] ${message.content}`);
let turnToCowsay = args.text;
return message.channel.sendCode(null, cowsay.say({
return message.code(null, cowsay.say({
text: turnToCowsay,
e: "oO",
T: "U "
})).catch(error => message.channel.send(':x: Error! Perhaps the content is too long?'));
})).catch(error => message.say(':x: Error! Perhaps the content is too long?'));
}
};