Method GetCurrentUserGuildMemberAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
GetCurrentUserGuildMemberAsync(ulong)
Gets the guild member for the current user in the specified guild. Only works with bearer tokens with the guilds.members.read scope.
public Task<DiscordMember> GetCurrentUserGuildMemberAsync(ulong guildId)
Parameters
guildId
ulongGuild ID