Method DeleteOwnReactionAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DeleteOwnReactionAsync(DiscordEmoji, CancellationToken)
Deletes your own reaction
public Task DeleteOwnReactionAsync(DiscordEmoji emoji, CancellationToken cancellationToken = default)
Parameters
emojiDiscordEmojiEmoji for the reaction you want to remove, either an emoji or name:id
cancellationTokenCancellationTokenA token to cancel the request.
Returns
Exceptions
- 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.