Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>fetchMembers

A powerful and customizable framework for Discordeno
Latest
function fetchMembers
Re-export
import { fetchMembers } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";

Highly recommended to use this function to fetch members instead of getMember from REST. REST: 50/s global(across all shards) rate limit with ALL requests this included GW(this function): 120/m(PER shard) rate limit. Meaning if you have 8 shards your limit is now 960/m.

Parameters

bot: Bot
guildId: bigint
shardId: number
optional
options: Omit<RequestGuildMembers, "guildId">