getUserOrNull

open suspend override fun getUserOrNull(id: Snowflake): User?(source)

Requests the User with the given id, returns null when the user isn't present.

Throws

RequestException

if something went wrong while retrieving the user.