From ad7e0a46c8709e845dfacdc298a893e22dc11567 Mon Sep 17 00:00:00 2001 From: Joe4evr Date: Fri, 19 Jan 2018 03:40:27 +0100 Subject: [PATCH] Fix quickstart leftover from previous draft --- docs/guides/getting_started/samples/intro/structure.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/getting_started/samples/intro/structure.cs b/docs/guides/getting_started/samples/intro/structure.cs index 2520e494c..be8d9a8be 100644 --- a/docs/guides/getting_started/samples/intro/structure.cs +++ b/docs/guides/getting_started/samples/intro/structure.cs @@ -131,9 +131,9 @@ class Program // Module classes MUST be marked 'public' or they will be ignored. // You also need to pass your 'IServiceProvider' instance now, // so make sure that's done before you get here. - await _commands.AddModulesAsync(Assembly.GetEntryAssembly(), _services); + await _commands.AddModulesAsync(Assembly.GetEntryAssembly()); // Or add Modules manually if you prefer to be a little more explicit: - await _commands.AddModuleAsync(_services); + await _commands.AddModuleAsync(); // Note that the first one is 'Modules' (plural) and the second is 'Module' (singular). // Subscribe a handler to see if a message invokes a command.