woopsy daisy, fixed order
This commit is contained in:
parent
5f7d4c805a
commit
79ea4e9412
@ -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());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user