More owner insults in random-seed commands

This commit is contained in:
Dragon Fire
2020-05-07 22:25:24 -04:00
parent f8b1b27470
commit 2861910198
6 changed files with 25 additions and 3 deletions
+6 -1
View File
@@ -30,9 +30,14 @@ module.exports = class ButtCommand extends Command {
}
run(msg, { user }) {
const authorUser = user.id === msg.author.id;
if (user.id === this.client.user.id) return msg.reply('Me? I think I have the best butt around!');
if (this.client.isOwner(user)) {
if (authorUser) return msg.reply('ur butt is godly, master');
return msg.reply(`${user.username}'s butt is... Something, I'll say that much.`);
}
const random = MersenneTwister19937.seed(user.id);
const quality = integer(0, texts.length - 1)(random);
return msg.reply(`${user.id === msg.author.id ? 'ur' : `${user.username}'s`} butt is ${texts[quality]}`);
return msg.reply(`${authorUser ? 'ur' : `${user.username}'s`} butt is ${texts[quality]}`);
}
};
+4
View File
@@ -22,6 +22,10 @@ module.exports = class DickCommand extends Command {
}
run(msg, { user }) {
if (this.client.isOwner(user)) {
if (user.id === msg.author.id) return msg.reply(`8${'='.repeat(20)}D`);
return msg.reply(`8=D`);
}
const clientAuthor = user.id === this.client.user.id;
const random = MersenneTwister19937.seed(clientAuthor ? msg.author.id : user.id);
const length = integer(0, 20)(random);
+4
View File
@@ -26,6 +26,10 @@ module.exports = class GuessLooksCommand extends Command {
run(msg, { user }) {
if (user.id === this.client.user.id) return msg.reply('Me? Just look at my avatar, dummy.');
const authorUser = user.id === msg.author.id;
if (this.client.isOwner(user)) {
if (authorUser) return msg.reply('You look amazing as always! ❤');
return msg.reply(`${user.username} looks like a monkey, and smells like one too.`);
}
const random = MersenneTwister19937.seed(user.id);
const gender = genders[integer(0, genders.length - 1)(random)];
const eyeColor = eyeColors[integer(0, eyeColors.length - 1)(random)];
+6 -1
View File
@@ -21,9 +21,14 @@ module.exports = class IQCommand extends Command {
}
run(msg, { user }) {
const authorUser = user.id === msg.author.id;
if (user.id === this.client.user.id) return msg.reply('Me? My IQ score is off the charts!');
if (this.client.isOwner(user)) {
if (authorUser) return msg.reply('Only someone of the highest IQ could make a bot as amazing as me!');
return msg.reply('My owner? Yeah... Not the sharpest tool in the shed.');
}
const random = MersenneTwister19937.seed(user.id);
const score = integer(20, 170)(random);
return msg.reply(`${user.id === msg.author.id ? 'Your' : `${user.username}'s`} IQ score is ${score}.`);
return msg.reply(`${authorUser ? 'Your' : `${user.username}'s`} IQ score is ${score}.`);
}
};
+4
View File
@@ -22,6 +22,10 @@ module.exports = class SmashOrPassCommand extends Command {
run(msg, { user }) {
if (user.id === this.client.user.id) return msg.reply('Obviously smash, Google me.');
if (this.client.isOwner(user)) {
if (user.id === msg.author.id) return msg.reply('I mean... Aren\'t we kind of related? In a way?');
return msg.reply('I sure hope no one is dumb enough to smash that... Thing.');
}
const random = MersenneTwister19937.seed(user.id);
const smashOrPass = bool()(random);
return msg.reply(smashOrPass ? 'Smash, I\'d definitely smash.' : 'Hard pass. Yuck.');
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "114.8.0",
"version": "114.8.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {