Skip to content

GuildMember

Extended by

Constructors

new GuildMember()

new GuildMember(client, member): GuildMember

Parameters

ParameterType
clientClient<Transformers, CacheManagerStructure>
memberMemberStructure

Returns

GuildMember

Defined in

transformers/src/factories/guild-member.ts:45

Properties

user

readonly user: User

Defined in

transformers/src/factories/guild-member.ts:27


nick

readonly nick: undefined | null | string

Defined in

transformers/src/factories/guild-member.ts:28


avatar

readonly avatar: undefined | null | string

Defined in

transformers/src/factories/guild-member.ts:29


roles

readonly roles: string[]

Defined in

transformers/src/factories/guild-member.ts:30


joinedAt

readonly joinedAt: Date

Defined in

transformers/src/factories/guild-member.ts:31


premiumSince

readonly premiumSince: undefined | Date

Defined in

transformers/src/factories/guild-member.ts:32


deaf

readonly deaf: boolean

Defined in

transformers/src/factories/guild-member.ts:33


mute

readonly mute: boolean

Defined in

transformers/src/factories/guild-member.ts:34


flags

readonly flags: number

Defined in

transformers/src/factories/guild-member.ts:35


pending

readonly pending: boolean

Defined in

transformers/src/factories/guild-member.ts:36


permissions

readonly permissions: undefined | string

Defined in

transformers/src/factories/guild-member.ts:37


communicationDisabledUntil

readonly communicationDisabledUntil: undefined | Date

Defined in

transformers/src/factories/guild-member.ts:38


client

readonly client: Client<Transformers, CacheManagerStructure>

Defined in

transformers/src/factories/guild-member.ts:43

Methods

modify()

modify(options): Promise<void>

Parameters

ParameterType
optionsModifyMemberOptions

Returns

Promise<void>

Defined in

transformers/src/factories/guild-member.ts:66


avatarURL()

avatarURL(options): string

Parameters

ParameterType
optionsCDNOptions

Returns

string

Defined in

transformers/src/factories/guild-member.ts:77