Skip to content

$newState

$newState holds data for the user voice state after the update (voiceStateUpdate event).

Usage

$newState[option]

Parameters

FieldTypeDescriptionRequired
optionstringOption to retrieve.true

Options

OptionsTypeDescription
deafbooleanReturns whether this member is either self-deafened or server-deafened
mutebooleanReturns whether this member is either self-muted or server-muted
guildIdnumberReturns guild ID