mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-01-29 06:10:54 +00:00
18 lines
411 B
C#
18 lines
411 B
C#
namespace DiscordChatExporter.Core.Markdown
|
|
{
|
|
public class MentionNode : Node
|
|
{
|
|
public string Id { get; }
|
|
|
|
public MentionType Type { get; }
|
|
|
|
public MentionNode(string lexeme, string id, MentionType type)
|
|
: base(lexeme)
|
|
{
|
|
Id = id;
|
|
Type = type;
|
|
}
|
|
|
|
public override string ToString() => $"<{Type} mention> {Id}";
|
|
}
|
|
} |