Table of Contents

Method DeleteAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

DeleteAsync(string)

Deletes the sticker

public Task DeleteAsync(string reason = null)

Parameters

reason string

Audit log reason

Returns

Task

Exceptions

UnauthorizedException

Thrown when the sticker could not be found.

UnauthorizedException

Thrown when the client does not have the ManageGuildExpressions permission.

ServerErrorException

Thrown when Discord is unable to process the request.

ArgumentException

Sticker does not belong to a guild.