getGuildOrNull

suspend fun getGuildOrNull(id: Snowflake, strategy: EntitySupplyStrategy<*> = resources.defaultStrategy): 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.