Method GetThreadMemberAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetThreadMemberAsync(DiscordMember)
Returns a thread member object for the specified user if they are a member of the thread, returns a 404 response otherwise.
public Task<DiscordThreadChannelMember> GetThreadMemberAsync(DiscordMember member)
Parameters
member
DiscordMemberThe guild member to retrieve.
Returns
Exceptions
- NotFoundException
Thrown when a GuildMember has not joined the channel thread.