LOVER_USER_ID

This commit is contained in:
Dragon Fire
2021-03-02 17:27:25 -05:00
parent 49003aa33a
commit 1f987befa6
10 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
const Command = require('../../structures/Command');
const { MersenneTwister19937, integer } = require('random-js');
const texts = require('../../assets/json/coolness');
const { GIRLFRIEND_USER_ID } = process.env;
const { LOVER_USER_ID } = process.env;
module.exports = class CoolnessCommand extends Command {
constructor(client) {
@@ -29,7 +29,7 @@ module.exports = class CoolnessCommand extends Command {
if (authorUser) return msg.reply('You\'re the best owner a bot could ask for! ❤');
return msg.reply(`Don't tell them I said this but I think ${user.username} smells like a sack of diapers.`);
}
if (user.id === GIRLFRIEND_USER_ID) return msg.reply(`${user.username} is by far the coolest person ever! ❤`);
if (user.id === LOVER_USER_ID) return msg.reply(`${user.username} is by far the coolest person ever! ❤`);
const random = MersenneTwister19937.seed(user.id);
const coolness = integer(0, texts.length - 1)(random);
return msg.reply(`${authorUser ? 'You are' : `${user.username} is`} ${texts[coolness]}`);