This commit is contained in:
spiral
2021-07-08 10:57:53 -04:00
parent 902bad110c
commit a8e6a53404

View File

@@ -91,7 +91,7 @@ namespace PluralKit.Bot
if (ctx.SystemId == null) return false;
// Make sure channel is a guild text channel and this is a normal message
if (DiscordUtils.IsValidGuildChannel(channel)) return false;
if (!DiscordUtils.IsValidGuildChannel(channel)) return false;
if (msg.Type != Message.MessageType.Default && msg.Type != Message.MessageType.Reply) return false;
// Make sure author is a normal user