asMemberOrNull

open suspend override 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.


open suspend override fun asMemberOrNull(): Member(source)

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

Throws

if anything went wrong during the request.