mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
fix: Fixed several features which weren't getting loaded on startup
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user