mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Replace all sendMessage calls with send
This commit is contained in:
@@ -19,7 +19,7 @@ class OffspringCommand extends commando.Command {
|
||||
console.log("[Command] " + message.content);
|
||||
let gender = ['boy', 'girl'];
|
||||
gender = gender[Math.floor(Math.random() * gender.length)];
|
||||
message.channel.sendMessage("It's a " + gender + "!");
|
||||
message.channel.send("It's a " + gender + "!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user