Update CS models, deps

This commit is contained in:
Rory&
2026-04-16 02:36:45 +02:00
parent b2990b5a2e
commit 7dcccdcd6c
121 changed files with 1004 additions and 854 deletions

View File

@@ -43,7 +43,7 @@ public class ChannelStatusController(ILogger<ChannelStatusController> logger, Sp
// idk, i cant come up with more stuff, maybe suggestions welcome, or actually storing some data?
];
foreach (var guildId in req.GuildIds ?? [req.GuildId!]) {
foreach (var guildId in req.GuildIds ?? [req.GuildId!.Value]) {
var channels = (await db.Channels.Include(x => x.VoiceStates).Where(x => x.Type == 2 && x.GuildId == guildId && x.VoiceStates.Count > 0)
.Select(x => x.Id)
.ToListAsync())