mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
return and await
This commit is contained in:
@@ -23,6 +23,6 @@ module.exports = class OffspringCommand extends commando.Command {
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let gender = ['boy', 'girl'];
|
||||
gender = gender[Math.floor(Math.random() * gender.length)];
|
||||
message.channel.send(`It's a ${gender}!`);
|
||||
return message.channel.send(`It's a ${gender}!`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user