getVoiceStateOrNull

open suspend fun getVoiceStateOrNull(): VoiceState?(source)

Requests to get the VoiceState of this member in the guild, returns null if the VoiceState isn't present.

This property is not resolvable through REST and will always use the Kord.cache instead.

Throws

if anything went wrong during the request.