diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-01-24 02:28:54 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-01-24 02:28:54 +0100 |
commit | bf2da30c7ae9d4c15a5e22f3ee0b1bae2ca66e46 (patch) | |
tree | c375a53ef850e33d8721abb0f68b34eb10afed08 /ExampleBots/LibMatrix.ExampleBot/Program.cs | |
parent | Abstract FederationClient from RemoteHomeserver (diff) | |
download | LibMatrix-bf2da30c7ae9d4c15a5e22f3ee0b1bae2ca66e46.tar.xz |
MessageBuilder extensions
Diffstat (limited to 'ExampleBots/LibMatrix.ExampleBot/Program.cs')
-rw-r--r-- | ExampleBots/LibMatrix.ExampleBot/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ExampleBots/LibMatrix.ExampleBot/Program.cs b/ExampleBots/LibMatrix.ExampleBot/Program.cs index 25ce07d..86d7598 100644 --- a/ExampleBots/LibMatrix.ExampleBot/Program.cs +++ b/ExampleBots/LibMatrix.ExampleBot/Program.cs @@ -16,7 +16,7 @@ var host = Host.CreateDefaultBuilder(args).ConfigureServices((_, services) => { dataStorageProvider: new FileStorageProvider("bot_data/data/") ) ); - services.AddScoped<MRUBotConfiguration>(); + services.AddScoped<RMUBotConfiguration>(); services.AddRoryLibMatrixServices(); foreach (var commandClass in new ClassCollector<ICommand>().ResolveFromAllAccessibleAssemblies()) { Console.WriteLine($"Adding command {commandClass.Name}"); @@ -24,7 +24,7 @@ var host = Host.CreateDefaultBuilder(args).ConfigureServices((_, services) => { } // services.AddHostedService<ServerRoomSizeCalulator>(); - services.AddHostedService<MRUBot>(); + services.AddHostedService<RMUBot>(); }).UseConsoleLifetime().Build(); await host.RunAsync(); |