Method TryFromGuildEmote
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
TryFromGuildEmote(BaseDiscordClient, ulong, out DiscordEmoji)
Attempts to get an emoji object from an guild emote.
public static bool TryFromGuildEmote(BaseDiscordClient client, ulong id, out DiscordEmoji emoji)
Parameters
client
BaseDiscordClientBaseDiscordClient to attach to the object.
id
ulongId of the emote.
emoji
DiscordEmojiResulting DiscordEmoji object.
Returns
- bool
Whether the operation was successful.