Skip to main content
Module

x/discordeno/mod.ts>fetchMembers

Discord API library for Deno
Extremely Popular
Go to Latest
function fetchMembers
import { fetchMembers } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.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">