Skip to content

Not getting all the members of a discord server #19

@RuyokiVenyl

Description

@RuyokiVenyl

hey i've noticed that when i tested your code, there was a problem with collecting all of the members from the code: let memberid = await shuffle((await (await client.guilds.fetch(guild)).members.fetch({limit: 0})).filter(x => x.user.id !== null && !x.user.bot).map(r => r.user.id))

It seemed to have a length of 4500 to 4510, how can i fetch all members by chunk each

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions