Method DeleteOwnReactionAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
DeleteOwnReactionAsync(DiscordEmoji)
Deletes your own reaction
public Task DeleteOwnReactionAsync(DiscordEmoji emoji)
Parameters
emoji
DiscordEmojiEmoji for the reaction you want to remove, either an emoji or name:id
Returns
- Task
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.