hoshii / Exports / ServerMemberRemoveInfo
ServerMemberRemoveInfo
Represents a server member remove info
Hierarchy
↳
ServerMemberRemoveInfo
Table of contents
Constructors
Properties
Accessors
Constructors
constructor
• new ServerMemberRemoveInfo(data
, client
, memberID
)
Create a new ServerMemberRemoveInfo
Parameters
Name | Type | Description |
---|---|---|
data | Payload_ServerMemberRemoved | The payload data of the member |
client | Client | The client |
memberID | string | The ID of the member |
Overrides
Defined in
lib/structures/ServerMemberRemoveInfo.ts:25
Properties
client
• client: Client
The client
Inherited from
Defined in
lib/structures/ServerMemberInfo.ts:17
isBan
• Optional
isBan: boolean
Whether the member was banned
Defined in
lib/structures/ServerMemberRemoveInfo.ts:12
isKick
• Optional
isKick: boolean
Whether the member was kicked
Defined in
lib/structures/ServerMemberRemoveInfo.ts:17
memberID
• memberID: string
The ID of the member
Inherited from
Defined in
lib/structures/ServerMemberInfo.ts:22
serverID
• serverID: string
The ID of the server the member is in
Inherited from
Defined in
lib/structures/ServerMemberInfo.ts:27
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