!
This commit is contained in:
parent
902bad110c
commit
a8e6a53404
@ -91,7 +91,7 @@ namespace PluralKit.Bot
|
|||||||
if (ctx.SystemId == null) return false;
|
if (ctx.SystemId == null) return false;
|
||||||
|
|
||||||
// Make sure channel is a guild text channel and this is a normal message
|
// 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;
|
if (msg.Type != Message.MessageType.Default && msg.Type != Message.MessageType.Reply) return false;
|
||||||
|
|
||||||
// Make sure author is a normal user
|
// Make sure author is a normal user
|
||||||
|
Loading…
Reference in New Issue
Block a user