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

x/oasis/tests/deps.ts>fetchMembers

An object oriented Discordeno framework
Latest
function fetchMembers
import { fetchMembers } from "https://deno.land/x/oasis@2.1.0/tests/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">