Render voice channel mentions

Closes #636
This commit is contained in:
Tyrrrz
2021-07-18 02:19:50 +03:00
parent b58e67776c
commit ae42554621
11 changed files with 37 additions and 13 deletions

View File

@@ -135,7 +135,7 @@ namespace DiscordChatExporter.Core.Markdown.Parsing
// Capture <#123456>
private static readonly IMatcher<MarkdownNode> ChannelMentionNodeMatcher = new RegexMatcher<MarkdownNode>(
new Regex("<#(\\d+)>", DefaultRegexOptions),
new Regex("<#!?(\\d+)>", DefaultRegexOptions),
(_, m) => new MentionNode(m.Groups[1].Value, MentionKind.Channel)
);