diff --git a/cmds/utility/avatar.js b/cmds/utility/avatar.js index 75ece03..b0bf1eb 100644 --- a/cmds/utility/avatar.js +++ b/cmds/utility/avatar.js @@ -56,7 +56,7 @@ module.exports = class avatar extends commando.Command { let ree = []; async function nonDigit(client) { const theree = findMemberRegEx(msg, uID); - if (theree.length > 0) { + if (theree?.length > 0) { for (const reeRes of theree) { ree.push(reeRes); }