Table of Contents

Method RemoveThreadMemberAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

RemoveThreadMemberAsync(DiscordMember)

Removes the given DiscordMember from this thread. Requires an not archived thread and send message permissions.

public Task RemoveThreadMemberAsync(DiscordMember member)

Parameters

member DiscordMember

The member to remove from the thread.

Returns

Task

Exceptions

UnauthorizedException

Thrown when the client does not have the ManageThreads permission, or is not the creator of the thread if it is private.

ServerErrorException

Thrown when Discord is unable to process the request.