From 17288cf70c97ea48c310ab876ee44554c09e8fe0 Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 23 Apr 2025 22:15:00 +0200 Subject: Update devtestbot to use bot utils --- Utilities/LibMatrix.DevTestBot/Bot/Commands/PingCommand.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Utilities/LibMatrix.DevTestBot/Bot/Commands/PingCommand.cs') diff --git a/Utilities/LibMatrix.DevTestBot/Bot/Commands/PingCommand.cs b/Utilities/LibMatrix.DevTestBot/Bot/Commands/PingCommand.cs index 745c75d..350d89e 100644 --- a/Utilities/LibMatrix.DevTestBot/Bot/Commands/PingCommand.cs +++ b/Utilities/LibMatrix.DevTestBot/Bot/Commands/PingCommand.cs @@ -1,10 +1,12 @@ using LibMatrix.EventTypes.Spec; -using LibMatrix.ExampleBot.Bot.Interfaces; +using LibMatrix.Utilities.Bot.Interfaces; namespace LibMatrix.ExampleBot.Bot.Commands; public class PingCommand : ICommand { - public string Name { get; } = "ping"; + public string Name { get; } = "do-ping"; + public string[]? Aliases => []; + public bool Unlisted => false; public string Description { get; } = "Pong!"; // public async Task Invoke(CommandContext ctx) => await ctx.Room.SendMessageEventAsync(new RoomMessageEventContent(body: "pong!")); -- cgit 1.5.1