From bd38870c44a62cf1a96646e02f2ecb57c7dc8381 Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Mon, 12 Dec 2022 12:25:34 +1100 Subject: [PATCH] oopsie forgot to turn on the linter --- bot/util/functions.js | 6 +----- bot/util/logger.js | 8 ++++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/bot/util/functions.js b/bot/util/functions.js index e8d5656..866cce5 100644 --- a/bot/util/functions.js +++ b/bot/util/functions.js @@ -32,7 +32,7 @@ class Functions { return Math.round((Math.random() * (max - min) + min)); } - randomColour () { + randomColor () { const n = (Math.random() * 0xfffff * 1000000).toString(16); return '#' + n.slice(0, 6); } @@ -51,10 +51,6 @@ class Functions { return role; } - searchMembers (guild, input) { - - } - embedColor (guild, member) { if (!member) { return guild.members.cache.get(this.client.user.id).displayHexColor; diff --git a/bot/util/logger.js b/bot/util/logger.js index 6006c9d..51efdbe 100644 --- a/bot/util/logger.js +++ b/bot/util/logger.js @@ -34,7 +34,7 @@ class Logger { /** * Log something related to being successful - * @param {string} title The title of the log enty + * @param {string} title The title of the log entry * @param {string} body The body of the log entry * @returns {void} */ @@ -44,7 +44,7 @@ class Logger { /** * Log something related to a warning - * @param {string} title The title of the log enty + * @param {string} title The title of the log entry * @param {string} body The body of the log entry * @returns {void} */ @@ -54,7 +54,7 @@ class Logger { /** * Log something related to an error - * @param {string} title The title of the log enty + * @param {string} title The title of the log entry * @param {string} body The body of the log entry * @returns {void} */ @@ -64,7 +64,7 @@ class Logger { /** * Log something related to debugging - * @param {string} title The title of the log enty + * @param {string} title The title of the log entry * @param {string} body The body of the log entry * @returns {void} */