asMember

open suspend override fun asMember(guildId: Snowflake): Member(source)

Requests to get the this behavior as a Member in the Guild with the guildId.

Throws

if anything went wrong during the request.

EntityNotFoundException

if the member wasn't present.


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

Requests to get the this behavior as a Member.

Throws

if anything went wrong during the request.

EntityNotFoundException

if the member wasn't present.