fix: inserting closing angle bracket in reply when not present in original issue
This commit is contained in:
parent
2aac97d2a0
commit
d1c6794330
@ -181,7 +181,7 @@ namespace PluralKit.Bot
|
||||
if (endsWithOpenMention)
|
||||
{
|
||||
var mentionTail = repliedTo.Content.Substring(100).Split(">")[0];
|
||||
if (Regex.IsMatch(msg + mentionTail, @"<[at]?[@#:][!&]?(\w+:)?\d+(:[tTdDfFR])?$"))
|
||||
if (repliedTo.Content.Contains(msg + mentionTail + ">"))
|
||||
msg += mentionTail + ">";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user