fix(bot): fix typo in ProxyService

This commit is contained in:
Petal Ladenson 2024-10-04 10:26:41 -06:00 committed by GitHub
parent 857b4d5c26
commit 7fb1681cac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,7 +114,7 @@ public class ProxyService
// Proxy checks that give user errors
public async Task<string> 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