From 79ea4e94128e0cc0ef8fb89abe2ff8297725b027 Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Tue, 26 Jan 2016 21:43:50 +0100 Subject: [PATCH] woopsy daisy, fixed order --- NadekoBot/NadekoBot.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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());