Method FromUnicode
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
FromUnicode(BaseDiscordClient, string)
Creates an emoji object from a unicode entity.
public static DiscordEmoji FromUnicode(BaseDiscordClient client, string unicodeEntity)
Parameters
client
BaseDiscordClientBaseDiscordClient to attach to the object.
unicodeEntity
stringUnicode entity to create the object from.
Returns
- DiscordEmoji
Create DiscordEmoji object.
FromUnicode(string)
Creates an emoji object from a unicode entity.
public static DiscordEmoji FromUnicode(string unicodeEntity)
Parameters
unicodeEntity
stringUnicode entity to create the object from.
Returns
- DiscordEmoji
Create DiscordEmoji object.