mirror of
https://github.com/danbulant/Shasha
synced 2026-06-05 07:31:22 +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 = [];
|
let ree = [];
|
||||||
if (/^\d{17,19}$/.test(uID)) {
|
if (/^\d{17,19}$/.test(uID)) {
|
||||||
const findmem = msg.guild?.member(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(() => { });
|
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);
|
} else ree = findMemberRegEx(msg, uID).map(r => r.user);
|
||||||
console.log(ree);
|
|
||||||
if (ree.length > 0) {
|
if (ree.length > 0) {
|
||||||
const duplicateRes = dupliCheck.findIndex(yes => yes === ree[0].id);
|
const duplicateRes = dupliCheck.findIndex(yes => yes === ree[0].id);
|
||||||
if (duplicateRes !== -1) {
|
if (duplicateRes !== -1) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue