Proper await

This commit is contained in:
Daniel Odendahl Jr
2017-03-24 02:29:31 +00:00
parent 5329d08581
commit 122fcf5de3
103 changed files with 613 additions and 577 deletions
+2 -2
View File
@@ -30,10 +30,10 @@ module.exports = class ShuffleCommand extends commando.Command {
console.log(`[Command] ${message.content}`);
let thingToShuffle = message.content.split(" ").slice(1).join(" ");
if (!thingToShuffle) {
return message.channel.send(":x: Error! Nothing to shuffle!");
message.channel.send(":x: Error! Nothing to shuffle!");
}
else {
return message.channel.send(thingToShuffle.shuffle());
message.channel.send(thingToShuffle.shuffle());
}
}
};