fix: dont use copilooooooooooooot - correct guildid

This commit is contained in:
xHyroM 2022-10-20 12:48:21 +02:00
parent 6c1528b7be
commit 10342b73f4

View file

@ -16,6 +16,7 @@ export const getDiscordGuildMembers = async(token: string) => {
if (members.length == 0) break; if (members.length == 0) break;
console.log(members);
result.push(...members.map(m => ({ id: m.id, nickname: m.nick }))); result.push(...members.map(m => ({ id: m.id, nickname: m.nick })));
oldId = members[members.length - 1].id; oldId = members[members.length - 1].id;