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} */