mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-13 05:06:50 +00:00
21 lines
485 B
C#
21 lines
485 B
C#
namespace DiscordChatExporter.Core.Markdown
|
|
{
|
|
public class EmojiNode : Node
|
|
{
|
|
public string Id { get; }
|
|
|
|
public string Name { get; }
|
|
|
|
public bool IsAnimated { get; }
|
|
|
|
public EmojiNode(string lexeme, string id, string name, bool isAnimated)
|
|
: base(lexeme)
|
|
{
|
|
Id = id;
|
|
Name = name;
|
|
IsAnimated = isAnimated;
|
|
}
|
|
|
|
public override string ToString() => $"<Emoji> {Name}";
|
|
}
|
|
} |