From 49eba40d2bc6a98553e57e6f9b8496ff649147a8 Mon Sep 17 00:00:00 2001 From: Rory& Date: Mon, 3 Jun 2024 20:19:21 +0200 Subject: Initial commit --- .../ControlRoomConfigureSubcommand.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Jenny/Commands/ConfigureSubCommands/ControlRoomConfigureSubcommand.cs (limited to 'Jenny/Commands/ConfigureSubCommands') diff --git a/Jenny/Commands/ConfigureSubCommands/ControlRoomConfigureSubcommand.cs b/Jenny/Commands/ConfigureSubCommands/ControlRoomConfigureSubcommand.cs new file mode 100644 index 0000000..94294fb --- /dev/null +++ b/Jenny/Commands/ConfigureSubCommands/ControlRoomConfigureSubcommand.cs @@ -0,0 +1,18 @@ +using LibMatrix.Helpers; +using LibMatrix.Utilities.Bot.Interfaces; + +namespace Jenny.Commands.ConfigureSubCommands; + +public class ControlRoomConfigureSubCommand : ICommand { + public string Name { get; } = "controlroom"; + public string[]? Aliases { get; } + public string Description { get; } = "Configure the control room"; + public bool Unlisted { get; } + + public async Task Invoke(CommandContext ctx) { + if (ctx.Args.Length == 0) { + await ctx.Room.SendMessageEventAsync(new MessageBuilder("m.notice").WithBody("meow").Build()); + } + + } +} \ No newline at end of file -- cgit 1.5.1