[docs] Merge pull request #397 from Esscoder/patch-2

Fixed Install -> commands.LoadAssembly
This commit is contained in:
Christopher F
2016-12-03 19:54:02 -05:00
committed by GitHub

View File

@@ -11,7 +11,7 @@ public class Commands
var map = new DependencyMap();
map.Add(client);
map.Add(commands);
await commands.LoadAssembly(Assembly.GetCurrentAssembly(), map);
await commands.AddModulesAsync(Assembly.GetEntryAssembly());
}
// In ConfigureServices, we will inject the Dependency Map with
// all of the services our client will use.
@@ -21,4 +21,4 @@ public class Commands
map.Add(new DatabaseService(map));
}
// ...
}
}