Table of Contents

Method GetCurrentUserGuildMemberAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetCurrentUserGuildMemberAsync(DiscordAccessToken, ulong)

Gets the current user's guild member for given guildId.

public Task<DiscordMember> GetCurrentUserGuildMemberAsync(DiscordAccessToken accessToken, ulong guildId)

Parameters

accessToken DiscordAccessToken

The discord access token.

guildId ulong

The guild id to get the member for.

Returns

Task<DiscordMember>