Drop Reply in most cases

This commit is contained in:
dragonfire535
2017-03-03 12:19:13 -05:00
parent d6ad30caf9
commit bb9a8b3e0d
42 changed files with 83 additions and 83 deletions
+2 -2
View File
@@ -19,9 +19,9 @@ class LotteryCommand extends commando.Command {
console.log("[Command] " + message.content);
let lotterynumber = ['Winner'][Math.floor(Math.random() * 100)];
if(lotterynumber === "Winner") {
message.reply("Wow! You actually won! Great job!");
message.channel.sendMessage("Wow " + message.author.username + "! You actually won! Great job!");
} else {
message.reply("Nope, sorry, you lost. RIP you.");
message.channel.sendMessage("Nope, sorry, " + message.author.username + ", you lost. RIP you.");
}
}
}