mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(bot): strip emoji variation selector from reaction checks (#569)
This commit is contained in:
parent
dc845ea3d7
commit
b75e3fe7d3
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ public class ReactionAdded: IEventHandler<MessageReactionAddEvent>
|
|||
// Proxied messages only exist in guild text channels, so skip checking if we're elsewhere
|
||||
if (!DiscordUtils.IsValidGuildChannel(channel)) return;
|
||||
|
||||
switch (evt.Emoji.Name)
|
||||
switch (evt.Emoji.Name.Split("\U0000fe0f", 2)[0])
|
||||
{
|
||||
// Message deletion
|
||||
case "\u274C": // Red X
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue