detritus
On this page

Base Guild Structure

import { Structures } from 'detritus-client';

Structures.BaseGuild;
24 properties85 methods15 inheritedsrc/structures/guild.ts:84

Constructor

Properties

client
readonly
Inherited from BaseStructure.client
features
BaseSet<string>
icon
string | null
Default null
id
string
Default ''
name
string
Default ''

Accessors

acronym
string
get
canHaveBanner
boolean
get
canHaveDiscoveryFeatures
boolean
get
canHaveNews
boolean
get
canHavePublic
boolean
get
canHaveSplash
boolean
get
canHaveStore
boolean
get
canHaveTextInVoice
boolean
get
canHaveVanityUrl
boolean
get
canHaveVipRegions
boolean
get
createdAt
Date
get
createdAtUnix
number
get
iconUrl
string | null
get
isClone
boolean
get
Inherited from BaseStructure.isClone
isDiscoverable
boolean
get
isPartnered
boolean
get
isPublic
boolean
get
isVerified
boolean
get
shardId
number
get
Inherited from BaseStructure.shardId
widgetImageUrl
string
get
widgetUrl
string
get

Methods

requestMembers()

async src/structures/guild.ts:524
requestMembers(
  options: { limit?: number; presences?: boolean; query: string; timeout?: number; userIds?: string[] },
): Promise<{ members: BaseCollection<string, Member>; nonce: string; notFound: BaseSet<string>; presences: BaseCollection<string, Presence> }>
options
{ limit?: number; presences?: boolean; query: string; timeout?: number; userIds?: string[] }
options.limit?
number
options.presences?
boolean
options.query
string
options.timeout?
number
options.userIds?
string[]