hoshii / Exports / ServerMemberInfo

ServerMemberInfo

Represents a server member info

Hierarchy

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new ServerMemberInfo(data, client, memberID)

Create a new ServerMemberInfo

Parameters

NameTypeDescription
dataPayload_ServerMemberRemoved | Payload_ServerMemberUpdated | Payload_ServerRolesUpdatedThe raw data of the member
clientClientThe client
memberIDstringThe ID of the member

Defined in

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

Properties

client

client: Client

The client

Defined in

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


memberID

memberID: string

The ID of the member

Defined in

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


serverID

serverID: string

The ID of the server the member is in

Defined in

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

Accessors

member

get member(): ServerMember | Promise<ServerMember>

The member

Returns

ServerMember | Promise<ServerMember>

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>

Defined in

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

Last Updated:
Contributors: Reinhardt