From d133a168c17d605236e967ff63728420ddb0ed98 Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 31 Jan 2024 18:50:16 +0100 Subject: Repo split --- .../LibMatrix.ExampleBot/Bot/Commands/PingCommand.cs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 ExampleBots/LibMatrix.ExampleBot/Bot/Commands/PingCommand.cs (limited to 'ExampleBots/LibMatrix.ExampleBot/Bot/Commands/PingCommand.cs') diff --git a/ExampleBots/LibMatrix.ExampleBot/Bot/Commands/PingCommand.cs b/ExampleBots/LibMatrix.ExampleBot/Bot/Commands/PingCommand.cs deleted file mode 100644 index ba242fe..0000000 --- a/ExampleBots/LibMatrix.ExampleBot/Bot/Commands/PingCommand.cs +++ /dev/null @@ -1,13 +0,0 @@ -using LibMatrix.EventTypes.Spec; -using LibMatrix.ExampleBot.Bot.Interfaces; - -namespace LibMatrix.ExampleBot.Bot.Commands; - -public class PingCommand : ICommand { - public string Name { get; } = "ping"; - public string Description { get; } = "Pong!"; - - public async Task Invoke(CommandContext ctx) { - await ctx.Room.SendMessageEventAsync(new RoomMessageEventContent(body: "pong!")); - } -} -- cgit 1.5.1