mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Drop Reply in most cases
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user