From 16608a8b8a9481255599f00941682ace5382b235 Mon Sep 17 00:00:00 2001 From: Plerx <50530305+Plerx2493@users.noreply.github.com> Date: Mon, 6 May 2024 21:10:42 +0200 Subject: [PATCH] Fix VoiceAlerts#MinTimeBetween --- ModularAssistentForDiscordServer/Services/VoiceAlertService.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/ModularAssistentForDiscordServer/Services/VoiceAlertService.cs b/ModularAssistentForDiscordServer/Services/VoiceAlertService.cs index ab188e3..d617e70 100644 --- a/ModularAssistentForDiscordServer/Services/VoiceAlertService.cs +++ b/ModularAssistentForDiscordServer/Services/VoiceAlertService.cs @@ -97,7 +97,6 @@ private async Task HandleEvent(VoiceStateUpdateEventArgs e) await using MadsContext context = await _contextFactory.CreateDbContextAsync(); List alerts = await context.VoiceAlerts - .AsNoTracking() .Where(x => x.ChannelId == e.After.Channel.Id && e.User.Id != x.UserId) .ToListAsync();