about summary refs log tree commit diff
path: root/LibMatrix.ExampleBot/Bot/MRUBot.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-04 02:17:10 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-04 02:17:10 +0200
commit21da6cde79ccd0cb7f895a29e3d8cab959ef11ba (patch)
treefb0b89566b64ae907d7ca3ea8a29adcf0c0361d0 /LibMatrix.ExampleBot/Bot/MRUBot.cs
parentClean up some extension functions (diff)
downloadLibMatrix-21da6cde79ccd0cb7f895a29e3d8cab959ef11ba.tar.xz
Too many changes to name...
Diffstat (limited to 'LibMatrix.ExampleBot/Bot/MRUBot.cs')
-rw-r--r--LibMatrix.ExampleBot/Bot/MRUBot.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/LibMatrix.ExampleBot/Bot/MRUBot.cs b/LibMatrix.ExampleBot/Bot/MRUBot.cs
index cdeefe2..4f9b173 100644
--- a/LibMatrix.ExampleBot/Bot/MRUBot.cs
+++ b/LibMatrix.ExampleBot/Bot/MRUBot.cs
@@ -1,6 +1,8 @@
 using System.Diagnostics.CodeAnalysis;
+using ArcaneLibs.Extensions;
 using LibMatrix.ExampleBot.Bot.Interfaces;
 using LibMatrix.Extensions;
+using LibMatrix.Homeservers;
 using LibMatrix.Services;
 using LibMatrix.StateEventTypes.Spec;
 using Microsoft.Extensions.DependencyInjection;
@@ -31,7 +33,7 @@ public class MRUBot : IHostedService {
     [SuppressMessage("ReSharper", "FunctionNeverReturns")]
     public async Task StartAsync(CancellationToken cancellationToken) {
         Directory.GetFiles("bot_data/cache").ToList().ForEach(File.Delete);
-        AuthenticatedHomeServer hs;
+        AuthenticatedHomeserverGeneric hs;
         try {
             hs = await _homeserverProviderService.GetAuthenticatedWithToken(_configuration.Homeserver,
                 _configuration.AccessToken);