Method GetApplicationEmojiAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
GetApplicationEmojiAsync(ulong, bool)
Gets an application emoji.
public Task<DiscordApplicationEmoji?> GetApplicationEmojiAsync(ulong id, bool fetch = false)
Parameters
Returns
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.