getGuildOrNull

suspend fun getGuildOrNull(): Guild?(source)

Requests to get the guild in which the presence was updated, returns null if the guild isn't present.

Throws

if something went wrong during the request.