diff --git a/cmds/utility/avatar.js b/cmds/utility/avatar.js index b0bf1eb..a404203 100644 --- a/cmds/utility/avatar.js +++ b/cmds/utility/avatar.js @@ -24,7 +24,7 @@ module.exports = class avatar extends commando.Command { errLog(docErr, msg, this.client); } const footerQuote = r?.["settings"]?.defaultEmbed?.footerQuote; - const args = arg.trim().split(/,+/); + const args = arg.trim().split(/(? 1) { trySend(this.client, msg, "Manage messages permission required to show two or more avatar at once!"); @@ -61,6 +61,7 @@ module.exports = class avatar extends commando.Command { ree.push(reeRes); } } else { + user = undefined; trySend(client, msg, `Can't find user: **${avThis.trim()}**`); } }