mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 14:04:38 +02:00
Drop Reply in most cases
This commit is contained in:
@@ -19,7 +19,7 @@ class PotatoCommand extends commando.Command {
|
||||
}
|
||||
console.log("[Command] " + message.content);
|
||||
let potato = ["1.jpg", "2.jpg", "3.jpg", "4.jpg", "5.gif", "6.png", "7.jpg", "8.jpg", "9.jpg"][Math.floor(Math.random() * 9)];
|
||||
message.reply("Potatoes!");
|
||||
message.channel.sendMessage("Potatoes!");
|
||||
message.channel.sendFile("./images/Potato" + potato);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user