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
DiscordAccessTokenThe discord access token.
guildId
ulongThe guild id to get the member for.