Method DeleteAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DeleteAsync(CancellationToken)
Deletes this emoji.
public Task DeleteAsync(CancellationToken cancellationToken = default)
Parameters
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.