Fix emoji variation selector issue
This commit is contained in:
parent
e8068cc1a9
commit
5714c18668
@ -76,6 +76,7 @@ namespace PluralKit.Bot
|
|||||||
if (isMatch) {
|
if (isMatch) {
|
||||||
var inner = message.Substring(prefix.Length, message.Length - prefix.Length - suffix.Length);
|
var inner = message.Substring(prefix.Length, message.Length - prefix.Length - suffix.Length);
|
||||||
if (leadingMention != null) inner = $"{leadingMention} {inner}";
|
if (leadingMention != null) inner = $"{leadingMention} {inner}";
|
||||||
|
if (inner == "\U0000fe0f") return null;
|
||||||
return new ProxyMatch { Member = match, System = system, InnerText = inner, ProxyTags = tag};
|
return new ProxyMatch { Member = match, System = system, InnerText = inner, ProxyTags = tag};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user