mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 05:51:35 +02:00
Quote Command - Beta
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user