mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 17:20:14 +00:00
fix(bot): fix typo in ProxyService
This commit is contained in:
parent
857b4d5c26
commit
7fb1681cac
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ public class ProxyService
|
||||||
// Proxy checks that give user errors
|
// Proxy checks that give user errors
|
||||||
public async Task<string> CanProxy(Channel channel, Channel rootChannel, Message msg, MessageContext ctx)
|
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.";
|
return $"PluralKit cannot proxy messages in this type of channel.";
|
||||||
|
|
||||||
// Check if the message does not go over any Discord Nitro limits
|
// Check if the message does not go over any Discord Nitro limits
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue