Table of Contents

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 DiscordMember

The guild member to retrieve.

Returns

Task<DiscordThreadChannelMember>

Exceptions

NotFoundException

Thrown when a GuildMember has not joined the channel thread.