updateVoiceState

abstract fun updateVoiceState(member: Member, voiceState: VoiceState, add: Boolean)(source)

updates the member's voice state

Parameters

member

The member which voice state is to be updated

voiceState

The new voice state

add

If true, the voice state will be added to the member's voice states, otherwise it will be removed