$fetchGuildMembers

Fetches all the members from the given server. Requires members intent enabled in the developer portal.

Usage

$fetchGuildMembers[guild ID (optional)]

Breakdown

guild ID - The server to fetch the members from. If none is provided, it uses the current server.

Example

bot.command({
    type: "command",
    name: "members",
    code: `Members: $fetchGuildMembers`
})

Last updated

Was this helpful?