Table of Contents

Method DeleteAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DeleteAsync(CancellationToken)

Deletes this emoji.

public Task DeleteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

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.