From 8579db2c9099630b6a268015d586db73435032f0 Mon Sep 17 00:00:00 2001 From: Rory& Date: Fri, 23 Feb 2024 12:31:43 +0100 Subject: Changes --- Program.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Program.cs') 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(); + services.AddSingleton(); services.AddHostedService(); }).UseConsoleLifetime().Build(); -- cgit 1.4.1