woopsy daisy, fixed order

This commit is contained in:
Master Kwoth 2016-01-26 21:43:50 +01:00
parent 5f7d4c805a
commit 79ea4e9412

View File

@ -83,12 +83,13 @@ namespace NadekoBot {
//reply to personal messages and forward if enabled. //reply to personal messages and forward if enabled.
client.MessageReceived += Client_MessageReceived; client.MessageReceived += Client_MessageReceived;
//count commands ran
client.Commands().CommandExecuted += (s, e) => commandsRan++;
//add command service //add command service
var commands = client.Services.Add<CommandService>(commandService); var commands = client.Services.Add<CommandService>(commandService);
//count commands ran
client.Commands().CommandExecuted += (s, e) => commandsRan++;
//create module service //create module service
var modules = client.Services.Add<ModuleService>(new ModuleService()); var modules = client.Services.Add<ModuleService>(new ModuleService());