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

x/discordeno/plugins/cache/deps.ts>fetchMembers

Discord API library for Deno
Go to Latest
function fetchMembers
import { fetchMembers } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";

Fetches the list of members for a guild over the gateway.

Parameters

bot: Bot
  • The bot instance to use to make the requests.
guildId: BigString
  • The ID of the guild to get the list of members for.
optional
options: Omit<RequestGuildMembers, "guildId">
  • The parameters for the fetching of the members.

Returns

Promise<void>