From bd59af61b087360b02388e89085a35df26cd1e27 Mon Sep 17 00:00:00 2001 From: Neko Life Date: Mon, 10 May 2021 13:40:53 +0000 Subject: [PATCH] fixed avatar bug --- cmds/utility/avatar.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmds/utility/avatar.js b/cmds/utility/avatar.js index 15503a0..6656918 100644 --- a/cmds/utility/avatar.js +++ b/cmds/utility/avatar.js @@ -51,11 +51,8 @@ module.exports = class avatar extends commando.Command { if (arg) { for(const theAvThis of args) { let avThis = theAvThis.replace(/\-\-show *\d*/i, ""); - if (avThis.length === 1) { - return trySend(this.client, msg, "One character for searching member isn't allowed <:catstareLife:794930503076675584>"); - } let uID = cleanMentionID(avThis.trim()); - if (uID.length > 1) { + if (uID.length > 0) { let ree = []; async function nonDigit(client) { const theree = findMemberRegEx(msg, uID);