From 8df42f7d929e0fbeac6fc3e95c8042e69aced068 Mon Sep 17 00:00:00 2001 From: Ske Date: Thu, 18 Jun 2020 17:49:43 +0200 Subject: [PATCH] Ignore bot reactions --- PluralKit.Bot/Handlers/ReactionAdded.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PluralKit.Bot/Handlers/ReactionAdded.cs b/PluralKit.Bot/Handlers/ReactionAdded.cs index 34c8005a..91336b83 100644 --- a/PluralKit.Bot/Handlers/ReactionAdded.cs +++ b/PluralKit.Bot/Handlers/ReactionAdded.cs @@ -29,6 +29,9 @@ namespace PluralKit.Bot { // Only proxies in guild text channels if (evt.Channel.Type != ChannelType.Text) return; + + // Ignore reactions from bots (we can't DM them anyway) + if (evt.User.IsBot) return; FullMessage msg; switch (evt.Emoji.Name)