diff --git a/PluralKit.Bot/Commands/ServerConfig.cs b/PluralKit.Bot/Commands/ServerConfig.cs index d6fa8fcb..1102448f 100644 --- a/PluralKit.Bot/Commands/ServerConfig.cs +++ b/PluralKit.Bot/Commands/ServerConfig.cs @@ -85,6 +85,7 @@ namespace PluralKit.Bot // Resolve all channels from the cache and order by position var channels = blacklist.Blacklist .Select(id => ctx.Guild.GetChannel(id)) + .Where(c => c != null) .OrderBy(c => c.Position) .ToList();