From dca639efc5e92ecd3fabd50c078dfa62f7462227 Mon Sep 17 00:00:00 2001 From: Toastie Date: Wed, 23 Oct 2024 19:34:18 +1300 Subject: [PATCH] Fixed several features which weren't getting loaded on startup --- src/EllieBot/Db/Extensions/GuildConfigExtensions.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/EllieBot/Db/Extensions/GuildConfigExtensions.cs b/src/EllieBot/Db/Extensions/GuildConfigExtensions.cs index 467c7bf..86d22be 100644 --- a/src/EllieBot/Db/Extensions/GuildConfigExtensions.cs +++ b/src/EllieBot/Db/Extensions/GuildConfigExtensions.cs @@ -57,8 +57,7 @@ public static class GuildConfigExtensions List availableGuilds) { var result = await configs - .AsQueryable() - .Include(x => x.CommandCooldowns) + .IncludeEverything() .Where(x => availableGuilds.Contains(x.GuildId)) .AsNoTracking() .ToArrayAsync();