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/FileStorageProvider.cs2
-rw-r--r--ExampleBots/LibMatrix.ExampleBot/Bot/Interfaces/ICommand.cs6
-rw-r--r--ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs4
3 files changed, 6 insertions, 6 deletions
diff --git a/ExampleBots/LibMatrix.ExampleBot/Bot/FileStorageProvider.cs b/ExampleBots/LibMatrix.ExampleBot/Bot/FileStorageProvider.cs
index 2dfcee5..935d53f 100644
--- a/ExampleBots/LibMatrix.ExampleBot/Bot/FileStorageProvider.cs
+++ b/ExampleBots/LibMatrix.ExampleBot/Bot/FileStorageProvider.cs
@@ -19,7 +19,7 @@ public class FileStorageProvider : IStorageProvider {
         new Logger<FileStorageProvider>(new LoggerFactory()).LogInformation("test");
         Console.WriteLine($"Initialised FileStorageProvider with path {targetPath}");
         TargetPath = targetPath;
-        if(!Directory.Exists(targetPath)) {
+        if (!Directory.Exists(targetPath)) {
             Directory.CreateDirectory(targetPath);
         }
     }
diff --git a/ExampleBots/LibMatrix.ExampleBot/Bot/Interfaces/ICommand.cs b/ExampleBots/LibMatrix.ExampleBot/Bot/Interfaces/ICommand.cs
index 393ddbb..2ba5a27 100644
--- a/ExampleBots/LibMatrix.ExampleBot/Bot/Interfaces/ICommand.cs
+++ b/ExampleBots/LibMatrix.ExampleBot/Bot/Interfaces/ICommand.cs
@@ -1,4 +1,4 @@
-namespace LibMatrix.ExampleBot.Bot.Interfaces; 
+namespace LibMatrix.ExampleBot.Bot.Interfaces;
 
 public interface ICommand {
     public string Name { get; }
@@ -7,6 +7,6 @@ public interface ICommand {
     public Task<bool> CanInvoke(CommandContext ctx) {
         return Task.FromResult(true);
     }
-    
+
     public Task Invoke(CommandContext ctx);
-}
\ No newline at end of file
+}
diff --git a/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs b/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs
index c7620df..dcdfc4c 100644
--- a/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs
+++ b/ExampleBots/LibMatrix.ExampleBot/Bot/MRUBotConfiguration.cs
@@ -1,6 +1,6 @@
 using Microsoft.Extensions.Configuration;
 
-namespace LibMatrix.ExampleBot.Bot; 
+namespace LibMatrix.ExampleBot.Bot;
 
 public class MRUBotConfiguration {
     public MRUBotConfiguration(IConfiguration config) {
@@ -9,4 +9,4 @@ public class MRUBotConfiguration {
     public string Homeserver { get; set; } = "";
     public string AccessToken { get; set; } = "";
     public string Prefix { get; set; }
-}
\ No newline at end of file
+}