getGuildOrNull

open suspend override fun getGuildOrNull(id: Snowflake): Guild?(source)

Requests the Guild with the given id, returns null when the guild isn't present.

Throws

if something went wrong while retrieving the guild.