mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 08:10:10 +00:00
Merge pull request #181 from acw0/fix-emojis
Fix emoji variation selector issue
This commit is contained in:
commit
216dfffe58
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue