about summary refs log tree commit diff
path: root/MatrixRoomUtils.Bot/Bot/Commands
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-07-02 01:01:09 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-07-02 01:01:09 +0200
commitdef33cc092ae2c6defcc218b108b7c99cbfb8581 (patch)
treeba992ff8c30b7d4e8af0a78350e157e095455a18 /MatrixRoomUtils.Bot/Bot/Commands
parentDeduplicate some api calls (diff)
downloadMatrixUtils-def33cc092ae2c6defcc218b108b7c99cbfb8581.tar.xz
Prefetch room info
Diffstat (limited to 'MatrixRoomUtils.Bot/Bot/Commands')
-rw-r--r--MatrixRoomUtils.Bot/Bot/Commands/CmdCommand.cs7
-rw-r--r--MatrixRoomUtils.Bot/Bot/Commands/HelpCommand.cs4
-rw-r--r--MatrixRoomUtils.Bot/Bot/Commands/PingCommand.cs6
3 files changed, 6 insertions, 11 deletions
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() {