hoshii / Exports / ServerMemberInfo
ServerMemberInfo
Represents a server member info
Hierarchy
ServerMemberInfo
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
• new ServerMemberInfo(data
, client
, memberID
)
Create a new ServerMemberInfo
Parameters
Name | Type | Description |
---|---|---|
data | Payload_ServerMemberRemoved | Payload_ServerMemberUpdated | Payload_ServerRolesUpdated | The raw data of the member |
client | Client | The client |
memberID | string | The ID of the member |
Defined in
lib/structures/ServerMemberInfo.ts:35
Properties
client
• client: Client
The client
Defined in
lib/structures/ServerMemberInfo.ts:17
memberID
• memberID: string
The ID of the member
Defined in
lib/structures/ServerMemberInfo.ts:22
serverID
• serverID: string
The ID of the server the member is in
Defined in
lib/structures/ServerMemberInfo.ts:27
Accessors
member
• get
member(): ServerMember
| Promise
<ServerMember
>
The member
Returns
ServerMember
| Promise
<ServerMember
>
Defined in
lib/structures/ServerMemberInfo.ts:51
server
• get
server(): Server
| Promise
<Server
>
The server the member is in