From 261086afe2611b87e5fffd10c1cba508169d5558 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 21 Feb 2021 13:34:22 -0500 Subject: [PATCH] Fix lint --- commands/random-seed/think-of.js | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/commands/random-seed/think-of.js b/commands/random-seed/think-of.js index 6a1b0afa..cd5ff009 100644 --- a/commands/random-seed/think-of.js +++ b/commands/random-seed/think-of.js @@ -49,7 +49,6 @@ module.exports = class ThinkOfCommand extends Command { let thought; const self = first.id === second.id; const owner = this.client.isOwner(first) || this.client.isOwner(second); - const authorUser = first.id === msg.author.id || second.id === msg.author.id; const botUser = first.id === this.client.user.id || second.id === this.client.user.id; const girlfriendUser = first.id === GIRLFRIEND_USER_ID || second.id === GIRLFRIEND_USER_ID; if (owner && botUser) { @@ -96,28 +95,4 @@ module.exports = class ThinkOfCommand extends Command { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); } } - - calculateLevelText(level, self, owner, authorUser, botUser) { - if (owner && botUser) { - if (authorUser) return 'Pervert'; - else return 'Yuck'; - } - if (self) return 'Narcissist'; - if (level === 0) return 'Abysmal'; - if (level > 0 && level < 10) return 'Horrid'; - if (level > 9 && level < 20) return 'Awful'; - if (level > 19 && level < 30) return 'Very Bad'; - if (level > 29 && level < 40) return 'Bad'; - if (level > 39 && level < 50) return 'Poor'; - if (level > 49 && level < 60) return 'Average'; - if (level > 59 && level < 70) { - if (level === 69) return 'Nice'; - return 'Fine'; - } - if (level > 69 && level < 80) return 'Good'; - if (level > 79 && level < 90) return 'Great'; - if (level > 89 && level < 100) return 'Amazing'; - if (level === 100) return 'Soulmates'; - return '???'; - } };