Method GetStickerAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetStickerAsync(ulong)
Gets a sticker
public Task<DiscordSticker> GetStickerAsync(ulong stickerId)
Parameters
stickerId
ulong
Returns
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.