From def33cc092ae2c6defcc218b108b7c99cbfb8581 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sun, 2 Jul 2023 01:01:09 +0200 Subject: Prefetch room info --- MatrixRoomUtils.Bot/Bot/Commands/CmdCommand.cs | 7 ++----- MatrixRoomUtils.Bot/Bot/Commands/HelpCommand.cs | 4 ++-- MatrixRoomUtils.Bot/Bot/Commands/PingCommand.cs | 6 ++---- 3 files changed, 6 insertions(+), 11 deletions(-) (limited to 'MatrixRoomUtils.Bot/Bot/Commands') diff --git a/MatrixRoomUtils.Bot/Bot/Commands/CmdCommand.cs b/MatrixRoomUtils.Bot/Bot/Commands/CmdCommand.cs index 66f3c4d..79757ae 100644 --- a/MatrixRoomUtils.Bot/Bot/Commands/CmdCommand.cs +++ b/MatrixRoomUtils.Bot/Bot/Commands/CmdCommand.cs @@ -1,9 +1,6 @@ -using System.Runtime.InteropServices; -using System.Text; -using MatrixRoomUtils.Bot.Interfaces; -using Microsoft.Extensions.DependencyInjection; +using MatrixRoomUtils.Bot.Bot.Interfaces; -namespace MatrixRoomUtils.Bot.Commands; +namespace MatrixRoomUtils.Bot.Bot.Commands; public class CmdCommand : ICommand { public string Name { get; } = "cmd"; diff --git a/MatrixRoomUtils.Bot/Bot/Commands/HelpCommand.cs b/MatrixRoomUtils.Bot/Bot/Commands/HelpCommand.cs index af41563..6db10ae 100644 --- a/MatrixRoomUtils.Bot/Bot/Commands/HelpCommand.cs +++ b/MatrixRoomUtils.Bot/Bot/Commands/HelpCommand.cs @@ -1,8 +1,8 @@ using System.Text; -using MatrixRoomUtils.Bot.Interfaces; +using MatrixRoomUtils.Bot.Bot.Interfaces; using Microsoft.Extensions.DependencyInjection; -namespace MatrixRoomUtils.Bot.Commands; +namespace MatrixRoomUtils.Bot.Bot.Commands; public class HelpCommand : ICommand { private readonly IServiceProvider _services; diff --git a/MatrixRoomUtils.Bot/Bot/Commands/PingCommand.cs b/MatrixRoomUtils.Bot/Bot/Commands/PingCommand.cs index a00cc8b..061ca53 100644 --- a/MatrixRoomUtils.Bot/Bot/Commands/PingCommand.cs +++ b/MatrixRoomUtils.Bot/Bot/Commands/PingCommand.cs @@ -1,8 +1,6 @@ -using System.Text; -using MatrixRoomUtils.Bot.Interfaces; -using Microsoft.Extensions.DependencyInjection; +using MatrixRoomUtils.Bot.Bot.Interfaces; -namespace MatrixRoomUtils.Bot.Commands; +namespace MatrixRoomUtils.Bot.Bot.Commands; public class PingCommand : ICommand { public PingCommand() { -- cgit 1.5.1