Method GetStickerPacksAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
GetStickerPacksAsync(CancellationToken)
Gets all nitro sticker packs.
public Task<IReadOnlyList<DiscordStickerPack>> GetStickerPacksAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<IReadOnlyList<DiscordStickerPack>>
List of sticker packs.
Exceptions
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.