about summary refs log tree commit diff
path: root/Utilities/LibMatrix.DevTestBot
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/LibMatrix.DevTestBot')
-rw-r--r--Utilities/LibMatrix.DevTestBot/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/LibMatrix.DevTestBot/Program.cs b/Utilities/LibMatrix.DevTestBot/Program.cs
index eb5ad76..daaa65e 100644
--- a/Utilities/LibMatrix.DevTestBot/Program.cs
+++ b/Utilities/LibMatrix.DevTestBot/Program.cs
@@ -18,7 +18,7 @@ var host = Host.CreateDefaultBuilder(args).ConfigureServices((_, services) => {
     // );
     services.AddScoped<DevTestBotConfiguration>();
     services.AddRoryLibMatrixServices();
-    foreach (var commandClass in new ClassCollector<ICommand>().ResolveFromAllAccessibleAssemblies()) {
+    foreach (var commandClass in ClassCollector<ICommand>.ResolveFromAllAccessibleAssemblies()) {
         Console.WriteLine($"Adding command {commandClass.Name}");
         services.AddScoped(typeof(ICommand), commandClass);
     }