$oldState
$oldState
holds data for the user voice state before it was updated (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 |