19 lines
535 B
JavaScript
19 lines
535 B
JavaScript
const command = {
|
|
name: "love",
|
|
desc: "get the amount of love between two people!",
|
|
run: async (client, msg, splitted) => {
|
|
if (splitted[2] === undefined || splitted[3] === undefined) {
|
|
client.say(msg.channelName, `${msg.displayName}, supply 2 args PoroSad`);
|
|
return;
|
|
}
|
|
|
|
await client.say(
|
|
msg.channelName,
|
|
`${msg.displayName}, ${splitted[2]} and ${
|
|
splitted[3]
|
|
} are about ${Math.floor(Math.random() * 100)}% in love with each other!`
|
|
);
|
|
},
|
|
};
|
|
|
|
export default { command };
|