Implicit operator for raw emoji string.
Created by: nathan130200
Implemented an way cast raw emoji string into discord emoji object, like FromUnicode
method does.
But just lookup name -> unicode then create an discordemoji instance and return it. Also i'm working on an parsing also guild emotes, using same regex from CNext. This will be helpful specially for reduce code every time we must need create an discord emoji object.
I have made some tests seems nothing broken, and working. And as excepted when emoji does not exists, will trown an exception.
Also added another overload for DiscordEmoji.FromName
that isn't required client (acts like DiscordEmoji.FromUnicode
).
This is also helpful for example using guild emotes in interactivity configuration.