From 5714c1866815ea716c8e5dc14deb06047ec21d4e Mon Sep 17 00:00:00 2001 From: acw0 Date: Fri, 5 Jun 2020 18:34:24 -0400 Subject: [PATCH] Fix emoji variation selector issue --- PluralKit.Bot/Services/ProxyService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PluralKit.Bot/Services/ProxyService.cs b/PluralKit.Bot/Services/ProxyService.cs index aa0e1274..e47216fc 100644 --- a/PluralKit.Bot/Services/ProxyService.cs +++ b/PluralKit.Bot/Services/ProxyService.cs @@ -76,6 +76,7 @@ namespace PluralKit.Bot if (isMatch) { var inner = message.Substring(prefix.Length, message.Length - prefix.Length - suffix.Length); if (leadingMention != null) inner = $"{leadingMention} {inner}"; + if (inner == "\U0000fe0f") return null; return new ProxyMatch { Member = match, System = system, InnerText = inner, ProxyTags = tag}; } }