mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +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
|
|
@ -54,7 +54,7 @@ namespace PluralKit.Bot
|
|||
guildCount++;
|
||||
foreach (var channel in _cache.GetGuildChannels(guild.Id))
|
||||
{
|
||||
if (channel.Type == Channel.ChannelType.GuildText)
|
||||
if (DiscordUtils.IsValidGuildChannel(channel))
|
||||
channelCount++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue