asGuildOrNull

open suspend fun asGuildOrNull(): Guild?(source)

Requests to get this behavior as a Guild, returns null if the guild isn't present.

Throws

if anything went wrong during the request.