about summary refs log tree commit diff
path: root/ExampleBots/LibMatrix.ExampleBot/Bot
diff options
context:
space:
mode:
Diffstat (limited to 'ExampleBots/LibMatrix.ExampleBot/Bot')
-rw-r--r--ExampleBots/LibMatrix.ExampleBot/Bot/RMUBot.cs (renamed from ExampleBots/LibMatrix.ExampleBot/Bot/MRUBot.cs)10
-rw-r--r--ExampleBots/LibMatrix.ExampleBot/Bot/RMUBotConfiguration.cs (renamed from ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs)4
-rw-r--r--ExampleBots/LibMatrix.ExampleBot/Bot/StartupTasks/ServerRoomSizeCalulator.cs4
3 files changed, 9 insertions, 9 deletions
diff --git a/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBot.cs b/ExampleBots/LibMatrix.ExampleBot/Bot/RMUBot.cs
index 8e6cd6a..de47ec6 100644
--- a/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBot.cs
+++ b/ExampleBots/LibMatrix.ExampleBot/Bot/RMUBot.cs
@@ -12,14 +12,14 @@ using Microsoft.Extensions.Logging;
 
 namespace LibMatrix.ExampleBot.Bot;
 
-public class MRUBot : IHostedService {
+public class RMUBot : IHostedService {
     private readonly HomeserverProviderService _homeserverProviderService;
-    private readonly ILogger<MRUBot> _logger;
-    private readonly MRUBotConfiguration _configuration;
+    private readonly ILogger<RMUBot> _logger;
+    private readonly RMUBotConfiguration _configuration;
     private readonly IEnumerable<ICommand> _commands;
 
-    public MRUBot(HomeserverProviderService homeserverProviderService, ILogger<MRUBot> logger,
-        MRUBotConfiguration configuration, IServiceProvider services) {
+    public RMUBot(HomeserverProviderService homeserverProviderService, ILogger<RMUBot> logger,
+        RMUBotConfiguration configuration, IServiceProvider services) {
         logger.LogInformation("{} instantiated!", this.GetType().Name);
         _homeserverProviderService = homeserverProviderService;
         _logger = logger;
diff --git a/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs b/ExampleBots/LibMatrix.ExampleBot/Bot/RMUBotConfiguration.cs
index dcdfc4c..9edc4bd 100644
--- a/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs
+++ b/ExampleBots/LibMatrix.ExampleBot/Bot/RMUBotConfiguration.cs
@@ -2,8 +2,8 @@ using Microsoft.Extensions.Configuration;
 
 namespace LibMatrix.ExampleBot.Bot;
 
-public class MRUBotConfiguration {
-    public MRUBotConfiguration(IConfiguration config) {
+public class RMUBotConfiguration {
+    public RMUBotConfiguration(IConfiguration config) {
         config.GetRequiredSection("Bot").Bind(this);
     }
     public string Homeserver { get; set; } = "";
diff --git a/ExampleBots/LibMatrix.ExampleBot/Bot/StartupTasks/ServerRoomSizeCalulator.cs b/ExampleBots/LibMatrix.ExampleBot/Bot/StartupTasks/ServerRoomSizeCalulator.cs
index 2f6e0b0..0645668 100644
--- a/ExampleBots/LibMatrix.ExampleBot/Bot/StartupTasks/ServerRoomSizeCalulator.cs
+++ b/ExampleBots/LibMatrix.ExampleBot/Bot/StartupTasks/ServerRoomSizeCalulator.cs
@@ -10,11 +10,11 @@ namespace LibMatrix.ExampleBot.Bot.StartupTasks;
 public class ServerRoomSizeCalulator : IHostedService {
     private readonly HomeserverProviderService _homeserverProviderService;
     private readonly ILogger<ServerRoomSizeCalulator> _logger;
-    private readonly MRUBotConfiguration _configuration;
+    private readonly RMUBotConfiguration _configuration;
     private readonly IEnumerable<ICommand> _commands;
 
     public ServerRoomSizeCalulator(HomeserverProviderService homeserverProviderService, ILogger<ServerRoomSizeCalulator> logger,
-        MRUBotConfiguration configuration, IServiceProvider services) {
+        RMUBotConfiguration configuration, IServiceProvider services) {
         logger.LogInformation("Server room size calculator hosted service instantiated!");
         _homeserverProviderService = homeserverProviderService;
         _logger = logger;