mirror of
https://github.com/danbulant/Shasha
synced 2026-05-24 12:22:00 +00:00
CONSOLE LOG????
This commit is contained in:
parent
9734ba8f23
commit
f8cedc0391
1 changed files with 0 additions and 2 deletions
|
|
@ -43,10 +43,8 @@ module.exports = class avatar extends commando.Command {
|
|||
let ree = [];
|
||||
if (/^\d{17,19}$/.test(uID)) {
|
||||
const findmem = msg.guild?.member(uID);
|
||||
console.log(findmem);
|
||||
if (findmem) ree.push(findmem.user); else await this.client.users.fetch(uID).then(fetchUser => ree.push(fetchUser)).catch(() => { });
|
||||
} else ree = findMemberRegEx(msg, uID).map(r => r.user);
|
||||
console.log(ree);
|
||||
if (ree.length > 0) {
|
||||
const duplicateRes = dupliCheck.findIndex(yes => yes === ree[0].id);
|
||||
if (duplicateRes !== -1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue