From 7fb1681cacac9b83b173451cd93e56e79caad2dc Mon Sep 17 00:00:00 2001 From: Petal Ladenson Date: Fri, 4 Oct 2024 10:26:41 -0600 Subject: [PATCH] fix(bot): fix typo in ProxyService --- PluralKit.Bot/Proxy/ProxyService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Proxy/ProxyService.cs b/PluralKit.Bot/Proxy/ProxyService.cs index 5bfe7c06..acccda39 100644 --- a/PluralKit.Bot/Proxy/ProxyService.cs +++ b/PluralKit.Bot/Proxy/ProxyService.cs @@ -114,7 +114,7 @@ public class ProxyService // Proxy checks that give user errors public async Task CanProxy(Channel channel, Channel rootChannel, Message msg, MessageContext ctx) { - if (DiscordUtils.IsValidGuildChannel(channel)) + if (!DiscordUtils.IsValidGuildChannel(channel)) return $"PluralKit cannot proxy messages in this type of channel."; // Check if the message does not go over any Discord Nitro limits