From 2861910198272d49afe14d84674bfcff8053560a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 7 May 2020 22:25:24 -0400 Subject: [PATCH] More owner insults in random-seed commands --- commands/random-seed/butt.js | 7 ++++++- commands/random-seed/dick.js | 4 ++++ commands/random-seed/guess-looks.js | 4 ++++ commands/random-seed/iq.js | 7 ++++++- commands/random-seed/smash-or-pass.js | 4 ++++ package.json | 2 +- 6 files changed, 25 insertions(+), 3 deletions(-) diff --git a/commands/random-seed/butt.js b/commands/random-seed/butt.js index f4c45883..71691aaa 100644 --- a/commands/random-seed/butt.js +++ b/commands/random-seed/butt.js @@ -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]}`); } }; diff --git a/commands/random-seed/dick.js b/commands/random-seed/dick.js index 21224d8f..85f3bf30 100644 --- a/commands/random-seed/dick.js +++ b/commands/random-seed/dick.js @@ -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); diff --git a/commands/random-seed/guess-looks.js b/commands/random-seed/guess-looks.js index d41a99f2..801a049d 100644 --- a/commands/random-seed/guess-looks.js +++ b/commands/random-seed/guess-looks.js @@ -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)]; diff --git a/commands/random-seed/iq.js b/commands/random-seed/iq.js index 6900783b..5e07358b 100644 --- a/commands/random-seed/iq.js +++ b/commands/random-seed/iq.js @@ -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}.`); } }; diff --git a/commands/random-seed/smash-or-pass.js b/commands/random-seed/smash-or-pass.js index a1061369..1b8be8ee 100644 --- a/commands/random-seed/smash-or-pass.js +++ b/commands/random-seed/smash-or-pass.js @@ -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.'); diff --git a/package.json b/package.json index f2d1e1cc..d6f1dc9d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "114.8.0", + "version": "114.8.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {