Method GetEmojiAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
GetEmojiAsync(ulong)
Gets this guild's specified custom emoji.
public Task<DiscordGuildEmoji> GetEmojiAsync(ulong id)
Parameters
id
ulongID of the emoji to get.
Returns
- Task<DiscordGuildEmoji>
The requested custom emoji.
Exceptions
- ServerErrorException
Thrown when Discord is unable to process the request.