From 4072e5922b671c9d93dbf9727123046054ca6dae Mon Sep 17 00:00:00 2001 From: Rory& Date: Fri, 22 Mar 2024 17:44:14 +0100 Subject: Changes --- Bot/Commands/CreateSystemCommand.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Bot/Commands') diff --git a/Bot/Commands/CreateSystemCommand.cs b/Bot/Commands/CreateSystemCommand.cs index 0bb3265..160c0e5 100644 --- a/Bot/Commands/CreateSystemCommand.cs +++ b/Bot/Commands/CreateSystemCommand.cs @@ -10,7 +10,9 @@ namespace PluralContactBotPoC.Bot.Commands; public class CreateSystemCommand(IServiceProvider services, HomeserverProviderService hsProvider, HomeserverResolverService hsResolver) : ICommand { public string Name { get; } = "createsystem"; + public string[]? Aliases { get; } public string Description { get; } = "Create a new system"; + public bool Unlisted { get; } public async Task CanInvoke(CommandContext ctx) { return true; @@ -54,4 +56,4 @@ public class CreateSystemCommand(IServiceProvider services, HomeserverProviderSe await ctx.Reply(MessageFormatter.FormatException("Something went wrong!", e)); } } -} +} \ No newline at end of file -- cgit 1.5.1