hoshii / Exports / ServerMemberUpdateInfo

ServerMemberUpdateInfo

Represents a server member update info

Hierarchy

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new ServerMemberUpdateInfo(data, client, memberID)

Create a new ServerMemberUpdateInfo

Parameters

NameTypeDescription
dataPayload_ServerMemberUpdated | Payload_ServerRolesUpdatedThe payload data of the member
clientClientThe client
memberIDstringThe ID of the member

Overrides

ServerMemberInfo.constructor

Defined in

lib/structures/ServerMemberUpdateInfo.ts:33open in new window

Properties

client

client: Client

The client

Inherited from

ServerMemberInfo.client

Defined in

lib/structures/ServerMemberInfo.ts:17open in new window


memberID

memberID: string

The ID of the member

Inherited from

ServerMemberInfo.memberID

Defined in

lib/structures/ServerMemberInfo.ts:22open in new window


oldRoles

oldRoles: number[]

An array of old roles IDs the member had

Defined in

lib/structures/ServerMemberUpdateInfo.ts:15open in new window


roleIDs

roleIDs: number[]

An array of new roles IDs the member has

Defined in

lib/structures/ServerMemberUpdateInfo.ts:20open in new window


serverID

serverID: string

The ID of the server the member is in

Inherited from

ServerMemberInfo.serverID

Defined in

lib/structures/ServerMemberInfo.ts:27open in new window


updatedNickname

updatedNickname: string

The updated nickname of the member

Defined in

lib/structures/ServerMemberUpdateInfo.ts:25open in new window

Accessors

member

get member(): ServerMember | Promise<ServerMember>

The member

Returns

ServerMember | Promise<ServerMember>

Inherited from

ServerMemberInfo.member

Defined in

lib/structures/ServerMemberInfo.ts:51open in new window


server

get server(): Server | Promise<Server>

The server the member is in

Returns

Server | Promise<Server>

Inherited from

ServerMemberInfo.server

Defined in

lib/structures/ServerMemberInfo.ts:63open in new window

Last Updated:
Contributors: Reinhardt