Fixed several features which weren't getting loaded on startup

This commit is contained in:
Toastie (DCS Team) 2024-10-23 19:34:18 +13:00
parent 746ffda946
commit dca639efc5
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4

View file

@ -57,8 +57,7 @@ public static class GuildConfigExtensions
List<ulong> availableGuilds)
{
var result = await configs
.AsQueryable()
.Include(x => x.CommandCooldowns)
.IncludeEverything()
.Where(x => availableGuilds.Contains(x.GuildId))
.AsNoTracking()
.ToArrayAsync();