diff --git a/NadekoBot/NadekoBot.cs b/NadekoBot/NadekoBot.cs index 95f7329e..4005410f 100644 --- a/NadekoBot/NadekoBot.cs +++ b/NadekoBot/NadekoBot.cs @@ -83,12 +83,13 @@ namespace NadekoBot { //reply to personal messages and forward if enabled. client.MessageReceived += Client_MessageReceived; - //count commands ran - client.Commands().CommandExecuted += (s, e) => commandsRan++; //add command service var commands = client.Services.Add(commandService); + //count commands ran + client.Commands().CommandExecuted += (s, e) => commandsRan++; + //create module service var modules = client.Services.Add(new ModuleService());