mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
!
This commit is contained in:
parent
902bad110c
commit
a8e6a53404
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue