2023-02-01 12:04:14 +01:00
|
|
|
const command = {
|
|
|
|
name: "love",
|
2023-02-01 12:41:57 +01:00
|
|
|
desc: "get the amount of love between two people!",
|
2023-02-02 23:37:42 +01:00
|
|
|
restricted: false,
|
2023-02-02 23:58:58 +01:00
|
|
|
mod: false,
|
2023-02-01 12:04:14 +01:00
|
|
|
run: async (client, msg, splitted) => {
|
|
|
|
if (splitted[2] === undefined || splitted[3] === undefined) {
|
2023-02-04 17:21:55 +01:00
|
|
|
await client.say(
|
|
|
|
msg.channelName,
|
|
|
|
`${msg.displayName}, supply 2 args PoroSad`
|
|
|
|
);
|
2023-02-01 12:41:57 +01:00
|
|
|
return;
|
2023-02-01 12:04:14 +01:00
|
|
|
}
|
|
|
|
|
2023-02-11 13:48:05 +01:00
|
|
|
await client.say(
|
|
|
|
msg.channelName,
|
|
|
|
`${msg.displayName}, ${splitted[2]} and ${
|
|
|
|
splitted[3]
|
|
|
|
} are about ${Math.floor(Math.random() * 100)}% in love with each other!`
|
|
|
|
);
|
2023-02-01 12:04:14 +01:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
2023-02-01 22:11:48 +01:00
|
|
|
module.exports = { command };
|