$newState
$newState
holds data for the user voice state after the update (voiceStateUpdate event).
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
option | string | Option to retrieve. | true |
Options
Options | Type | Description |
---|---|---|
deaf | boolean | Returns whether this member is either self-deafened or server-deafened |
mute | boolean | Returns whether this member is either self-muted or server-muted |
guildId | number | Returns guild ID |