getGuildOrNull

suspend fun getGuildOrNull(): Guild?(source)

Requests to get the guild of this voice state, returns null if the Guild isn't present.

Throws

if anything went wrong during the request.