return and await

This commit is contained in:
Daniel Odendahl Jr
2017-03-23 13:16:59 +00:00
parent cea110ce4b
commit 7c0a39ec5c
83 changed files with 295 additions and 264 deletions
+1 -1
View File
@@ -22,6 +22,6 @@ module.exports = class FishyCommand extends commando.Command {
console.log(`[Command] ${message.content}`);
let fish = [':fish:', ':tropical_fish:', ':blowfish:'];
fish = fish[Math.floor(Math.random() * fish.length)];
message.channel.send(`You caught a: ${fish}`);
return message.channel.send(`You caught a: ${fish}`);
}
};