Skip to main content
Module

x/harmony/mod.ts>Guild#chunk

An easy to use Discord API Library for Deno.
Go to Latest
method Guild.prototype.chunk
Re-export
import { Guild } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Chunks the Guild Members, i.e. cache them.

Parameters

options: RequestMembersOptions

Options regarding the Members Request

optional
wait: boolean = [UNSUPPORTED]

Whether to wait for all Members to come before resolving Promise or not.

optional
timeout: number = [UNSUPPORTED]

Configurable timeout to cancel the wait to safely remove listener.

Returns

Promise<Guild>