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

x/harmony/src/managers/members.ts>MembersManager

An easy to use Discord API Library for Deno.
Go to Latest
class MembersManager
import { MembersManager } from "https://deno.land/x/harmony@v2.6.0/src/managers/members.ts";

Constructors

new
MembersManager(client: Client, guild: Guild)

Methods

array(): Promise<Member[]>
fetch(id: string): Promise<Member>

Fetch a Guild Member

fetchList(limit?: number, after?: string): Promise<Member[]>

Fetch a list of Guild Members

fromPayload(members: MemberPayload[]): Promise<void>
get(key: string): Promise<Member | undefined>
search(query: string, limit?: number): Promise<Member[]>

Search for Guild Members

set(id: string, payload: MemberPayload): Promise<void>