Method GetApplicationEmojisAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
GetApplicationEmojisAsync(bool, CancellationToken)
Gets the application emojis.
<param name="fetch">Whether to ignore the cache. Defaults to false.</param>
A token to cancel the request.
public Task<IReadOnlyList<DiscordApplicationEmoji>> GetApplicationEmojisAsync(bool fetch = false, CancellationToken cancellationToken = default)
Parameters
fetchboolcancellationTokenCancellationToken
Returns
Exceptions
- BadRequestException
Thrown when an invalid parameter was provided.
- ServerErrorException
Thrown when Discord is unable to process the request.