hoshii / Exports / ServerMemberUpdateInfo
ServerMemberUpdateInfo
Represents a server member update info
Hierarchy
↳
ServerMemberUpdateInfo
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
• new ServerMemberUpdateInfo(data
, client
, memberID
)
Create a new ServerMemberUpdateInfo
Parameters
Name | Type | Description |
---|---|---|
data | Payload_ServerMemberUpdated | Payload_ServerRolesUpdated | The payload data of the member |
client | Client | The client |
memberID | string | The ID of the member |
Overrides
Defined in
lib/structures/ServerMemberUpdateInfo.ts:33
Properties
client
• client: Client
The client
Inherited from
Defined in
lib/structures/ServerMemberInfo.ts:17
memberID
• memberID: string
The ID of the member
Inherited from
Defined in
lib/structures/ServerMemberInfo.ts:22
oldRoles
• oldRoles: number
[]
An array of old roles IDs the member had
Defined in
lib/structures/ServerMemberUpdateInfo.ts:15
roleIDs
• roleIDs: number
[]
An array of new roles IDs the member has
Defined in
lib/structures/ServerMemberUpdateInfo.ts:20
serverID
• serverID: string
The ID of the server the member is in
Inherited from
Defined in
lib/structures/ServerMemberInfo.ts:27
updatedNickname
• updatedNickname: string
The updated nickname of the member
Defined in
lib/structures/ServerMemberUpdateInfo.ts:25
Accessors
member
• get
member(): ServerMember
| Promise
<ServerMember
>
The member
Returns
ServerMember
| Promise
<ServerMember
>
Inherited from
ServerMemberInfo.member
Defined in
lib/structures/ServerMemberInfo.ts:51
server
• get
server(): Server
| Promise
<Server
>
The server the member is in
Returns
Inherited from
ServerMemberInfo.server