new MemberRemove(serverId, userId, isKickopt, isBanopt) → {MemberRemove.<String, String, boolean, boolean>}
MemberRemove constructor
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
serverId |
String
|
The server id of the member remove |
|
userId |
String
|
The user id of the user who was removed |
|
isKick |
boolean
|
<optional> |
Whether the user was kicked or not |
isBan |
boolean
|
<optional> |
Whether the user was banned or not |
Returns:
- Type:
-
MemberRemove.<String, String, boolean, boolean>
The server id of the member remove, the user id of the user who was removed, whether the user was kicked or not, whether the user was banned or not
Members
(readonly) isBan :boolean
The user who was removed are banned?
Type:
-
boolean
(private, readonly) isKick :boolean
The user who was removed are kicked?
Type:
-
boolean
(private, readonly) serverId :String
The server id of the member ban
Type:
-
String
(private, readonly) userId :String
The user ID of the user who was removed
Type:
-
String