fix(bot): typo

This commit is contained in:
alyssa 2024-12-10 05:59:31 +09:00
parent 48e53e45dd
commit 7c456ad8cf

View file

@ -68,7 +68,7 @@ public class LogChannelService
// get log channel info from the database
var guild = await _repo.GetGuild(guildId);
var logChannelId = guild.LogChannel;
var isBlacklisted = guild.LogBlacklist.Any(x => x == proxiedMessage.ChannelId || x == rootChannel.Id);
var isBlacklisted = guild.LogBlacklist.Any(x => x == proxiedMessage.Channel || x == rootChannel.Id);
// if (ctx.SystemId == null ||
// removed the above, there shouldn't be a way to get to this code path if you don't have a system registered