mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-22 14:41:05 +01:00
fix: dont use copilooooooooooooot - correct guildid
This commit is contained in:
parent
6c1528b7be
commit
10342b73f4
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ export const getDiscordGuildMembers = async(token: string) => {
|
|||
|
||||
if (members.length == 0) break;
|
||||
|
||||
console.log(members);
|
||||
result.push(...members.map(m => ({ id: m.id, nickname: m.nick })));
|
||||
oldId = members[members.length - 1].id;
|
||||
|
||||
|
|
Loading…
Reference in a new issue