Skip to main content
Module

x/natico/discordeno_deps.ts>fetchMembers

A powerful and customizable framework for Discordeno
Latest
function fetchMembers
import { fetchMembers } from "https://deno.land/x/natico@4.0.0-pre.4/discordeno_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">