From 4b57d874bac04818d44a643eb51521cef7272829 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Wed, 21 Jun 2017 23:34:29 +0200 Subject: [PATCH] Fixed compile error --- src/NadekoBot/NadekoBot.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/NadekoBot/NadekoBot.cs b/src/NadekoBot/NadekoBot.cs index d6b675de..9c1df1ab 100644 --- a/src/NadekoBot/NadekoBot.cs +++ b/src/NadekoBot/NadekoBot.cs @@ -28,6 +28,7 @@ using NadekoBot.Services.Help; using System.IO; using NadekoBot.Services.Pokemon; using NadekoBot.DataStructures.ShardCom; +using NadekoBot.DataStructures; namespace NadekoBot { @@ -335,13 +336,14 @@ namespace NadekoBot // .Select(x => x.Key + $"({x.Count()})"))); //unload modules which are not available on the public bot -#if GLOBAL_NADEKO +#if GLOBAL_NADEKO CommandService .Modules .ToArray() .Where(x => x.Preconditions.Any(y => y.GetType() == typeof(NoPublicBot))) .ForEach(x => CommandService.RemoveModuleAsync(x)); #endif + Ready = true; _log.Info($"Shard {ShardId} ready."); //_log.Info(await stats.Print().ConfigureAwait(false));