about summary refs log tree commit diff
path: root/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Program.cs')
-rw-r--r--Program.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Program.cs b/Program.cs
index d125258..d783af1 100644
--- a/Program.cs
+++ b/Program.cs
@@ -6,6 +6,7 @@ using Microsoft.Extensions.Configuration;
 using Microsoft.Extensions.DependencyInjection;
 using Microsoft.Extensions.Hosting;
 using ModerationBot;
+using ModerationBot.Services;
 
 Console.WriteLine("Hello, World!");
 
@@ -33,6 +34,7 @@ var host = builder.ConfigureServices((_, services) => {
     services.AddBot(withCommands: true);
 
     services.AddSingleton<PolicyEngine>();
+    services.AddSingleton<ModerationBotRoomProvider>();
 
     services.AddHostedService<ModerationBot.ModerationBot>();
 }).UseConsoleLifetime().Build();