MemberUpdated

MemberUpdated

(private) new MemberUpdated(serverId, userInfo) → {MemberUpdate.<String, String, (String|undefined), User>}

MemberUpdate constructor

Source:
Parameters:
Name Type Description
serverId String

The server id of the member update

userInfo Object

The user info

Name Type Description
id String

The user id of the user who was updated

nickname String | undefined

The username of the user who was updated

Returns:
Type:
MemberUpdate.<String, String, (String|undefined), User>

The server id of the member update, the user id of the user who was updated, the username of the user who was updated, the user who was updated

Members

(readonly) client :Client

Client instance

Source:
Type:

(private, readonly) serverId :String

The server id of the member update

Source:
Type:
  • String

(private, readonly) user :User

The user object of the user who was updated

Source:
Type:

(private, readonly) userId :String

The user ID of the user who was updated

Source:
Type:
  • String

(private, readonly) username :String|undefined

The username of the user who was updated

Source:
Type:
  • String | undefined