getGuildOrNull

suspend fun getGuildOrNull(): Guild?(source)

Requests to get the Guild for this invite, returns null if the Guild isn't present.

Throws

if anything went wrong during the request.