MemberRemove

MemberRemove

new MemberRemove(serverId, userId, isKickopt, isBanopt) → {MemberRemove.<String, String, boolean, boolean>}

MemberRemove constructor

Source:
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) client :Client

Client instance

Source:
Type:

(readonly) isBan :boolean

The user who was removed are banned?

Source:
Type:
  • boolean

(private, readonly) isKick :boolean

The user who was removed are kicked?

Source:
Type:
  • boolean

(private, readonly) serverId :String

The server id of the member ban

Source:
Type:
  • String

(private, readonly) userId :String

The user ID of the user who was removed

Source:
Type:
  • String