Table of Contents

Method DeleteReactionsEmojiAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DeleteReactionsEmojiAsync(DiscordEmoji)

Deletes all reactions of a specific reaction for this message.

public Task DeleteReactionsEmojiAsync(DiscordEmoji emoji)

Parameters

emoji DiscordEmoji

The emoji to clear, either an emoji or name:id.

Returns

Task

Exceptions

UnauthorizedException

Thrown when the client does not have the ManageMessages permission.

NotFoundException

Thrown when the emoji does not exist.

BadRequestException

Thrown when an invalid parameter was provided.

ServerErrorException

Thrown when Discord is unable to process the request.