Fixed several features which weren't getting loaded on startup
This commit is contained in:
parent
746ffda946
commit
dca639efc5
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,7 @@ public static class GuildConfigExtensions
|
||||||
List<ulong> availableGuilds)
|
List<ulong> availableGuilds)
|
||||||
{
|
{
|
||||||
var result = await configs
|
var result = await configs
|
||||||
.AsQueryable()
|
.IncludeEverything()
|
||||||
.Include(x => x.CommandCooldowns)
|
|
||||||
.Where(x => availableGuilds.Contains(x.GuildId))
|
.Where(x => availableGuilds.Contains(x.GuildId))
|
||||||
.AsNoTracking()
|
.AsNoTracking()
|
||||||
.ToArrayAsync();
|
.ToArrayAsync();
|
||||||
|
|
Loading…
Reference in a new issue