mirror of
https://github.com/danbulant/Shasha
synced 2026-05-25 21:01:57 +00:00
little bug fix
This commit is contained in:
parent
03afecade9
commit
6bea0bee72
1 changed files with 1 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ module.exports = class avatar extends commando.Command {
|
|||
let ree = [];
|
||||
async function nonDigit(client) {
|
||||
const theree = findMemberRegEx(msg, uID);
|
||||
if (theree) {
|
||||
if (theree.length > 0) {
|
||||
for (const reeRes of theree) {
|
||||
ree.push(reeRes);
|
||||
}
|
||||
|
|
@ -118,8 +118,6 @@ module.exports = class avatar extends commando.Command {
|
|||
emb.setColor(16777214);
|
||||
}
|
||||
allEmb.push(emb);
|
||||
} else {
|
||||
trySend(this.client, msg, `Can't find user: **${avThis.trim()}**`);
|
||||
}
|
||||
}
|
||||
if (onceOnly) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue