mirror of
https://github.com/danbulant/Shasha
synced 2026-07-07 20:10:56 +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 = [];
|
let ree = [];
|
||||||
async function nonDigit(client) {
|
async function nonDigit(client) {
|
||||||
const theree = findMemberRegEx(msg, uID);
|
const theree = findMemberRegEx(msg, uID);
|
||||||
if (theree) {
|
if (theree.length > 0) {
|
||||||
for (const reeRes of theree) {
|
for (const reeRes of theree) {
|
||||||
ree.push(reeRes);
|
ree.push(reeRes);
|
||||||
}
|
}
|
||||||
|
|
@ -118,8 +118,6 @@ module.exports = class avatar extends commando.Command {
|
||||||
emb.setColor(16777214);
|
emb.setColor(16777214);
|
||||||
}
|
}
|
||||||
allEmb.push(emb);
|
allEmb.push(emb);
|
||||||
} else {
|
|
||||||
trySend(this.client, msg, `Can't find user: **${avThis.trim()}**`);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (onceOnly) {
|
if (onceOnly) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue