getGuildOrNull

suspend fun getGuildOrNull(): Guild?(source)

Requests to get the Guild this ban happened in, returns null if the guild isn't present.

Throws

if anything went wrong during the request.