Method DeleteReactionsEmojiAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
DeleteReactionsEmojiAsync(DiscordEmoji)
Deletes all reactions of a specific reaction for this message.
public Task DeleteReactionsEmojiAsync(DiscordEmoji emoji)
Parameters
emoji
DiscordEmojiThe 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.