diff --git a/src/NadekoBot/NadekoBot.cs b/src/NadekoBot/NadekoBot.cs index 85246fa3..c8084905 100644 --- a/src/NadekoBot/NadekoBot.cs +++ b/src/NadekoBot/NadekoBot.cs @@ -67,8 +67,9 @@ namespace NadekoBot TotalShards = Credentials.TotalShards, ConnectionTimeout = int.MaxValue }); - +#if GLOBAL_NADEKO Client.Log += Client_Log; +#endif //initialize Services CommandService = new CommandService(new CommandServiceConfig() {