Quote Command - Beta

This commit is contained in:
Daniel Odendahl Jr
2017-03-23 17:07:04 +00:00
parent 7d1b54b5e6
commit 0b032fdce6
4 changed files with 43 additions and 3 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ module.exports = class YodaCommand extends commando.Command {
sentence: turnToYoda
})
.then(function(response) {
if (response === undefined) {
if (!response) {
return message.channel.send(':x: Error! Something went wrong! Keep it simple to avoid this error.');
}
else {