mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 23:37:54 +00:00
Fix channel checks missing GuildNews
The log channel / logclean checks are left as-is; hopefully nobody is using an announcements channel for their logs?
This commit is contained in:
parent
dd020d8aa8
commit
e620e30c10
6 changed files with 9 additions and 6 deletions
|
|
@ -66,8 +66,8 @@ namespace PluralKit.Bot
|
|||
}
|
||||
}
|
||||
|
||||
// Only proxies in guild text channels
|
||||
if (channel.Type != Channel.ChannelType.GuildText) return;
|
||||
// Proxied messages only exist in guild text channels, so skip checking if we're elsewhere
|
||||
if (DiscordUtils.IsValidGuildChannel(channel)) return;
|
||||
|
||||
// Ignore reactions from bots (we can't DM them anyway)
|
||||
if (user.Bot) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue