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/DbgAniRainbowTest.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Utilities/LibMatrix.DevTestBot/Bot/Commands/DbgAniRainbowTest.cs') diff --git a/Utilities/LibMatrix.DevTestBot/Bot/Commands/DbgAniRainbowTest.cs b/Utilities/LibMatrix.DevTestBot/Bot/Commands/DbgAniRainbowTest.cs index c91261f..0dde297 100644 --- a/Utilities/LibMatrix.DevTestBot/Bot/Commands/DbgAniRainbowTest.cs +++ b/Utilities/LibMatrix.DevTestBot/Bot/Commands/DbgAniRainbowTest.cs @@ -1,15 +1,20 @@ using System.Diagnostics; using LibMatrix.EventTypes.Spec; -using LibMatrix.ExampleBot.Bot.Interfaces; using LibMatrix.Helpers; using LibMatrix.Services; +using LibMatrix.Utilities.Bot.Interfaces; namespace ModerationBot.Commands; public class DbgAniRainbowTest(IServiceProvider services, HomeserverProviderService hsProvider, HomeserverResolverService hsResolver) : ICommand { public string Name { get; } = "ani-rainbow"; + + public string[]? Aliases => []; + public bool Unlisted => false; + public string Description { get; } = "[Debug] animated rainbow :)"; + public async Task CanInvoke(CommandContext ctx) => ctx.Room.RoomId == "!hLEefBaYvNfJwcTjmt:rory.gay"; public async Task Invoke(CommandContext ctx) { -- cgit 1.5.1