fix the rest of the conditionals
This commit is contained in:
@@ -52,7 +52,7 @@ namespace PluralKit.Bot
|
||||
return;
|
||||
|
||||
var channel = _cache.GetChannel(evt.ChannelId);
|
||||
if (DiscordUtils.IsValidGuildChannel(channel))
|
||||
if (!DiscordUtils.IsValidGuildChannel(channel))
|
||||
return;
|
||||
var guild = _cache.GetGuild(channel.GuildId!.Value);
|
||||
var lastMessage = _lastMessageCache.GetLastMessage(evt.ChannelId);
|
||||
|
Reference in New Issue
Block a user