asMemberOrNull

open suspend fun asMemberOrNull(guildId: Snowflake): Member?(source)

Requests to get this behavior as a Member in the Guild with the guildId, returns null if the member isn't present.

Throws

if anything went wrong during the request.