diff --git a/PluralKit.Bot/Handlers/MessageCreated.cs b/PluralKit.Bot/Handlers/MessageCreated.cs index 44f76d4e..000e05ae 100644 --- a/PluralKit.Bot/Handlers/MessageCreated.cs +++ b/PluralKit.Bot/Handlers/MessageCreated.cs @@ -95,7 +95,7 @@ public class MessageCreated: IEventHandler private async Task TryHandleLogClean(Channel channel, MessageCreateEvent evt) { - if (evt.GuildId != null) return; + if (evt.GuildId == null) return; if (channel.Type != Channel.ChannelType.GuildText) return; var guildSettings = await _repo.GetGuild(evt.GuildId!.Value);